wok annotate gst-libav/receipt @ rev 20618

Update gnome-calculator
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 25 17:47:14 2018 +0100 (2018-12-25)
parents b60b1ded3a2a
children a78610b2eb47
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"
psychomaniak@19519 11 WEB_SITE="http://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 }