wok-current annotate gst-plugins-base/receipt @ rev 14017
Up gst-plugins-base (0.10.36)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Feb 17 19:55:44 2013 +0100 (2013-02-17) |
parents | 73641efed1cc |
children | 4c66e5450751 |
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" |
domcox@14017 | 9 DEPENDS="gstreamer pango libgio \ |
domcox@14017 | 10 alsa-lib libogg libtheora libtheora-enc libvorbis vorbis-tools \ |
domcox@14017 | 11 cdparanoia-III orc" |
domcox@14017 | 12 BUILD_DEPENDS="pkg-config glib-dev gstreamer-dev pango-dev libgio-dev \ |
domcox@14017 | 13 alsa-lib-dev libogg-dev libtheora-dev libvorbis-dev xorg-libXv-dev \ |
domcox@14017 | 14 gobject-introspection-dev \ |
domcox@14017 | 15 cdparanoia-III-dev orc-dev" |
domcox@14017 | 16 TARBALL="$PACKAGE-$VERSION.tar.xz" |
domcox@14017 | 17 WEB_SITE="http://gstreamer.freedesktop.org/" |
pankso@10378 | 18 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL" |
domcox@14017 | 19 LOCALES="da de es fr id it pt_BR ru zh_CN" |
jozee@2674 | 20 |
jozee@2674 | 21 # Rules to configure and make the package. |
jozee@2674 | 22 compile_rules() |
jozee@2674 | 23 { |
jozee@2674 | 24 cd $src |
pankso@10378 | 25 ./configure \ |
pankso@10378 | 26 --prefix=/usr \ |
pankso@10378 | 27 --sysconfdir=/etc \ |
pankso@10378 | 28 --localstatedir=/var \ |
pankso@10378 | 29 --enable-experimental \ |
domcox@14017 | 30 --disable-static \ |
domcox@14017 | 31 --disable-debug \ |
domcox@14017 | 32 --disable-gnome_vfs \ |
domcox@14017 | 33 --with-package-name="GStreamer Base Plugins ($SERIES)" \ |
domcox@14017 | 34 --with-package-origin="http://www.slitaz.org/" \ |
pankso@10378 | 35 $CONFIGURE_ARGS && |
domcox@14017 | 36 make $MAKEFLAGS && make install |
domcox@14017 | 37 |
jozee@2674 | 38 } |
jozee@2674 | 39 |
jozee@2674 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2674 | 41 genpkg_rules() |
jozee@2674 | 42 { |
domcox@14017 | 43 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale |
domcox@14017 | 44 mv $install/usr/bin $fs/usr |
domcox@14017 | 45 mv $install/usr/lib/*.so* $fs/usr/lib |
domcox@14017 | 46 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES |
domcox@14017 | 47 mv $install/usr/lib/girepository-1.0 $fs/usr/lib |
domcox@14017 | 48 for locale in $LOCALES; do |
domcox@14017 | 49 mv $install/usr/share/locale/$locale $fs/usr/share/locale |
domcox@14017 | 50 done |
jozee@2674 | 51 } |