wok diff gstreamer-1.0/receipt @ rev 16446

Add gstreamer-1.0 + gst-plugins-base-1.0 (needed to build e18)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 18 21:13:58 2014 +0200 (2014-04-18)
parents
children 4c9e6fbf8207
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gstreamer-1.0/receipt	Fri Apr 18 21:13:58 2014 +0200
     1.3 @@ -0,0 +1,49 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gstreamer-1.0"
     1.7 +VERSION="1.2.3"
     1.8 +SERIES="1.0"
     1.9 +CATEGORY="multimedia"
    1.10 +SHORT_DESC="GStreamer Multimedia Framework"
    1.11 +MAINTAINER="jozee@slitaz.org"
    1.12 +LICENSE="LGPL2"
    1.13 +SOURCE="gstreamer"
    1.14 +TARBALL="$SOURCE-$VERSION.tar.xz"
    1.15 +WEB_SITE="http://gstreamer.freedesktop.org/"
    1.16 +WGET_URL="$WEB_SITE/src/gstreamer/$TARBALL"
    1.17 +
    1.18 +LOCALES="da de es fr id it pt_BR ru zh_CN"
    1.19 +DEPENDS="glib libgio libxml2"
    1.20 +BUILD_DEPENDS="glib-dev libgio-dev libxml2-dev pkg-config bison flex \
    1.21 +python-dev valgrind"
    1.22 +
    1.23 +# Rules to configure and make the package.
    1.24 +compile_rules()
    1.25 +{
    1.26 +	./configure \
    1.27 +		--sysconfdir=/etc \
    1.28 +		--localstatedir=/var \
    1.29 +		--libexecdir=/usr/lib \
    1.30 +		--enable-silent-rules \
    1.31 +		--disable-static \
    1.32 +		--disable-examples \
    1.33 +		--disable-debug \
    1.34 +		--enable-introspection=no \
    1.35 +		--with-package-name="GStreamer ($SERIES)" \
    1.36 +		--with-package-origin="http://www.slitaz.org/" \
    1.37 +		$CONFIGURE_ARGS &&
    1.38 +	make $MAKEFLAGS && make install
    1.39 +}
    1.40 +
    1.41 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.42 +genpkg_rules()
    1.43 +{
    1.44 +	mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/bin $fs/usr/share/locale
    1.45 +	mv $install/usr/bin/*-$SERIES $fs/usr/bin
    1.46 +	mv $install/usr/lib/*.so* $fs/usr/lib
    1.47 +	mv $install/usr/lib/gstreamer-$SERIES/*.so $fs/usr/lib/gstreamer-$SERIES
    1.48 +	mv $install/usr/lib/gstreamer-$SERIES/gst-* $fs/usr/lib/gstreamer-$SERIES
    1.49 +	for locale in $LOCALES; do
    1.50 +		mv $install/usr/share/locale/$locale $fs/usr/share/locale
    1.51 +	done
    1.52 +}