wok-current 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 8f6629aadb18
children d60afb5e45c3
files gst-plugins-base-1.0-dev/receipt gst-plugins-base-1.0/receipt gstreamer-1.0-dev/receipt gstreamer-1.0/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gst-plugins-base-1.0-dev/receipt	Fri Apr 18 21:13:58 2014 +0200
     1.3 @@ -0,0 +1,27 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gst-plugins-base-1.0-dev"
     1.7 +VERSION="1.2.3"
     1.8 +SERIES="1.0"
     1.9 +CATEGORY="development"
    1.10 +SHORT_DESC="gst-plugins-base devel files"
    1.11 +MAINTAINER="jozee@slitaz.org"
    1.12 +LICENSE="GPL2"
    1.13 +WANTED="gst-plugins-base-1.0"
    1.14 +WEB_SITE="http://gstreamer.freedesktop.org/"
    1.15 +
    1.16 +DEPENDS="gstreamer-1.0-dev pango-dev gobject-introspection-dev alsa-lib-dev \
    1.17 +libogg-dev libvorbis-dev libtheora-dev libtheora-enc udev-dev xorg-dev \
    1.18 +xorg-libXv-dev xorg-libXvMC-dev cdparanoia-III-dev orc-dev pkg-config"
    1.19 +
    1.20 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.21 +genpkg_rules()
    1.22 +{
    1.23 +	mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share
    1.24 +	cp -a $install/usr/include $fs/usr
    1.25 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.26 +	cp -a $install/usr/lib/*.*a $fs/usr/lib/
    1.27 +	cp -a $install/usr/lib/gstreamer-$SERIES/*.*a $fs/usr/lib/gstreamer-$SERIES
    1.28 +	#cp -a $install/usr/share/gir-1.0 $fs/usr/share
    1.29 +	#cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
    1.30 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/gst-plugins-base-1.0/receipt	Fri Apr 18 21:13:58 2014 +0200
     2.3 @@ -0,0 +1,51 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="gst-plugins-base-1.0"
     2.7 +VERSION="1.2.3"
     2.8 +SERIES="1.0"
     2.9 +CATEGORY="multimedia"
    2.10 +SHORT_DESC="GStreamer Base Plugins"
    2.11 +MAINTAINER="jozee@slitaz.org"
    2.12 +LICENSE="GPL2"
    2.13 +SOURCE="gst-plugins-base"
    2.14 +TARBALL="$SOURCE-$VERSION.tar.xz"
    2.15 +WEB_SITE="http://gstreamer.freedesktop.org/"
    2.16 +WGET_URL="${WEB_SITE}src/gst-plugins-base/$TARBALL"
    2.17 +LOCALES="da de es fr id it pt_BR ru zh_CN"
    2.18 +
    2.19 +DEPENDS="gstreamer-1.0 pango alsa-lib libogg libtheora libtheora-enc \
    2.20 +libvorbis vorbis-tools udev xorg xorg-libXv xorg-libXvMC cdparanoia-III orc"
    2.21 +BUILD_DEPENDS="gstreamer-1.0-dev pango-dev alsa-lib-dev libogg-dev \
    2.22 +libtheora-dev libtheora-enc libvorbis-dev udev-dev xorg-libXv-dev \
    2.23 +xorg-libXvMC-dev cdparanoia-III-dev orc-dev util-linux-uuid-dev"
    2.24 +
    2.25 +# Rules to configure and make the package.
    2.26 +compile_rules()
    2.27 +{
    2.28 +	./configure \
    2.29 +		--prefix=/usr \
    2.30 +		--sysconfdir=/etc \
    2.31 +		--localstatedir=/var \
    2.32 +		--enable-experimental \
    2.33 +		--disable-static \
    2.34 +		--disable-debug \
    2.35 +		--disable-gnome_vfs \
    2.36 +		--enable-introspection=no \
    2.37 +		--with-package-name="GStreamer Base Plugins ($SERIES)" \
    2.38 +		--with-package-origin="http://www.slitaz.org/" \
    2.39 +		$CONFIGURE_ARGS &&
    2.40 +	make $MAKEFLAGS && make install
    2.41 +
    2.42 +}
    2.43 +
    2.44 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.45 +genpkg_rules()
    2.46 +{
    2.47 +	mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
    2.48 +	mv $install/usr/bin $fs/usr
    2.49 +	mv $install/usr/lib/*.so* $fs/usr/lib
    2.50 +	mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
    2.51 +	for locale in $LOCALES; do
    2.52 +		mv $install/usr/share/locale/$locale $fs/usr/share/locale
    2.53 +	done
    2.54 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/gstreamer-1.0-dev/receipt	Fri Apr 18 21:13:58 2014 +0200
     3.3 @@ -0,0 +1,28 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="gstreamer-1.0-dev"
     3.7 +VERSION="1.2.3"
     3.8 +SERIES="1.0"
     3.9 +CATEGORY="development"
    3.10 +SHORT_DESC="gstreamer devel files"
    3.11 +MAINTAINER="jozee@slitaz.org"
    3.12 +LICENSE="LGPL2"
    3.13 +WANTED="gstreamer-1.0"
    3.14 +WEB_SITE="http://gstreamer.freedesktop.org/"
    3.15 +
    3.16 +DEPENDS="gstreamer-1.0 glib-dev libgio-dev libxml2-dev pkg-config"
    3.17 +
    3.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.19 +genpkg_rules()
    3.20 +{
    3.21 +	mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share
    3.22 +	cp -a $install/usr/include $fs/usr
    3.23 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    3.24 +	cp -a $install/usr/lib/*.*a $fs/usr/lib/
    3.25 +	cp -a $install/usr/lib/gstreamer-$SERIES/*.*a $fs/usr/lib/gstreamer-$SERIES
    3.26 +	cp -a $install/usr/share/aclocal $fs/usr/share
    3.27 +	#cp -a $install/usr/share/gir-1.0 $fs/usr/share
    3.28 +	#cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
    3.29 +	cd $fs/usr/include
    3.30 +	ln -s gstreamer-$SERIES/gst gst
    3.31 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/gstreamer-1.0/receipt	Fri Apr 18 21:13:58 2014 +0200
     4.3 @@ -0,0 +1,49 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="gstreamer-1.0"
     4.7 +VERSION="1.2.3"
     4.8 +SERIES="1.0"
     4.9 +CATEGORY="multimedia"
    4.10 +SHORT_DESC="GStreamer Multimedia Framework"
    4.11 +MAINTAINER="jozee@slitaz.org"
    4.12 +LICENSE="LGPL2"
    4.13 +SOURCE="gstreamer"
    4.14 +TARBALL="$SOURCE-$VERSION.tar.xz"
    4.15 +WEB_SITE="http://gstreamer.freedesktop.org/"
    4.16 +WGET_URL="$WEB_SITE/src/gstreamer/$TARBALL"
    4.17 +
    4.18 +LOCALES="da de es fr id it pt_BR ru zh_CN"
    4.19 +DEPENDS="glib libgio libxml2"
    4.20 +BUILD_DEPENDS="glib-dev libgio-dev libxml2-dev pkg-config bison flex \
    4.21 +python-dev valgrind"
    4.22 +
    4.23 +# Rules to configure and make the package.
    4.24 +compile_rules()
    4.25 +{
    4.26 +	./configure \
    4.27 +		--sysconfdir=/etc \
    4.28 +		--localstatedir=/var \
    4.29 +		--libexecdir=/usr/lib \
    4.30 +		--enable-silent-rules \
    4.31 +		--disable-static \
    4.32 +		--disable-examples \
    4.33 +		--disable-debug \
    4.34 +		--enable-introspection=no \
    4.35 +		--with-package-name="GStreamer ($SERIES)" \
    4.36 +		--with-package-origin="http://www.slitaz.org/" \
    4.37 +		$CONFIGURE_ARGS &&
    4.38 +	make $MAKEFLAGS && make install
    4.39 +}
    4.40 +
    4.41 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.42 +genpkg_rules()
    4.43 +{
    4.44 +	mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/bin $fs/usr/share/locale
    4.45 +	mv $install/usr/bin/*-$SERIES $fs/usr/bin
    4.46 +	mv $install/usr/lib/*.so* $fs/usr/lib
    4.47 +	mv $install/usr/lib/gstreamer-$SERIES/*.so $fs/usr/lib/gstreamer-$SERIES
    4.48 +	mv $install/usr/lib/gstreamer-$SERIES/gst-* $fs/usr/lib/gstreamer-$SERIES
    4.49 +	for locale in $LOCALES; do
    4.50 +		mv $install/usr/share/locale/$locale $fs/usr/share/locale
    4.51 +	done
    4.52 +}