# HG changeset patch # User Christophe Lincoln # Date 1397848438 -7200 # Node ID 49e603db63f8f022c29caec6cf84ef80577903a2 # Parent 8f6629aadb18a6a3db91816f727c936a37e3d31f Add gstreamer-1.0 + gst-plugins-base-1.0 (needed to build e18) diff -r 8f6629aadb18 -r 49e603db63f8 gst-plugins-base-1.0-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gst-plugins-base-1.0-dev/receipt Fri Apr 18 21:13:58 2014 +0200 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="gst-plugins-base-1.0-dev" +VERSION="1.2.3" +SERIES="1.0" +CATEGORY="development" +SHORT_DESC="gst-plugins-base devel files" +MAINTAINER="jozee@slitaz.org" +LICENSE="GPL2" +WANTED="gst-plugins-base-1.0" +WEB_SITE="http://gstreamer.freedesktop.org/" + +DEPENDS="gstreamer-1.0-dev pango-dev gobject-introspection-dev alsa-lib-dev \ +libogg-dev libvorbis-dev libtheora-dev libtheora-enc udev-dev xorg-dev \ +xorg-libXv-dev xorg-libXvMC-dev cdparanoia-III-dev orc-dev pkg-config" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/lib/*.*a $fs/usr/lib/ + cp -a $install/usr/lib/gstreamer-$SERIES/*.*a $fs/usr/lib/gstreamer-$SERIES + #cp -a $install/usr/share/gir-1.0 $fs/usr/share + #cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib +} diff -r 8f6629aadb18 -r 49e603db63f8 gst-plugins-base-1.0/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gst-plugins-base-1.0/receipt Fri Apr 18 21:13:58 2014 +0200 @@ -0,0 +1,51 @@ +# SliTaz package receipt. + +PACKAGE="gst-plugins-base-1.0" +VERSION="1.2.3" +SERIES="1.0" +CATEGORY="multimedia" +SHORT_DESC="GStreamer Base Plugins" +MAINTAINER="jozee@slitaz.org" +LICENSE="GPL2" +SOURCE="gst-plugins-base" +TARBALL="$SOURCE-$VERSION.tar.xz" +WEB_SITE="http://gstreamer.freedesktop.org/" +WGET_URL="${WEB_SITE}src/gst-plugins-base/$TARBALL" +LOCALES="da de es fr id it pt_BR ru zh_CN" + +DEPENDS="gstreamer-1.0 pango alsa-lib libogg libtheora libtheora-enc \ +libvorbis vorbis-tools udev xorg xorg-libXv xorg-libXvMC cdparanoia-III orc" +BUILD_DEPENDS="gstreamer-1.0-dev pango-dev alsa-lib-dev libogg-dev \ +libtheora-dev libtheora-enc libvorbis-dev udev-dev xorg-libXv-dev \ +xorg-libXvMC-dev cdparanoia-III-dev orc-dev util-linux-uuid-dev" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-experimental \ + --disable-static \ + --disable-debug \ + --disable-gnome_vfs \ + --enable-introspection=no \ + --with-package-name="GStreamer Base Plugins ($SERIES)" \ + --with-package-origin="http://www.slitaz.org/" \ + $CONFIGURE_ARGS && + make $MAKEFLAGS && make install + +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale + mv $install/usr/bin $fs/usr + mv $install/usr/lib/*.so* $fs/usr/lib + mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES + for locale in $LOCALES; do + mv $install/usr/share/locale/$locale $fs/usr/share/locale + done +} diff -r 8f6629aadb18 -r 49e603db63f8 gstreamer-1.0-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gstreamer-1.0-dev/receipt Fri Apr 18 21:13:58 2014 +0200 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="gstreamer-1.0-dev" +VERSION="1.2.3" +SERIES="1.0" +CATEGORY="development" +SHORT_DESC="gstreamer devel files" +MAINTAINER="jozee@slitaz.org" +LICENSE="LGPL2" +WANTED="gstreamer-1.0" +WEB_SITE="http://gstreamer.freedesktop.org/" + +DEPENDS="gstreamer-1.0 glib-dev libgio-dev libxml2-dev pkg-config" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/lib/*.*a $fs/usr/lib/ + cp -a $install/usr/lib/gstreamer-$SERIES/*.*a $fs/usr/lib/gstreamer-$SERIES + cp -a $install/usr/share/aclocal $fs/usr/share + #cp -a $install/usr/share/gir-1.0 $fs/usr/share + #cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib + cd $fs/usr/include + ln -s gstreamer-$SERIES/gst gst +} diff -r 8f6629aadb18 -r 49e603db63f8 gstreamer-1.0/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gstreamer-1.0/receipt Fri Apr 18 21:13:58 2014 +0200 @@ -0,0 +1,49 @@ +# SliTaz package receipt. + +PACKAGE="gstreamer-1.0" +VERSION="1.2.3" +SERIES="1.0" +CATEGORY="multimedia" +SHORT_DESC="GStreamer Multimedia Framework" +MAINTAINER="jozee@slitaz.org" +LICENSE="LGPL2" +SOURCE="gstreamer" +TARBALL="$SOURCE-$VERSION.tar.xz" +WEB_SITE="http://gstreamer.freedesktop.org/" +WGET_URL="$WEB_SITE/src/gstreamer/$TARBALL" + +LOCALES="da de es fr id it pt_BR ru zh_CN" +DEPENDS="glib libgio libxml2" +BUILD_DEPENDS="glib-dev libgio-dev libxml2-dev pkg-config bison flex \ +python-dev valgrind" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --libexecdir=/usr/lib \ + --enable-silent-rules \ + --disable-static \ + --disable-examples \ + --disable-debug \ + --enable-introspection=no \ + --with-package-name="GStreamer ($SERIES)" \ + --with-package-origin="http://www.slitaz.org/" \ + $CONFIGURE_ARGS && + make $MAKEFLAGS && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/bin $fs/usr/share/locale + mv $install/usr/bin/*-$SERIES $fs/usr/bin + mv $install/usr/lib/*.so* $fs/usr/lib + mv $install/usr/lib/gstreamer-$SERIES/*.so $fs/usr/lib/gstreamer-$SERIES + mv $install/usr/lib/gstreamer-$SERIES/gst-* $fs/usr/lib/gstreamer-$SERIES + for locale in $LOCALES; do + mv $install/usr/share/locale/$locale $fs/usr/share/locale + done +}