# HG changeset patch # User Xander Ziiryanoff # Date 1479931044 -3600 # Node ID b30300e0cb6a131b249bd74cc724b3ccd7f74c8f # Parent d47b8a18ce166ea9abdfb749b65c95179213e5d3 Add gst-plugins-good-1.0 && gst-libav diff -r d47b8a18ce16 -r b30300e0cb6a get-palemoon/receipt --- a/get-palemoon/receipt Wed Nov 23 11:04:21 2016 +0100 +++ b/get-palemoon/receipt Wed Nov 23 20:57:24 2016 +0100 @@ -15,3 +15,10 @@ mkdir -p $fs/usr/bin cp -a $stuff/$PACKAGE $fs/usr/bin } + +post_install() +{ + echo 'To get browser run get-palemoon command as root' + echo 'For media playback try to install gst-libav package' +} + diff -r d47b8a18ce16 -r b30300e0cb6a get-palemoon/stuff/get-palemoon --- a/get-palemoon/stuff/get-palemoon Wed Nov 23 11:04:21 2016 +0100 +++ b/get-palemoon/stuff/get-palemoon Wed Nov 23 20:57:24 2016 +0100 @@ -7,7 +7,7 @@ mkdir -p $1/opt; cd $1/opt; busybox wget -O - $WGET_URL | tar -xjf - ################ -DESKTOP=usr/share/applications/palemoon.desktop +DESKTOP=usr/share/applications/palemoon-opt.desktop cat > $1/$DESKTOP << EOA [Desktop Entry] Type=Application @@ -19,14 +19,14 @@ MimeType=text/html;text/xml;application/xhtml+xml;application/xml; EOA ################ -PKGDIR="$1/var/lib/tazpkg/installed/palemoon" +PKGDIR="$1/var/lib/tazpkg/installed/palemoon-opt" mkdir -p "$PKGDIR" cat > "$PKGDIR/receipt" << EOR # SliTaz package receipt. PACKED_SIZE="28.8MB" UNPACKED_SIZE="60.9MB" -PACKAGE="palemoon" +PACKAGE="palemoon-opt" VERSION="$VERSION" CATEGORY="network" SHORT_DESC="Browser based on Firefox that's optimised for performance" diff -r d47b8a18ce16 -r b30300e0cb6a gst-libav/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gst-libav/receipt Wed Nov 23 20:57:24 2016 +0100 @@ -0,0 +1,37 @@ +# SliTaz package receipt. + +PACKAGE="gst-libav" +VERSION="1.10.1" +SERIES="1.0" +CATEGORY="multimedia" +SHORT_DESC="GStreamer 1.x libav/ffmpeg Plugin" +MAINTAINER="psychomaniak@xakep.ru" +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.tar.xz" +WEB_SITE="http://gstreamer.freedesktop.org/" +WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL" + +DEPENDS="gst-plugins-base-1.0 bzip2 gst-plugins-good-1.0" +BUILD_DEPENDS="gstreamer-1.0-dev gst-plugins-base-1.0-dev bzip2-dev \ +coreutils-file-format coreutils-file-special glib-dev yasm" + +# Rules to configure and make the package. +compile_rules() +{ + sed '/set ERROR_C/d' -i configure + ./configure \ + --prefix=/usr --disable-static \ + --with-libav-extra-configure="--enable-runtime-cpudetect" \ + --with-package-name="GStreamer libav Plugin ($SERIES)" \ + --with-package-origin="http://www.slitaz.org/" \ + $CONFIGURE_ARGS && + make $MAKEFLAGS && + make DESTDIR=$install install | grep -v 'sgml' +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/gstreamer-$SERIES + cp -a $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES +} diff -r d47b8a18ce16 -r b30300e0cb6a gst-plugins-base-1.0-dev/receipt --- a/gst-plugins-base-1.0-dev/receipt Wed Nov 23 11:04:21 2016 +0100 +++ b/gst-plugins-base-1.0-dev/receipt Wed Nov 23 20:57:24 2016 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="gst-plugins-base-1.0-dev" -VERSION="1.2.3" +VERSION="1.10.1" SERIES="1.0" CATEGORY="development" SHORT_DESC="gst-plugins-base devel files" @@ -23,6 +23,4 @@ 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 d47b8a18ce16 -r b30300e0cb6a gst-plugins-base-1.0/receipt --- a/gst-plugins-base-1.0/receipt Wed Nov 23 11:04:21 2016 +0100 +++ b/gst-plugins-base-1.0/receipt Wed Nov 23 20:57:24 2016 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="gst-plugins-base-1.0" -VERSION="1.2.3" +VERSION="1.10.1" SERIES="1.0" CATEGORY="multimedia" SHORT_DESC="GStreamer Base Plugins" @@ -14,10 +14,10 @@ HOST_ARCH="i486 arm" DEPENDS="gstreamer-1.0 pango alsa-lib libogg libtheora libtheora-enc \ -libvorbis vorbis-tools udev xorg xorg-libXv xorg-libXvMC orc" +libvorbis vorbis-tools udev xorg xorg-libXv xorg-libXvMC orc opus" 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 util-linux-uuid-dev orc-dev" +xorg-libXvMC-dev util-linux-uuid-dev orc-dev opus-dev" # Arch install case "$SLITAZ_ARCH" in @@ -35,6 +35,7 @@ sysroot="/cross/arm/sysroot" libs="/usr/lib" incl="/usr/include" + sed '/set ERROR_C/d' -i configure ./configure \ --prefix=/usr \ --sysconfdir=/etc \ @@ -44,11 +45,12 @@ --disable-debug \ --disable-gnome-vfs \ --disable-libvisual \ + --disable-vorbisidec \ --enable-introspection=no \ --with-package-name="GStreamer Base Plugins ($SERIES)" \ --with-package-origin="http://www.slitaz.org/" \ - $CONFIGURE_ARGS && - make $MAKEFLAGS && make install + $CONFIGURE_ARGS | grep -v 'vorbisidec' && + make $MAKEFLAGS && make install 2>/dev/null } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r d47b8a18ce16 -r b30300e0cb6a gst-plugins-good-1.0/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gst-plugins-good-1.0/receipt Wed Nov 23 20:57:24 2016 +0100 @@ -0,0 +1,39 @@ +# SliTaz package receipt. + +PACKAGE="gst-plugins-good-1.0" +VERSION="1.10.1" +SERIES="1.0" +CATEGORY="multimedia" +SHORT_DESC="GStreamer Base Plugins" +MAINTAINER="psychomaniak@xakep.ru" +LICENSE="GPL2" +SOURCE="gst-plugins-good" +TARBALL="$SOURCE-$VERSION.tar.xz" +WEB_SITE="http://gstreamer.freedesktop.org/" +WGET_URL="${WEB_SITE}src/$SOURCE/$TARBALL" + +DEPENDS="gstreamer-1.0 pango alsa-lib mpg123 jpeg" +BUILD_DEPENDS="gstreamer-1.0-dev gst-plugins-base-1.0-dev mpg123-dev jpeg-dev" + +# Rules to configure and make the package. +compile_rules() +{ + sed '/set ERROR_C/d' -i configure + sed '/set ERROR_OBJC/d' -i configure + ./configure \ + --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --enable-experimental \ + --disable-static --disable-debug \ + --disable-libvisual --enable-introspection=no \ + --with-package-name="GStreamer Base Plugins ($SERIES)" \ + --with-package-origin="http://www.slitaz.org/" \ + $CONFIGURE_ARGS | grep -v 'No package' && + make $MAKEFLAGS && make install 2>/dev/null +} + +# 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/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES +} diff -r d47b8a18ce16 -r b30300e0cb6a gstreamer-1.0-dev/receipt --- a/gstreamer-1.0-dev/receipt Wed Nov 23 11:04:21 2016 +0100 +++ b/gstreamer-1.0-dev/receipt Wed Nov 23 20:57:24 2016 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="gstreamer-1.0-dev" -VERSION="1.2.3" +VERSION="1.10.1" SERIES="1.0" CATEGORY="development" SHORT_DESC="The gstreamer-1.0 devel files" @@ -22,8 +22,6 @@ 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 d47b8a18ce16 -r b30300e0cb6a gstreamer-1.0/receipt --- a/gstreamer-1.0/receipt Wed Nov 23 11:04:21 2016 +0100 +++ b/gstreamer-1.0/receipt Wed Nov 23 20:57:24 2016 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="gstreamer-1.0" -VERSION="1.2.3" +VERSION="1.10.1" SERIES="1.0" CATEGORY="multimedia" SHORT_DESC="GStreamer Multimedia Framework" @@ -24,6 +24,8 @@ # Rules to configure and make the package. compile_rules() { + sed '/set ERROR_CFLAGS/d' -i configure + ./configure \ --sysconfdir=/etc \ --localstatedir=/var \ @@ -36,7 +38,7 @@ --with-package-name="GStreamer ($SERIES)" \ --with-package-origin="http://www.slitaz.org/" \ $CONFIGURE_ARGS && - make $MAKEFLAGS && make install + make $MAKEFLAGS && make install 2>/dev/null } # Rules to gen a SliTaz package suitable for Tazpkg.