wok-6.x annotate gst-libav/receipt @ rev 21850

updated rspamd (1.9.3 -> 1.9.4)
author Hans-G?nter Theisgen
date Sun Sep 15 15:30:41 2019 +0100 (2019-09-15)
parents 2b519788fdc2
children 9c823902b6e9
rev   line source
psychomaniak@19519 1 # SliTaz package receipt.
psychomaniak@19519 2
psychomaniak@19519 3 PACKAGE="gst-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"
psychomaniak@19519 10 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@20669 11 WEB_SITE="https://gstreamer.freedesktop.org/"
psychomaniak@19519 12 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
psychomaniak@19519 13
psychomaniak@19519 14 DEPENDS="gst-plugins-base-1.0 bzip2 gst-plugins-good-1.0"
psychomaniak@19519 15 BUILD_DEPENDS="gstreamer-1.0-dev gst-plugins-base-1.0-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 }