wok-next annotate 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
rev   line source
psychomaniak@19519 1 # SliTaz package receipt.
psychomaniak@19519 2
al@19816 3 PACKAGE="gst1-libav"
psychomaniak@19519 4 VERSION="1.10.1"
psychomaniak@19519 5 SERIES="1.0"
psychomaniak@19519 6 CATEGORY="multimedia"
psychomaniak@19519 7 SHORT_DESC="GStreamer 1.x libav/ffmpeg Plugin"
psychomaniak@19519 8 MAINTAINER="psychomaniak@xakep.ru"
psychomaniak@19519 9 LICENSE="GPL2"
al@19816 10 TARBALL="gst-libav-$VERSION.tar.xz"
psychomaniak@19519 11 WEB_SITE="http://gstreamer.freedesktop.org/"
psychomaniak@19519 12 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
psychomaniak@19519 13
al@19816 14 DEPENDS="gst1-plugins-base bzip2 gst1-plugins-good"
al@19816 15 BUILD_DEPENDS="gstreamer1-dev gst1-plugins-base-dev bzip2-dev \
psychomaniak@19520 16 coreutils-file-format coreutils-file-special glib-dev yasm gtk-doc"
psychomaniak@19519 17
psychomaniak@19519 18 # Rules to configure and make the package.
psychomaniak@19519 19 compile_rules()
psychomaniak@19519 20 {
psychomaniak@19519 21 sed '/set ERROR_C/d' -i configure
psychomaniak@19519 22 ./configure \
psychomaniak@19519 23 --prefix=/usr --disable-static \
psychomaniak@19519 24 --with-libav-extra-configure="--enable-runtime-cpudetect" \
psychomaniak@19519 25 --with-package-name="GStreamer libav Plugin ($SERIES)" \
psychomaniak@19519 26 --with-package-origin="http://www.slitaz.org/" \
psychomaniak@19519 27 $CONFIGURE_ARGS &&
psychomaniak@19519 28 make $MAKEFLAGS &&
psychomaniak@19521 29 make DESTDIR=$install install 2>/dev/null
psychomaniak@19519 30 }
psychomaniak@19519 31
psychomaniak@19519 32 # Rules to gen a SliTaz package suitable for Tazpkg.
psychomaniak@19519 33 genpkg_rules()
psychomaniak@19519 34 {
psychomaniak@19519 35 mkdir -p $fs/usr/lib/gstreamer-$SERIES
psychomaniak@19519 36 cp -a $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
psychomaniak@19519 37 }