wok-6.x annotate gst-plugins-base/receipt @ rev 15265

Up cookutils (3.1.7)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 25 09:50:51 2013 +0000 (2013-09-25)
parents 124a530e861c
children 2b9378016ce7
rev   line source
jozee@2674 1 # SliTaz package receipt.
jozee@2674 2
jozee@2674 3 PACKAGE="gst-plugins-base"
domcox@14017 4 VERSION="0.10.36"
domcox@14017 5 SERIES="0.10"
jozee@2674 6 CATEGORY="multimedia"
jozee@2674 7 SHORT_DESC="GStreamer Base Plugins"
jozee@2674 8 MAINTAINER="jozee@slitaz.org"
pascal@15000 9 LICENSE="GPL2"
pascal@14035 10 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@14035 11 WEB_SITE="http://gstreamer.freedesktop.org/"
pascal@14035 12 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
pascal@14035 13 LOCALES="da de es fr id it pt_BR ru zh_CN"
pascal@14035 14
domcox@14475 15 DEPENDS="gstreamer pango
domcox@14475 16 alsa-lib libogg libtheora libtheora-enc libvorbis vorbis-tools udev
domcox@14475 17 xorg xorg-libXv xorg-libXvMC cdparanoia-III orc"
domcox@14475 18 BUILD_DEPENDS="gstreamer-dev pango-dev gobject-introspection-dev \
domcox@14475 19 alsa-lib-dev libogg-dev libtheora-dev libtheora-enc libvorbis-dev udev-dev \
domcox@14475 20 xorg-dev xorg-libXv-dev xorg-libXvMC-dev cdparanoia-III-dev orc-dev"
jozee@2674 21
jozee@2674 22 # Rules to configure and make the package.
jozee@2674 23 compile_rules()
jozee@2674 24 {
jozee@2674 25 cd $src
pankso@10378 26 ./configure \
pankso@10378 27 --prefix=/usr \
pankso@10378 28 --sysconfdir=/etc \
pankso@10378 29 --localstatedir=/var \
pankso@10378 30 --enable-experimental \
domcox@14017 31 --disable-static \
domcox@14017 32 --disable-debug \
domcox@14017 33 --disable-gnome_vfs \
domcox@14017 34 --with-package-name="GStreamer Base Plugins ($SERIES)" \
domcox@14017 35 --with-package-origin="http://www.slitaz.org/" \
pascal@15265 36 $CONFIGURE_ARGS &&
domcox@14017 37 make $MAKEFLAGS && make install
domcox@14017 38
jozee@2674 39 }
jozee@2674 40
jozee@2674 41 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2674 42 genpkg_rules()
jozee@2674 43 {
domcox@14017 44 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
domcox@14017 45 mv $install/usr/bin $fs/usr
domcox@14017 46 mv $install/usr/lib/*.so* $fs/usr/lib
domcox@14017 47 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
domcox@14017 48 mv $install/usr/lib/girepository-1.0 $fs/usr/lib
domcox@14017 49 for locale in $LOCALES; do
domcox@14017 50 mv $install/usr/share/locale/$locale $fs/usr/share/locale
domcox@14017 51 done
jozee@2674 52 }