wok rev 14019

Up gst-plugins-good (0.10.31)
author Dominique Corbex <domcox@slitaz.org>
date Sun Feb 17 20:02:24 2013 +0100 (2013-02-17)
parents 42f346a44029
children b74644c2c595
files gst-plugins-good/receipt
line diff
     1.1 --- a/gst-plugins-good/receipt	Sun Feb 17 19:56:32 2013 +0100
     1.2 +++ b/gst-plugins-good/receipt	Sun Feb 17 20:02:24 2013 +0100
     1.3 @@ -1,43 +1,54 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gst-plugins-good"
     1.7 -VERSION="0.10.30"
     1.8 +VERSION="0.10.31"
     1.9 +SERIES="0.10"
    1.10  CATEGORY="multimedia"
    1.11  SHORT_DESC="GStreamer Good 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="gst-plugins-base \
    1.16 +cairo flac libjpeg libpng \
    1.17 +libsoup
    1.18 +libcdio libdv orc speex taglib wavpack bzip"
    1.19 +BUILD_DEPENDS="gst-plugins-base-dev
    1.20 +cairo-dev flac-dev jpeg-dev libpng-dev xorg-libXv-dev
    1.21 +libsoup-dev
    1.22 +jack-audio-connection-kit-dev libcdio-dev \
    1.23 +libdv-dev orc-dev speex-dev taglib-dev wavpack-dev bzip2-dev"
    1.24 +SUGGESTED="jack-audio-connection-kit"
    1.25 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.26 +WEB_SITE="http://gstreamer.freedesktop.org/"
    1.27  WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
    1.28 +LOCALES="da de es fr id it pt_BR ru zh_CN"
    1.29  
    1.30 -DEPENDS="libxml2 gst-plugins-base gtk+ bzlib dbus flac libdv taglib \
    1.31 -xorg-libXcomposite xorg-libXcursor xorg-libXfixes xorg-libXinerama \
    1.32 -xorg-libXrandr xorg-libXrender xorg-libXv GConf libsoup esound libavc1394 \
    1.33 -libiec61883 libv4l libtasn1 wavpack audiofile"
    1.34 -BUILD_DEPENDS="pkg-config gst-plugins-base gst-plugins-base-dev libogg-dev \
    1.35 -liboil-dev gstreamer-dev libxml2-dev glib-dev libjpeg jpeg-dev bzip2-dev \
    1.36 -wavpack-dev GConf-dev esound-dev flac-dev xorg-libXv-dev audiofile-dev \
    1.37 -jack-audio-connection-kit-dev dbus-dev util-linux-uuid-dev hal-dev \
    1.38 -libdv-dev alsa-lib-dev"
    1.39  
    1.40  # Rules to configure and make the package.
    1.41  compile_rules()
    1.42  {
    1.43  	cd $src
    1.44 -	sed -i 's/String::String/String/' ext/taglib/gstapev2mux.cc
    1.45  	./configure \
    1.46 -		--prefix=/usr --sysconfdir=/etc --localstatedir=/var \
    1.47 -		--enable-experimental --disable-static --disable-speex \
    1.48 +		--prefix=/usr \
    1.49 +		--sysconfdir=/etc \
    1.50 +		--localstatedir=/var \
    1.51 +		--enable-experimental \
    1.52 +		--disable-static \
    1.53 +		--disable-debug \
    1.54 +		--disable-hal \
    1.55 +		--disable-esd \
    1.56 +		--with-package-name="GStreamer Good Plugins ($SERIES)" \
    1.57 +		--with-package-origin="http://www.slitaz.org/" \
    1.58  		$CONFIGURE_ARGS &&
    1.59  	make $MAKEFLAGS &&
    1.60 -	make install	
    1.61 +	make install
    1.62  }
    1.63  
    1.64  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.65  genpkg_rules()
    1.66  {
    1.67 -	mkdir -p $fs/usr/lib $fs/usr/share
    1.68 -	cp -a $_pkg/usr/lib/gstreamer* $fs/usr/lib
    1.69 -	cp -a $_pkg/usr/share/gstreamer* $fs/usr/share
    1.70 -	rm $fs/usr/lib/gstreamer*/*.*a
    1.71 -
    1.72 +	mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share
    1.73 +	mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
    1.74 +	mv $install/usr/share/gstreamer* $fs/usr/share
    1.75 +	for locale in $LOCALES; do
    1.76 +		mv $install/usr/share/locale/$locale $fs/usr/share/locale
    1.77 +	done
    1.78  }