wok-next 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 41809446ada1
children 57aa50b1eabe
files gstreamer/receipt
line diff
     1.1 --- a/gstreamer/receipt	Sun Feb 17 19:51:42 2013 +0100
     1.2 +++ b/gstreamer/receipt	Sun Feb 17 19:53:32 2013 +0100
     1.3 @@ -1,16 +1,18 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gstreamer"
     1.7 -VERSION="0.10.35"
     1.8 +VERSION="0.10.36"
     1.9 +SERIES="0.10"
    1.10  CATEGORY="multimedia"
    1.11  SHORT_DESC="GStreamer Multimedia Framework"
    1.12  MAINTAINER="jozee@slitaz.org"
    1.13  DEPENDS="libxml2 glib"
    1.14  BUILD_DEPENDS="intltool pkg-config bison flex glib-dev libxml2-dev python
    1.15 -python-dev m4 libgio-dev gobject-introspection-dev libffi"
    1.16 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 +python-dev m4 libgio-dev gobject-introspection-dev libffi valgrind"
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.19  WEB_SITE="http://gstreamer.freedesktop.org/"
    1.20  WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
    1.21 +LOCALES="da de es fr id it pt_BR ru zh_CN"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25 @@ -20,6 +22,11 @@
    1.26  		--sysconfdir=/etc \
    1.27  		--localstatedir=/var \
    1.28  		--libexecdir=/usr/lib \
    1.29 +		--disable-static \
    1.30 +		--disable-examples \
    1.31 +		--disable-debug \
    1.32 +		--with-package-name="GStreamer ($SERIES)" \
    1.33 +		--with-package-origin="http://www.slitaz.org/" \
    1.34  		$CONFIGURE_ARGS &&
    1.35  	make $MAKEFLAGS && make install
    1.36  }
    1.37 @@ -27,8 +34,13 @@
    1.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.39  genpkg_rules()
    1.40  {
    1.41 -	mkdir -p $fs/usr/lib
    1.42 -	cp -a $_pkg/usr/bin $fs/usr
    1.43 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.44 -	cp -a $_pkg/usr/lib/gstreamer* $fs/usr/lib
    1.45 +	mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/bin $fs/usr/share/locale
    1.46 +	mv $install/usr/bin/*-$SERIES $fs/usr/bin
    1.47 +	mv $install/usr/lib/*.so* $fs/usr/lib
    1.48 +	mv $install/usr/lib/gstreamer-$SERIES/*.so $fs/usr/lib/gstreamer-$SERIES
    1.49 +	mv $install/usr/lib/gstreamer-$SERIES/gst-* $fs/usr/lib/gstreamer-$SERIES
    1.50 +	mv $install/usr/lib/girepository-1.0 $fs/usr/lib
    1.51 +	for locale in $LOCALES; do
    1.52 +		mv $install/usr/share/locale/$locale $fs/usr/share/locale
    1.53 +	done
    1.54  }