wok-current annotate gstreamer/receipt @ rev 14015
Up gstreamer (0.10.36)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Feb 17 19:53:32 2013 +0100 (2013-02-17) |
parents | d94859bd28b4 |
children | 1d2b411d98d1 |
rev | line source |
---|---|
jozee@2674 | 1 # SliTaz package receipt. |
jozee@2674 | 2 |
jozee@2674 | 3 PACKAGE="gstreamer" |
domcox@14015 | 4 VERSION="0.10.36" |
domcox@14015 | 5 SERIES="0.10" |
jozee@2674 | 6 CATEGORY="multimedia" |
jozee@2674 | 7 SHORT_DESC="GStreamer Multimedia Framework" |
jozee@2674 | 8 MAINTAINER="jozee@slitaz.org" |
pascal@2852 | 9 DEPENDS="libxml2 glib" |
pankso@4068 | 10 BUILD_DEPENDS="intltool pkg-config bison flex glib-dev libxml2-dev python |
domcox@14015 | 11 python-dev m4 libgio-dev gobject-introspection-dev libffi valgrind" |
domcox@14015 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@4068 | 13 WEB_SITE="http://gstreamer.freedesktop.org/" |
slaxemulator@6769 | 14 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL" |
domcox@14015 | 15 LOCALES="da de es fr id it pt_BR ru zh_CN" |
jozee@2674 | 16 |
jozee@2674 | 17 # Rules to configure and make the package. |
jozee@2674 | 18 compile_rules() |
jozee@2674 | 19 { |
jozee@2674 | 20 cd $src |
pankso@4068 | 21 ./configure \ |
pankso@4068 | 22 --sysconfdir=/etc \ |
pankso@4068 | 23 --localstatedir=/var \ |
slaxemulator@11184 | 24 --libexecdir=/usr/lib \ |
domcox@14015 | 25 --disable-static \ |
domcox@14015 | 26 --disable-examples \ |
domcox@14015 | 27 --disable-debug \ |
domcox@14015 | 28 --with-package-name="GStreamer ($SERIES)" \ |
domcox@14015 | 29 --with-package-origin="http://www.slitaz.org/" \ |
slaxemulator@10115 | 30 $CONFIGURE_ARGS && |
gokhlayeh@11574 | 31 make $MAKEFLAGS && make install |
jozee@2674 | 32 } |
jozee@2674 | 33 |
jozee@2674 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2674 | 35 genpkg_rules() |
jozee@2674 | 36 { |
domcox@14015 | 37 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/bin $fs/usr/share/locale |
domcox@14015 | 38 mv $install/usr/bin/*-$SERIES $fs/usr/bin |
domcox@14015 | 39 mv $install/usr/lib/*.so* $fs/usr/lib |
domcox@14015 | 40 mv $install/usr/lib/gstreamer-$SERIES/*.so $fs/usr/lib/gstreamer-$SERIES |
domcox@14015 | 41 mv $install/usr/lib/gstreamer-$SERIES/gst-* $fs/usr/lib/gstreamer-$SERIES |
domcox@14015 | 42 mv $install/usr/lib/girepository-1.0 $fs/usr/lib |
domcox@14015 | 43 for locale in $LOCALES; do |
domcox@14015 | 44 mv $install/usr/share/locale/$locale $fs/usr/share/locale |
domcox@14015 | 45 done |
jozee@2674 | 46 } |