wok-current diff gstreamer-1.0/receipt @ rev 23254

updated nzbget (13.0 -> 21.0)
author Hans-G?nter Theisgen
date Wed Mar 25 16:49:46 2020 +0100 (2020-03-25)
parents a78610b2eb47
children 800de22df35e
line diff
     1.1 --- a/gstreamer-1.0/receipt	Mon Jan 21 12:26:11 2019 +0100
     1.2 +++ b/gstreamer-1.0/receipt	Wed Mar 25 16:49:46 2020 +0100
     1.3 @@ -1,55 +1,62 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gstreamer-1.0"
     1.7 -VERSION="1.10.1"
     1.8 +VERSION="1.16.2"
     1.9  SERIES="1.0"
    1.10  CATEGORY="multimedia"
    1.11 -SHORT_DESC="GStreamer Multimedia Framework"
    1.12 +SHORT_DESC="GStreamer Multimedia Framework."
    1.13  MAINTAINER="pankso@slitaz.org"
    1.14  LICENSE="LGPL2"
    1.15 +WEB_SITE="https://gstreamer.freedesktop.org/"
    1.16 +
    1.17  SOURCE="gstreamer"
    1.18  TARBALL="$SOURCE-$VERSION.tar.xz"
    1.19 -WEB_SITE="https://gstreamer.freedesktop.org/"
    1.20  WGET_URL="$WEB_SITE/src/gstreamer/$TARBALL"
    1.21 -HOST_ARCH="i486 arm"
    1.22  
    1.23  DEPENDS="glib libgio libxml2"
    1.24  BUILD_DEPENDS="glib-dev libgio-dev libxml2-dev pkg-config"
    1.25  
    1.26 +HOST_ARCH="i486 arm"
    1.27 +
    1.28  # Handle cross compilation
    1.29  case "$ARCH" in
    1.30 -	i?86) BUILD_DEPENDS="$BUILD_DEPENDS python-dev valgrind bison flex" ;;
    1.31 +	i?86) BUILD_DEPENDS="$BUILD_DEPENDS bison flex python-dev valgrind" ;;
    1.32  esac
    1.33  
    1.34  # Rules to configure and make the package.
    1.35  compile_rules()
    1.36  {
    1.37 -	sed '/set ERROR_CFLAGS/d' -i configure
    1.38 -	
    1.39 -	./configure \
    1.40 -		--sysconfdir=/etc \
    1.41 -		--localstatedir=/var \
    1.42 -		--libexecdir=/usr/lib \
    1.43 -		--enable-silent-rules \
    1.44 -		--disable-static \
    1.45 -		--disable-examples \
    1.46 -		--disable-debug \
    1.47 -		--enable-introspection=no \
    1.48 -		--with-package-name="GStreamer ($SERIES)" \
    1.49 -		--with-package-origin="http://www.slitaz.org/" \
    1.50 +	sed -i '/set ERROR_CFLAGS/d' configure
    1.51 +
    1.52 +	./configure						\
    1.53 +		--sysconfdir=/etc				\
    1.54 +		--localstatedir=/var				\
    1.55 +		--libexecdir=/usr/lib				\
    1.56 +		--enable-silent-rules				\
    1.57 +		--disable-static				\
    1.58 +		--disable-examples				\
    1.59 +		--disable-debug					\
    1.60 +		--enable-introspection=no			\
    1.61 +		--with-package-name="GStreamer ($SERIES)"	\
    1.62 +		--with-package-origin="http://www.slitaz.org/"	\
    1.63  		$CONFIGURE_ARGS &&
    1.64 -	make $MAKEFLAGS && make install 2>/dev/null
    1.65 +	make $MAKEFLAGS &&
    1.66 +	make install 2>/dev/null
    1.67  }
    1.68  
    1.69  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.70  genpkg_rules()
    1.71  {
    1.72 -	mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/bin $fs/usr/share/locale
    1.73 -	mv $install/usr/bin/*-$SERIES $fs/usr/bin
    1.74 -	mv $install/usr/lib/*.so* $fs/usr/lib
    1.75 -	mv $install/usr/lib/gstreamer-$SERIES/*.so $fs/usr/lib/gstreamer-$SERIES
    1.76 -	mv $install/usr/lib/gstreamer-$SERIES/gst-* $fs/usr/lib/gstreamer-$SERIES
    1.77 -	for locale in $LOCALES; do
    1.78 -		mv $install/usr/share/locale/$locale $fs/usr/share/locale
    1.79 -	done
    1.80 +	mkdir -p $fs/usr/lib/gstreamer-$SERIES
    1.81 +	mkdir -p $fs/usr/bin
    1.82 +	mkdir -p $fs/usr/share/locale
    1.83 +
    1.84 +	mv $install/usr/bin/*-$SERIES			$fs/usr/bin
    1.85 +	mv $install/usr/lib/*.so*			$fs/usr/lib
    1.86 +	mv $install/usr/lib/gstreamer-$SERIES/*.so	$fs/usr/lib/gstreamer-$SERIES
    1.87 +	mv $install/usr/lib/gstreamer-$SERIES/gst-*	$fs/usr/lib/gstreamer-$SERIES
    1.88 +	for locale in $LOCALES
    1.89 +	  do
    1.90 +		mv $install/usr/share/locale/$locale	$fs/usr/share/locale
    1.91 +	  done
    1.92  }