wok rev 14021

Up gst-plugins-bad (0.10.23)
author Dominique Corbex <domcox@slitaz.org>
date Sun Feb 17 20:03:29 2013 +0100 (2013-02-17)
parents b74644c2c595
children f55543fd2d68
files gst-plugins-bad/receipt
line diff
     1.1 --- a/gst-plugins-bad/receipt	Sun Feb 17 20:02:52 2013 +0100
     1.2 +++ b/gst-plugins-bad/receipt	Sun Feb 17 20:03:29 2013 +0100
     1.3 @@ -1,35 +1,49 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gst-plugins-bad"
     1.7 -VERSION="0.10.22"
     1.8 +VERSION="0.10.23"
     1.9 +SERIES="0.10"
    1.10  CATEGORY="multimedia"
    1.11  SHORT_DESC="GStreamer Bad Plugins"
    1.12  MAINTAINER="jozee@slitaz.org"
    1.13 -DEPENDS="libxml2 gst-plugins-base bzlib flac libsdl libcomerr openssl libexif \
    1.14 - libkrb5 libmodplug libsndfile expat neon libcomerr3 faac faad2 libmms jasper \
    1.15 -mjpegtools"
    1.16 -BUILD_DEPENDS="pkg-config glib-dev gst-plugins-base gst-plugins-base-dev \
    1.17 -liboil-dev gstreamer-dev libxml2-dev libmodplug libcroco-dev"
    1.18 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.19 -WEB_SITE="http://gstreamer.freedesktop.org/" 
    1.20 +DEPENDS="gst-plugins-base \
    1.21 +faac libpng libvpx openssl xvidcore \
    1.22 +faad2 jasper libmms libmodplug libsndfile mjpegtools neon orc"
    1.23 +BUILD_DEPENDS="pkg-config glib-dev gstreamer-dev gst-plugins-base-dev \
    1.24 +faac-dev libpng-dev libvpx-dev openssl-dev xvidcore-dev \
    1.25 +faad2-dev jasper-dev libmms-dev libmodplug-dev libsndfile-dev libsdl-dev \
    1.26 +mjpegtools-dev neon-dev orc-dev schroedinger-dev"
    1.27 +SUGGESTED="libsdl schroedinger"
    1.28 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.29 +WEB_SITE="http://gstreamer.freedesktop.org/"
    1.30  WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
    1.31 +LOCALES="da de es fr id it pt_BR ru zh_CN"
    1.32  
    1.33  # Rules to configure and make the package.
    1.34  compile_rules()
    1.35  {
    1.36  	cd $src
    1.37 -	./configure --prefix=/usr --sysconfdir=/etc \
    1.38 -	--localstatedir=/var --enable-experimental $CONFIGURE_ARGS &&
    1.39 +	./configure \
    1.40 +		--prefix=/usr \
    1.41 +		--sysconfdir=/etc \
    1.42 +		--localstatedir=/var \
    1.43 +		--disable-static \
    1.44 +		--disable-debug \
    1.45 +		--enable-experimental \
    1.46 +		--with-package-name="GStreamer Bad Plugins ($SERIES)" \
    1.47 +		--with-package-origin="http://www.slitaz.org/" \
    1.48 +		$CONFIGURE_ARGS &&
    1.49  	make $MAKEFLAGS &&
    1.50 -	make install	
    1.51 +	make install
    1.52  }
    1.53  
    1.54  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.55  genpkg_rules()
    1.56  {
    1.57 -	mkdir -p $fs/usr/lib
    1.58 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.59 -	cp -a $_pkg/usr/lib/gstreamer* $fs/usr/lib
    1.60 -	rm $fs/usr/lib/gstreamer*/*.*a
    1.61 -
    1.62 +	mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
    1.63 +	mv $install/usr/lib/*.so* $fs/usr/lib
    1.64 +	mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
    1.65 +	for locale in $LOCALES; do
    1.66 +		mv $install/usr/share/locale/$locale $fs/usr/share/locale
    1.67 +	done
    1.68  }