wok-current rev 19519

Add gst-plugins-good-1.0 && gst-libav
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Wed Nov 23 20:57:24 2016 +0100 (2016-11-23)
parents d47b8a18ce16
children b60b1ded3a2a
files get-palemoon/receipt get-palemoon/stuff/get-palemoon gst-libav/receipt gst-plugins-base-1.0-dev/receipt gst-plugins-base-1.0/receipt gst-plugins-good-1.0/receipt gstreamer-1.0-dev/receipt gstreamer-1.0/receipt
line diff
     1.1 --- a/get-palemoon/receipt	Wed Nov 23 11:04:21 2016 +0100
     1.2 +++ b/get-palemoon/receipt	Wed Nov 23 20:57:24 2016 +0100
     1.3 @@ -15,3 +15,10 @@
     1.4  	mkdir -p $fs/usr/bin
     1.5  	cp -a $stuff/$PACKAGE $fs/usr/bin
     1.6  }
     1.7 +
     1.8 +post_install()
     1.9 +{
    1.10 +	echo 'To get browser run get-palemoon command as root'
    1.11 +	echo 'For media playback try to install gst-libav package'
    1.12 +}
    1.13 +
     2.1 --- a/get-palemoon/stuff/get-palemoon	Wed Nov 23 11:04:21 2016 +0100
     2.2 +++ b/get-palemoon/stuff/get-palemoon	Wed Nov 23 20:57:24 2016 +0100
     2.3 @@ -7,7 +7,7 @@
     2.4  mkdir -p $1/opt; cd $1/opt; busybox wget -O - $WGET_URL | tar -xjf -
     2.5  
     2.6  ################
     2.7 -DESKTOP=usr/share/applications/palemoon.desktop
     2.8 +DESKTOP=usr/share/applications/palemoon-opt.desktop
     2.9  cat > $1/$DESKTOP << EOA
    2.10  [Desktop Entry]
    2.11  Type=Application
    2.12 @@ -19,14 +19,14 @@
    2.13  MimeType=text/html;text/xml;application/xhtml+xml;application/xml;
    2.14  EOA
    2.15  ################
    2.16 -PKGDIR="$1/var/lib/tazpkg/installed/palemoon"
    2.17 +PKGDIR="$1/var/lib/tazpkg/installed/palemoon-opt"
    2.18  mkdir -p "$PKGDIR"
    2.19  cat > "$PKGDIR/receipt" << EOR
    2.20  # SliTaz package receipt.
    2.21  
    2.22  PACKED_SIZE="28.8MB"
    2.23  UNPACKED_SIZE="60.9MB"
    2.24 -PACKAGE="palemoon"
    2.25 +PACKAGE="palemoon-opt"
    2.26  VERSION="$VERSION"
    2.27  CATEGORY="network"
    2.28  SHORT_DESC="Browser based on Firefox that's optimised for performance"
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/gst-libav/receipt	Wed Nov 23 20:57:24 2016 +0100
     3.3 @@ -0,0 +1,37 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="gst-libav"
     3.7 +VERSION="1.10.1"
     3.8 +SERIES="1.0"
     3.9 +CATEGORY="multimedia"
    3.10 +SHORT_DESC="GStreamer 1.x libav/ffmpeg Plugin"
    3.11 +MAINTAINER="psychomaniak@xakep.ru"
    3.12 +LICENSE="GPL2"
    3.13 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    3.14 +WEB_SITE="http://gstreamer.freedesktop.org/"
    3.15 +WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
    3.16 +
    3.17 +DEPENDS="gst-plugins-base-1.0 bzip2 gst-plugins-good-1.0"
    3.18 +BUILD_DEPENDS="gstreamer-1.0-dev gst-plugins-base-1.0-dev bzip2-dev \
    3.19 +coreutils-file-format coreutils-file-special glib-dev yasm"
    3.20 +
    3.21 +# Rules to configure and make the package.
    3.22 +compile_rules()
    3.23 +{
    3.24 +	sed '/set ERROR_C/d' -i configure
    3.25 +	./configure \
    3.26 +		--prefix=/usr --disable-static \
    3.27 +		--with-libav-extra-configure="--enable-runtime-cpudetect" \
    3.28 +		--with-package-name="GStreamer libav Plugin ($SERIES)" \
    3.29 +		--with-package-origin="http://www.slitaz.org/" \
    3.30 +		$CONFIGURE_ARGS &&
    3.31 +	make $MAKEFLAGS &&
    3.32 +	make DESTDIR=$install install | grep -v 'sgml'
    3.33 +}
    3.34 +
    3.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.36 +genpkg_rules()
    3.37 +{
    3.38 +	mkdir -p $fs/usr/lib/gstreamer-$SERIES
    3.39 +	cp -a $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
    3.40 +}
     4.1 --- a/gst-plugins-base-1.0-dev/receipt	Wed Nov 23 11:04:21 2016 +0100
     4.2 +++ b/gst-plugins-base-1.0-dev/receipt	Wed Nov 23 20:57:24 2016 +0100
     4.3 @@ -1,7 +1,7 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="gst-plugins-base-1.0-dev"
     4.7 -VERSION="1.2.3"
     4.8 +VERSION="1.10.1"
     4.9  SERIES="1.0"
    4.10  CATEGORY="development"
    4.11  SHORT_DESC="gst-plugins-base devel files"
    4.12 @@ -23,6 +23,4 @@
    4.13  	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    4.14  	cp -a $install/usr/lib/*.*a $fs/usr/lib/
    4.15  	cp -a $install/usr/lib/gstreamer-$SERIES/*.*a $fs/usr/lib/gstreamer-$SERIES
    4.16 -	#cp -a $install/usr/share/gir-1.0 $fs/usr/share
    4.17 -	#cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
    4.18  }
     5.1 --- a/gst-plugins-base-1.0/receipt	Wed Nov 23 11:04:21 2016 +0100
     5.2 +++ b/gst-plugins-base-1.0/receipt	Wed Nov 23 20:57:24 2016 +0100
     5.3 @@ -1,7 +1,7 @@
     5.4  # SliTaz package receipt.
     5.5  
     5.6  PACKAGE="gst-plugins-base-1.0"
     5.7 -VERSION="1.2.3"
     5.8 +VERSION="1.10.1"
     5.9  SERIES="1.0"
    5.10  CATEGORY="multimedia"
    5.11  SHORT_DESC="GStreamer Base Plugins"
    5.12 @@ -14,10 +14,10 @@
    5.13  HOST_ARCH="i486 arm"
    5.14  
    5.15  DEPENDS="gstreamer-1.0 pango alsa-lib libogg libtheora libtheora-enc \
    5.16 -libvorbis vorbis-tools udev xorg xorg-libXv xorg-libXvMC orc"
    5.17 +libvorbis vorbis-tools udev xorg xorg-libXv xorg-libXvMC orc opus"
    5.18  BUILD_DEPENDS="gstreamer-1.0-dev pango-dev alsa-lib-dev libogg-dev \
    5.19  libtheora-dev libtheora-enc libvorbis-dev udev-dev xorg-libXv-dev \
    5.20 -xorg-libXvMC-dev util-linux-uuid-dev orc-dev"
    5.21 +xorg-libXvMC-dev util-linux-uuid-dev orc-dev opus-dev"
    5.22  
    5.23  # Arch install
    5.24  case "$SLITAZ_ARCH" in
    5.25 @@ -35,6 +35,7 @@
    5.26  	sysroot="/cross/arm/sysroot"
    5.27  	libs="/usr/lib"
    5.28  	incl="/usr/include"
    5.29 +	sed '/set ERROR_C/d' -i configure
    5.30  	./configure \
    5.31  		--prefix=/usr \
    5.32  		--sysconfdir=/etc \
    5.33 @@ -44,11 +45,12 @@
    5.34  		--disable-debug \
    5.35  		--disable-gnome-vfs \
    5.36  		--disable-libvisual \
    5.37 +		--disable-vorbisidec \
    5.38  		--enable-introspection=no \
    5.39  		--with-package-name="GStreamer Base Plugins ($SERIES)" \
    5.40  		--with-package-origin="http://www.slitaz.org/" \
    5.41 -		$CONFIGURE_ARGS &&
    5.42 -	make $MAKEFLAGS && make install
    5.43 +		$CONFIGURE_ARGS | grep -v 'vorbisidec' &&
    5.44 +	make $MAKEFLAGS && make install 2>/dev/null
    5.45  }
    5.46  
    5.47  # Rules to gen a SliTaz package suitable for Tazpkg.
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/gst-plugins-good-1.0/receipt	Wed Nov 23 20:57:24 2016 +0100
     6.3 @@ -0,0 +1,39 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="gst-plugins-good-1.0"
     6.7 +VERSION="1.10.1"
     6.8 +SERIES="1.0"
     6.9 +CATEGORY="multimedia"
    6.10 +SHORT_DESC="GStreamer Base Plugins"
    6.11 +MAINTAINER="psychomaniak@xakep.ru"
    6.12 +LICENSE="GPL2"
    6.13 +SOURCE="gst-plugins-good"
    6.14 +TARBALL="$SOURCE-$VERSION.tar.xz"
    6.15 +WEB_SITE="http://gstreamer.freedesktop.org/"
    6.16 +WGET_URL="${WEB_SITE}src/$SOURCE/$TARBALL"
    6.17 +
    6.18 +DEPENDS="gstreamer-1.0 pango alsa-lib mpg123 jpeg"
    6.19 +BUILD_DEPENDS="gstreamer-1.0-dev gst-plugins-base-1.0-dev mpg123-dev jpeg-dev"
    6.20 +
    6.21 +# Rules to configure and make the package.
    6.22 +compile_rules()
    6.23 +{
    6.24 +	sed '/set ERROR_C/d' -i configure
    6.25 +	sed '/set ERROR_OBJC/d' -i configure
    6.26 +	./configure \
    6.27 +		--prefix=/usr --sysconfdir=/etc \
    6.28 +		--localstatedir=/var --enable-experimental \
    6.29 +		--disable-static --disable-debug \
    6.30 +		--disable-libvisual --enable-introspection=no \
    6.31 +		--with-package-name="GStreamer Base Plugins ($SERIES)" \
    6.32 +		--with-package-origin="http://www.slitaz.org/" \
    6.33 +		$CONFIGURE_ARGS | grep -v 'No package' &&
    6.34 +	make $MAKEFLAGS && make install 2>/dev/null
    6.35 +}
    6.36 +
    6.37 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.38 +genpkg_rules()
    6.39 +{
    6.40 +	mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
    6.41 +	mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
    6.42 +}
     7.1 --- a/gstreamer-1.0-dev/receipt	Wed Nov 23 11:04:21 2016 +0100
     7.2 +++ b/gstreamer-1.0-dev/receipt	Wed Nov 23 20:57:24 2016 +0100
     7.3 @@ -1,7 +1,7 @@
     7.4  # SliTaz package receipt.
     7.5  
     7.6  PACKAGE="gstreamer-1.0-dev"
     7.7 -VERSION="1.2.3"
     7.8 +VERSION="1.10.1"
     7.9  SERIES="1.0"
    7.10  CATEGORY="development"
    7.11  SHORT_DESC="The gstreamer-1.0 devel files"
    7.12 @@ -22,8 +22,6 @@
    7.13  	cp -a $install/usr/lib/*.*a $fs/usr/lib/
    7.14  	cp -a $install/usr/lib/gstreamer-$SERIES/*.*a $fs/usr/lib/gstreamer-$SERIES
    7.15  	cp -a $install/usr/share/aclocal $fs/usr/share
    7.16 -	#cp -a $install/usr/share/gir-1.0 $fs/usr/share
    7.17 -	#cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
    7.18  	cd $fs/usr/include
    7.19  	ln -s gstreamer-$SERIES/gst gst
    7.20  }
     8.1 --- a/gstreamer-1.0/receipt	Wed Nov 23 11:04:21 2016 +0100
     8.2 +++ b/gstreamer-1.0/receipt	Wed Nov 23 20:57:24 2016 +0100
     8.3 @@ -1,7 +1,7 @@
     8.4  # SliTaz package receipt.
     8.5  
     8.6  PACKAGE="gstreamer-1.0"
     8.7 -VERSION="1.2.3"
     8.8 +VERSION="1.10.1"
     8.9  SERIES="1.0"
    8.10  CATEGORY="multimedia"
    8.11  SHORT_DESC="GStreamer Multimedia Framework"
    8.12 @@ -24,6 +24,8 @@
    8.13  # Rules to configure and make the package.
    8.14  compile_rules()
    8.15  {
    8.16 +	sed '/set ERROR_CFLAGS/d' -i configure
    8.17 +	
    8.18  	./configure \
    8.19  		--sysconfdir=/etc \
    8.20  		--localstatedir=/var \
    8.21 @@ -36,7 +38,7 @@
    8.22  		--with-package-name="GStreamer ($SERIES)" \
    8.23  		--with-package-origin="http://www.slitaz.org/" \
    8.24  		$CONFIGURE_ARGS &&
    8.25 -	make $MAKEFLAGS && make install
    8.26 +	make $MAKEFLAGS && make install 2>/dev/null
    8.27  }
    8.28  
    8.29  # Rules to gen a SliTaz package suitable for Tazpkg.