wok-next diff gstreamer1/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 gstreamer-1.0/receipt@b2efa70e9283
children c4e53a39395a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gstreamer1/receipt	Thu Jul 27 00:56:44 2017 +0300
     1.3 @@ -0,0 +1,47 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="gstreamer1"
     1.7 +VERSION="1.10.3"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="GStreamer Multimedia Framework"
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="LGPL2"
    1.12 +WEB_SITE="https://gstreamer.freedesktop.org/"
    1.13 +HOST_ARCH="i486 arm"
    1.14 +
    1.15 +TARBALL="gstreamer-$VERSION.tar.xz"
    1.16 +WGET_URL="https://gstreamer.freedesktop.org/src/gstreamer/$TARBALL"
    1.17 +
    1.18 +BUILD_DEPENDS="gettext perl valgrind-dev"
    1.19 +BUILD_DEPENDS_arm="glib-dev libxml2-dev pkg-config"
    1.20 +SPLIT="gstreamer1-dev"
    1.21 +
    1.22 +# Rules to configure and make the package.
    1.23 +compile_rules()
    1.24 +{
    1.25 +	./configure \
    1.26 +		--with-package-name="GStreamer (1.0)" \
    1.27 +		--with-package-origin="http://www.slitaz.org/" \
    1.28 +		$CONFIGURE_ARGS &&
    1.29 +	# Suppress installing errors (fatal for cooker)
    1.30 +	sed -i 's| \$(builddir)/html/\*\.sgml||' docs/gst/Makefile \
    1.31 +		docs/libs/Makefile docs/plugins/Makefile &&
    1.32 +	make $MAKEFLAGS && make install &&
    1.33 +
    1.34 +	ln -s gstreamer-1.0/gst $install/usr/include/gst
    1.35 +}
    1.36 +
    1.37 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 +genpkg_rules()
    1.39 +{
    1.40 +	case $PACKAGE in
    1.41 +		gstreamer1)
    1.42 +			copy @std
    1.43 +			DEPENDS="glib libffi pcre"
    1.44 +			;;
    1.45 +		*-dev)
    1.46 +			copy @dev
    1.47 +			DEPENDS="gstreamer1 glib-dev libffi-dev pcre-dev zlib-dev"
    1.48 +			;;
    1.49 +	esac
    1.50 +}