wok diff gst-plugins-good-1.0/receipt @ rev 20420

Fix wanted versions
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 06 23:15:23 2018 +0200 (2018-08-06)
parents
children a78610b2eb47
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gst-plugins-good-1.0/receipt	Mon Aug 06 23:15:23 2018 +0200
     1.3 @@ -0,0 +1,39 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gst-plugins-good-1.0"
     1.7 +VERSION="1.10.1"
     1.8 +SERIES="1.0"
     1.9 +CATEGORY="multimedia"
    1.10 +SHORT_DESC="GStreamer Base Plugins"
    1.11 +MAINTAINER="psychomaniak@xakep.ru"
    1.12 +LICENSE="GPL2"
    1.13 +SOURCE="gst-plugins-good"
    1.14 +TARBALL="$SOURCE-$VERSION.tar.xz"
    1.15 +WEB_SITE="http://gstreamer.freedesktop.org/"
    1.16 +WGET_URL="${WEB_SITE}src/$SOURCE/$TARBALL"
    1.17 +
    1.18 +DEPENDS="gstreamer-1.0 pango alsa-lib mpg123 jpeg"
    1.19 +BUILD_DEPENDS="gstreamer-1.0-dev gst-plugins-base-1.0-dev mpg123-dev jpeg-dev"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	sed '/set ERROR_C/d' -i configure
    1.25 +	sed '/set ERROR_OBJC/d' -i configure
    1.26 +	./configure \
    1.27 +		--prefix=/usr --sysconfdir=/etc \
    1.28 +		--localstatedir=/var --enable-experimental \
    1.29 +		--disable-static --disable-debug \
    1.30 +		--disable-libvisual --enable-introspection=no \
    1.31 +		--with-package-name="GStreamer Base Plugins ($SERIES)" \
    1.32 +		--with-package-origin="http://www.slitaz.org/" \
    1.33 +		$CONFIGURE_ARGS | grep -v 'No package' &&
    1.34 +	make $MAKEFLAGS && make install 2>/dev/null
    1.35 +}
    1.36 +
    1.37 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 +genpkg_rules()
    1.39 +{
    1.40 +	mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
    1.41 +	mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
    1.42 +}