wok-current annotate gstreamer/receipt @ rev 14989
thunderbird-langpack-*: add license; add cs, el, en_US, es_AR, hu, pl, sl, sv_SE locales
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Aug 09 13:10:42 2013 +0300 (2013-08-09) |
parents | 7c76dedb1a8e |
children | a00bf44ed23d |
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" |
domcox@14015 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@4068 | 10 WEB_SITE="http://gstreamer.freedesktop.org/" |
slaxemulator@6769 | 11 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL" |
domcox@14015 | 12 LOCALES="da de es fr id it pt_BR ru zh_CN" |
jozee@2674 | 13 |
domcox@14473 | 14 DEPENDS="glib libgio libxml2" |
domcox@14473 | 15 BUILD_DEPENDS="glib-dev libgio-dev libxml2-dev gobject-introspection-dev |
domcox@14473 | 16 intltool pkg-config bison flex python python-dev m4 valgrind" |
domcox@14473 | 17 |
jozee@2674 | 18 # Rules to configure and make the package. |
jozee@2674 | 19 compile_rules() |
jozee@2674 | 20 { |
jozee@2674 | 21 cd $src |
pankso@4068 | 22 ./configure \ |
pankso@4068 | 23 --sysconfdir=/etc \ |
pankso@4068 | 24 --localstatedir=/var \ |
slaxemulator@11184 | 25 --libexecdir=/usr/lib \ |
domcox@14473 | 26 --enable-silent-rules \ |
domcox@14015 | 27 --disable-static \ |
domcox@14015 | 28 --disable-examples \ |
domcox@14015 | 29 --disable-debug \ |
domcox@14015 | 30 --with-package-name="GStreamer ($SERIES)" \ |
domcox@14015 | 31 --with-package-origin="http://www.slitaz.org/" \ |
slaxemulator@10115 | 32 $CONFIGURE_ARGS && |
gokhlayeh@11574 | 33 make $MAKEFLAGS && make install |
jozee@2674 | 34 } |
jozee@2674 | 35 |
jozee@2674 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2674 | 37 genpkg_rules() |
jozee@2674 | 38 { |
domcox@14015 | 39 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/bin $fs/usr/share/locale |
domcox@14015 | 40 mv $install/usr/bin/*-$SERIES $fs/usr/bin |
domcox@14015 | 41 mv $install/usr/lib/*.so* $fs/usr/lib |
domcox@14015 | 42 mv $install/usr/lib/gstreamer-$SERIES/*.so $fs/usr/lib/gstreamer-$SERIES |
domcox@14015 | 43 mv $install/usr/lib/gstreamer-$SERIES/gst-* $fs/usr/lib/gstreamer-$SERIES |
domcox@14015 | 44 mv $install/usr/lib/girepository-1.0 $fs/usr/lib |
domcox@14015 | 45 for locale in $LOCALES; do |
domcox@14015 | 46 mv $install/usr/share/locale/$locale $fs/usr/share/locale |
domcox@14015 | 47 done |
jozee@2674 | 48 } |