wok diff gst-libav/receipt @ rev 19519

Add gst-plugins-good-1.0 && gst-libav
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Wed Nov 23 20:57:24 2016 +0100 (2016-11-23)
parents
children b60b1ded3a2a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gst-libav/receipt	Wed Nov 23 20:57:24 2016 +0100
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gst-libav"
     1.7 +VERSION="1.10.1"
     1.8 +SERIES="1.0"
     1.9 +CATEGORY="multimedia"
    1.10 +SHORT_DESC="GStreamer 1.x libav/ffmpeg Plugin"
    1.11 +MAINTAINER="psychomaniak@xakep.ru"
    1.12 +LICENSE="GPL2"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.14 +WEB_SITE="http://gstreamer.freedesktop.org/"
    1.15 +WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
    1.16 +
    1.17 +DEPENDS="gst-plugins-base-1.0 bzip2 gst-plugins-good-1.0"
    1.18 +BUILD_DEPENDS="gstreamer-1.0-dev gst-plugins-base-1.0-dev bzip2-dev \
    1.19 +coreutils-file-format coreutils-file-special glib-dev yasm"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	sed '/set ERROR_C/d' -i configure
    1.25 +	./configure \
    1.26 +		--prefix=/usr --disable-static \
    1.27 +		--with-libav-extra-configure="--enable-runtime-cpudetect" \
    1.28 +		--with-package-name="GStreamer libav Plugin ($SERIES)" \
    1.29 +		--with-package-origin="http://www.slitaz.org/" \
    1.30 +		$CONFIGURE_ARGS &&
    1.31 +	make $MAKEFLAGS &&
    1.32 +	make DESTDIR=$install install | grep -v 'sgml'
    1.33 +}
    1.34 +
    1.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 +genpkg_rules()
    1.37 +{
    1.38 +	mkdir -p $fs/usr/lib/gstreamer-$SERIES
    1.39 +	cp -a $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
    1.40 +}