wok-next diff gst0-plugins-good/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-good/receipt	Thu Jul 27 00:56:44 2017 +0300
     1.3 @@ -0,0 +1,53 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gst0-plugins-good"
     1.7 +VERSION="0.10.31"
     1.8 +SERIES="0.10"
     1.9 +CATEGORY="multimedia"
    1.10 +SHORT_DESC="GStreamer Good Plugins"
    1.11 +MAINTAINER="jozee@slitaz.org"
    1.12 +LICENSE="LGPL2.1"
    1.13 +SUGGESTED="jack-audio-connection-kit gst0-plugins-good-extra"
    1.14 +TARBALL="gst-plugins-good-$VERSION.tar.xz"
    1.15 +WEB_SITE="http://gstreamer.freedesktop.org/"
    1.16 +WGET_URL="$WEB_SITE/src/gst-plugins-good/$TARBALL"
    1.17 +LOCALES="cs da de el es fr hu id it pl pt_BR ru sl sv zh_CN zh_TW"
    1.18 +
    1.19 +DEPENDS="gst0-plugins-base cairo flac libjpeg libpng speex bzip2"
    1.20 +BUILD_DEPENDS="gstreamer0-dev gst0-plugins-base-dev sqlite-dev \
    1.21 +cairo-dev flac-dev jpeg-dev libpng-dev libshout-dev \
    1.22 +libsoup-dev jack-audio-connection-kit-dev libcdio-dev \
    1.23 +libdv-dev speex-dev taglib-dev wavpack-dev bzip2-dev util-linux-uuid-dev"
    1.24 +
    1.25 +# Rules to configure and make the package.
    1.26 +compile_rules()
    1.27 +{
    1.28 +	./configure \
    1.29 +		--prefix=/usr \
    1.30 +		--sysconfdir=/etc \
    1.31 +		--localstatedir=/var \
    1.32 +		--enable-experimental \
    1.33 +		--disable-static \
    1.34 +		--disable-debug \
    1.35 +		--disable-hal \
    1.36 +		--disable-esd \
    1.37 +		--with-package-name="GStreamer Good 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 +	cp -a $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
    1.49 +	cp -a $install/usr/share/gstreamer* $fs/usr/share
    1.50 +	# for locale in $LOCALES; do
    1.51 +	# 	cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
    1.52 +	# done
    1.53 +	for i in dv jack shout2 souphttpsrc taglib wavpack rtp rtpmanager rtsp deinterlace video4linux2; do
    1.54 +		rm -f $fs/usr/lib/gstreamer-$SERIES/libgst${i}.so
    1.55 +	done
    1.56 +}