wok-next diff gst0-plugins-bad/receipt @ rev 19816

gstreamer0, gst0-* are for version 0.10; while gstreamer1, gst1-* are for version 1.0; up gparted and all its suggested dependencies...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jul 27 00:56:44 2017 +0300 (2017-07-27)
parents
children fb478984fbc8
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gst0-plugins-bad/receipt	Thu Jul 27 00:56:44 2017 +0300
     1.3 @@ -0,0 +1,50 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gst0-plugins-bad"
     1.7 +VERSION="0.10.23"
     1.8 +SERIES="0.10"
     1.9 +CATEGORY="multimedia"
    1.10 +SHORT_DESC="GStreamer Bad Plugins"
    1.11 +MAINTAINER="jozee@slitaz.org"
    1.12 +LICENSE="GPL2"
    1.13 +SUGGESTED="libsdl schroedinger"
    1.14 +TARBALL="gst-plugins-bad-$VERSION.tar.xz"
    1.15 +WEB_SITE="http://gstreamer.freedesktop.org/"
    1.16 +WGET_URL="$WEB_SITE/src/gst-plugins-bad/$TARBALL"
    1.17 +LOCALES="da de es fr id it pt_BR ru zh_CN"
    1.18 +
    1.19 +DEPENDS="gst0-plugins-base faac libpng libvpx openssl xvidcore
    1.20 +faad2 jasper libmms libmodplug libsndfile mjpegtools neon"
    1.21 +BUILD_DEPENDS="gstreamer0-dev gst0-plugins-base-dev
    1.22 +faac-dev libpng-dev libvpx-dev openssl-dev xvidcore-dev jpeg-dev
    1.23 +faad2-dev jasper-dev libmms-dev libmodplug-dev libsndfile-dev libsdl-dev
    1.24 +mjpegtools-dev neon-dev schroedinger-dev expat-dev flac-dev"
    1.25 +
    1.26 +# Rules to configure and make the package.
    1.27 +compile_rules()
    1.28 +{
    1.29 +	cd $src
    1.30 +	./configure \
    1.31 +		--prefix=/usr \
    1.32 +		--sysconfdir=/etc \
    1.33 +		--localstatedir=/var \
    1.34 +		--disable-static \
    1.35 +		--disable-debug \
    1.36 +		--enable-experimental \
    1.37 +		--with-package-name="GStreamer Bad Plugins ($SERIES)" \
    1.38 +		--with-package-origin="http://www.slitaz.org/" \
    1.39 +		$CONFIGURE_ARGS &&
    1.40 +	make $MAKEFLAGS &&
    1.41 +	make install
    1.42 +}
    1.43 +
    1.44 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.45 +genpkg_rules()
    1.46 +{
    1.47 +	mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
    1.48 +	mv $install/usr/lib/*.so* $fs/usr/lib
    1.49 +	mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
    1.50 +	for locale in $LOCALES; do
    1.51 +		mv $install/usr/share/locale/$locale $fs/usr/share/locale
    1.52 +	done
    1.53 +}