wok diff 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
line diff
     1.1 --- a/gst-plugins-base/receipt	Mon Apr 23 16:30:27 2012 +0200
     1.2 +++ b/gst-plugins-base/receipt	Sun Feb 17 19:55:44 2013 +0100
     1.3 @@ -1,47 +1,51 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gst-plugins-base"
     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 Base Plugins"
    1.12  MAINTAINER="jozee@slitaz.org"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 -WEB_SITE="http://gstreamer.freedesktop.org/" 
    1.15 +DEPENDS="gstreamer pango libgio \
    1.16 +alsa-lib libogg libtheora libtheora-enc libvorbis vorbis-tools \
    1.17 +cdparanoia-III orc"
    1.18 +BUILD_DEPENDS="pkg-config glib-dev gstreamer-dev pango-dev libgio-dev \
    1.19 +alsa-lib-dev libogg-dev libtheora-dev libvorbis-dev xorg-libXv-dev \
    1.20 +gobject-introspection-dev \
    1.21 +cdparanoia-III-dev orc-dev"
    1.22 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.23 +WEB_SITE="http://gstreamer.freedesktop.org/"
    1.24  WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
    1.25 -
    1.26 -DEPENDS="libxml2 alsa-lib cdparanoia-III libvorbis libtheora gstreamer liboil \
    1.27 -libtheora-enc fontconfig libgio pango xorg-libICE xorg-libSM xorg-libXau \
    1.28 -xorg-libXdmcp xorg-libXext xorg-libXv freetype"
    1.29 -BUILD_DEPENDS="pkg-config glib-dev alsa-lib-dev liboil-dev gstreamer-dev \
    1.30 -libtheora-enc libtheora-dev libvorbis-dev cdparanoia-III-dev libxml2-dev \
    1.31 -libogg-dev libgio-dev freetype-dev fontconfig-dev pango-dev xorg-libSM-dev \
    1.32 -xorg-libXau-dev xorg-libICE-dev xorg-libXdmcp-dev xorg-libXext-dev \
    1.33 -xorg-libXv-dev xorg-dev-proto util-linux-uuid-dev gobject-introspection-dev"
    1.34 +LOCALES="da de es fr id it pt_BR ru zh_CN"
    1.35  
    1.36  # Rules to configure and make the package.
    1.37  compile_rules()
    1.38  {
    1.39  	cd $src
    1.40 -	patch -Np1 -i $stuff/oggstream-fix-crashes-with-0-byte-vorbis-packets.patch
    1.41 -	patch -Np1 -i $stuff/theoradec-segfault-on-0-byte-ogg_packet-in-_chain_reverse.patch
    1.42  	./configure \
    1.43  		--prefix=/usr \
    1.44  		--sysconfdir=/etc \
    1.45  		--localstatedir=/var \
    1.46  		--enable-experimental \
    1.47 +		--disable-static \
    1.48 +		--disable-debug \
    1.49 +		--disable-gnome_vfs \
    1.50 +		--with-package-name="GStreamer Base Plugins ($SERIES)" \
    1.51 +		--with-package-origin="http://www.slitaz.org/" \
    1.52  		$CONFIGURE_ARGS &&
    1.53 -	make $MAKEFLAGS &&
    1.54 -	sed -e 's/^SUBDIRS_EXT =.*/SUBDIRS_EXT =/' -i Makefile &&
    1.55 -	make install	
    1.56 +	make $MAKEFLAGS && make install
    1.57 +
    1.58  }
    1.59  
    1.60  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.61  genpkg_rules()
    1.62  {
    1.63 -	mkdir -p $fs/usr/lib
    1.64 -	cp -a $_pkg/usr/bin $fs/usr
    1.65 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.66 -	cp -a $_pkg/usr/lib/gstreamer* $fs/usr/lib
    1.67 -	cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
    1.68 -	rm $fs/usr/lib/gstreamer*/*.*a
    1.69 +	mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
    1.70 +	mv $install/usr/bin $fs/usr
    1.71 +	mv $install/usr/lib/*.so* $fs/usr/lib
    1.72 +	mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
    1.73 +	mv $install/usr/lib/girepository-1.0 $fs/usr/lib
    1.74 +	for locale in $LOCALES; do
    1.75 +		mv $install/usr/share/locale/$locale $fs/usr/share/locale
    1.76 +	done
    1.77  }