wok rev 14023

Up gst-plugins-ugly (0.10.19)
author Dominique Corbex <domcox@slitaz.org>
date Sun Feb 17 20:05:49 2013 +0100 (2013-02-17)
parents f55543fd2d68
children d6dc41dbec9a
files gst-plugins-ugly/receipt
line diff
     1.1 --- a/gst-plugins-ugly/receipt	Sun Feb 17 20:04:11 2013 +0100
     1.2 +++ b/gst-plugins-ugly/receipt	Sun Feb 17 20:05:49 2013 +0100
     1.3 @@ -1,23 +1,36 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gst-plugins-ugly"
     1.7 -VERSION="0.10.18"
     1.8 +VERSION="0.10.19"
     1.9 +SERIES="0.10"
    1.10  CATEGORY="multimedia"
    1.11  SHORT_DESC="GStreamer Ugly Plugins"
    1.12  MAINTAINER="jozee@slitaz.org"
    1.13 -DEPENDS="libxml2 gst-plugins-base glib lame libcdio libdvdread libid3tag \
    1.14 -libmad libmpeg2"
    1.15 -BUILD_DEPENDS="pkg-config gst-plugins-base gst-plugins-base-dev liboil-dev gstreamer-dev libxml2-dev glib-dev libcdio"
    1.16 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WEB_SITE="http://gstreamer.freedesktop.org/" 
    1.18 +DEPENDS="gst-plugins-base \
    1.19 +lame libdvdread \
    1.20 +libcdio libmad libmpeg2 opencore-amr orc "
    1.21 +BUILD_DEPENDS="pkg-config gst-plugins-base-dev \
    1.22 +lame-dev libdvdread-dev \
    1.23 +libcdio-dev libmad-dev libmpeg2-dev orc-dev x264-dev"
    1.24 +SUGGESTED="x264"
    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  # Rules to configure and make the package.
    1.31  compile_rules()
    1.32  {
    1.33  	cd $src
    1.34 -	./configure --prefix=/usr --sysconfdir=/etc \
    1.35 -	--localstatedir=/var $CONFIGURE_ARGS &&
    1.36 +	./configure \
    1.37 +		--prefix=/usr \
    1.38 +		--sysconfdir=/etc \
    1.39 +		--localstatedir=/var \
    1.40 +		--disable-static \
    1.41 +		--disable-debug \
    1.42 +		--with-package-name="GStreamer Ugly Plugins ($SERIES)" \
    1.43 +		--with-package-origin="http://www.slitaz.org/" \
    1.44 +		$CONFIGURE_ARGS &&
    1.45  	make $MAKEFLAGS &&
    1.46  	make install
    1.47  }
    1.48 @@ -25,8 +38,10 @@
    1.49  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.50  genpkg_rules()
    1.51  {
    1.52 -	mkdir -p $fs/usr/lib
    1.53 -	cp -a $_pkg/usr/lib/gstreamer* $fs/usr/lib
    1.54 -	rm $fs/usr/lib/gstreamer*/*.*a
    1.55 -
    1.56 +	mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
    1.57 +	mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
    1.58 +	mv $install/usr/share/gstreamer-$SERIES $fs/usr/share
    1.59 +	for locale in $LOCALES; do
    1.60 +		mv $install/usr/share/locale/$locale $fs/usr/share/locale
    1.61 +	done
    1.62  }