wok-current rev 22888

updated gstreamer-1.0 and gstreamer-1.0-dev (1.10.1 -> 1.16.2)
author Hans-G?nter Theisgen
date Sat Feb 22 17:40:37 2020 +0100 (2020-02-22)
parents dcecdc6db0c8
children 79bb59125067
files gstreamer-1.0-dev/receipt gstreamer-1.0/receipt
line diff
     1.1 --- a/gstreamer-1.0-dev/receipt	Sat Feb 22 17:11:00 2020 +0100
     1.2 +++ b/gstreamer-1.0-dev/receipt	Sat Feb 22 17:40:37 2020 +0100
     1.3 @@ -1,27 +1,30 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gstreamer-1.0-dev"
     1.7 -VERSION="1.10.1"
     1.8 +VERSION="1.16.2"
     1.9  SERIES="1.0"
    1.10  CATEGORY="development"
    1.11 -SHORT_DESC="The gstreamer-1.0 devel files"
    1.12 +SHORT_DESC="The gstreamer-1.0 development files."
    1.13  MAINTAINER="pankso@slitaz.org"
    1.14  LICENSE="LGPL2"
    1.15  WEB_SITE="https://gstreamer.freedesktop.org/"
    1.16 +
    1.17 +DEPENDS="glib-dev gstreamer-1.0 libgio-dev libxml2-dev pkg-config"
    1.18 +WANTED="gstreamer-1.0"
    1.19 +
    1.20  HOST_ARCH="i486 arm"
    1.21  
    1.22 -WANTED="gstreamer-1.0"
    1.23 -DEPENDS="gstreamer-1.0 glib-dev libgio-dev libxml2-dev pkg-config"
    1.24 -
    1.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.26  genpkg_rules()
    1.27  {
    1.28 -	mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share
    1.29 -	cp -a $install/usr/include $fs/usr
    1.30 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.31 -	cp -a $install/usr/lib/*.*a $fs/usr/lib/
    1.32 -	cp -a $install/usr/lib/gstreamer-$SERIES/*.*a $fs/usr/lib/gstreamer-$SERIES
    1.33 -	cp -a $install/usr/share/aclocal $fs/usr/share
    1.34 -	cd $fs/usr/include
    1.35 +	mkdir -p $fs/usr/lib/gstreamer-$SERIES
    1.36 +	mkdir -p $fs/usr/share
    1.37 +
    1.38 +	cp -a $install/usr/include			$fs/usr
    1.39 +	cp -a $install/usr/lib/pkgconfig		$fs/usr/lib
    1.40 +	cp -a $install/usr/lib/*.*a			$fs/usr/lib/
    1.41 +	cp -a $install/usr/lib/gstreamer-$SERIES/*.*a	$fs/usr/lib/gstreamer-$SERIES
    1.42 +	cp -a $install/usr/share/aclocal		$fs/usr/share
    1.43 +	cd						$fs/usr/include
    1.44  	ln -s gstreamer-$SERIES/gst gst
    1.45  }
     2.1 --- a/gstreamer-1.0/receipt	Sat Feb 22 17:11:00 2020 +0100
     2.2 +++ b/gstreamer-1.0/receipt	Sat Feb 22 17:40:37 2020 +0100
     2.3 @@ -1,55 +1,62 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="gstreamer-1.0"
     2.7 -VERSION="1.10.1"
     2.8 +VERSION="1.16.2"
     2.9  SERIES="1.0"
    2.10  CATEGORY="multimedia"
    2.11 -SHORT_DESC="GStreamer Multimedia Framework"
    2.12 +SHORT_DESC="GStreamer Multimedia Framework."
    2.13  MAINTAINER="pankso@slitaz.org"
    2.14  LICENSE="LGPL2"
    2.15 +WEB_SITE="https://gstreamer.freedesktop.org/"
    2.16 +
    2.17  SOURCE="gstreamer"
    2.18  TARBALL="$SOURCE-$VERSION.tar.xz"
    2.19 -WEB_SITE="https://gstreamer.freedesktop.org/"
    2.20  WGET_URL="$WEB_SITE/src/gstreamer/$TARBALL"
    2.21 -HOST_ARCH="i486 arm"
    2.22  
    2.23  DEPENDS="glib libgio libxml2"
    2.24  BUILD_DEPENDS="glib-dev libgio-dev libxml2-dev pkg-config"
    2.25  
    2.26 +HOST_ARCH="i486 arm"
    2.27 +
    2.28  # Handle cross compilation
    2.29  case "$ARCH" in
    2.30 -	i?86) BUILD_DEPENDS="$BUILD_DEPENDS python-dev valgrind bison flex" ;;
    2.31 +	i?86) BUILD_DEPENDS="$BUILD_DEPENDS bison flex python-dev valgrind" ;;
    2.32  esac
    2.33  
    2.34  # Rules to configure and make the package.
    2.35  compile_rules()
    2.36  {
    2.37 -	sed '/set ERROR_CFLAGS/d' -i configure
    2.38 -	
    2.39 -	./configure \
    2.40 -		--sysconfdir=/etc \
    2.41 -		--localstatedir=/var \
    2.42 -		--libexecdir=/usr/lib \
    2.43 -		--enable-silent-rules \
    2.44 -		--disable-static \
    2.45 -		--disable-examples \
    2.46 -		--disable-debug \
    2.47 -		--enable-introspection=no \
    2.48 -		--with-package-name="GStreamer ($SERIES)" \
    2.49 -		--with-package-origin="http://www.slitaz.org/" \
    2.50 +	sed -i '/set ERROR_CFLAGS/d' configure
    2.51 +
    2.52 +	./configure						\
    2.53 +		--sysconfdir=/etc				\
    2.54 +		--localstatedir=/var				\
    2.55 +		--libexecdir=/usr/lib				\
    2.56 +		--enable-silent-rules				\
    2.57 +		--disable-static				\
    2.58 +		--disable-examples				\
    2.59 +		--disable-debug					\
    2.60 +		--enable-introspection=no			\
    2.61 +		--with-package-name="GStreamer ($SERIES)"	\
    2.62 +		--with-package-origin="http://www.slitaz.org/"	\
    2.63  		$CONFIGURE_ARGS &&
    2.64 -	make $MAKEFLAGS && make install 2>/dev/null
    2.65 +	make $MAKEFLAGS &&
    2.66 +	make install 2>/dev/null
    2.67  }
    2.68  
    2.69  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.70  genpkg_rules()
    2.71  {
    2.72 -	mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/bin $fs/usr/share/locale
    2.73 -	mv $install/usr/bin/*-$SERIES $fs/usr/bin
    2.74 -	mv $install/usr/lib/*.so* $fs/usr/lib
    2.75 -	mv $install/usr/lib/gstreamer-$SERIES/*.so $fs/usr/lib/gstreamer-$SERIES
    2.76 -	mv $install/usr/lib/gstreamer-$SERIES/gst-* $fs/usr/lib/gstreamer-$SERIES
    2.77 -	for locale in $LOCALES; do
    2.78 -		mv $install/usr/share/locale/$locale $fs/usr/share/locale
    2.79 -	done
    2.80 +	mkdir -p $fs/usr/lib/gstreamer-$SERIES
    2.81 +	mkdir -p $fs/usr/bin
    2.82 +	mkdir -p $fs/usr/share/locale
    2.83 +
    2.84 +	mv $install/usr/bin/*-$SERIES			$fs/usr/bin
    2.85 +	mv $install/usr/lib/*.so*			$fs/usr/lib
    2.86 +	mv $install/usr/lib/gstreamer-$SERIES/*.so	$fs/usr/lib/gstreamer-$SERIES
    2.87 +	mv $install/usr/lib/gstreamer-$SERIES/gst-*	$fs/usr/lib/gstreamer-$SERIES
    2.88 +	for locale in $LOCALES
    2.89 +	  do
    2.90 +		mv $install/usr/share/locale/$locale	$fs/usr/share/locale
    2.91 +	  done
    2.92  }