wok-next diff gst1-libav/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 gst-libav/receipt@2b519788fdc2
children d3444352a0af
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gst1-libav/receipt	Thu Jul 27 00:56:44 2017 +0300
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gst1-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="gst-libav-$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="gst1-plugins-base bzip2 gst1-plugins-good"
    1.18 +BUILD_DEPENDS="gstreamer1-dev gst1-plugins-base-dev bzip2-dev \
    1.19 +coreutils-file-format coreutils-file-special glib-dev yasm gtk-doc"
    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 2>/dev/null
    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 +}