wok-current annotate gst-libav/receipt @ rev 24113

gst-libav, gst-plugins-base-1.0: series = 1.0
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 29 12:51:33 2021 +0000 (2021-09-29)
parents 6831608a1b2a
children 5926178cd6fa
rev   line source
psychomaniak@19519 1 # SliTaz package receipt.
psychomaniak@19519 2
psychomaniak@19519 3 PACKAGE="gst-libav"
Hans-G?nter@22890 4 VERSION="1.16.2"
pascal@24113 5 SERIES="1.0"
psychomaniak@19519 6 CATEGORY="multimedia"
Hans-G?nter@22890 7 SHORT_DESC="GStreamer 1.x libav/ffmpeg Plugin."
psychomaniak@19519 8 MAINTAINER="psychomaniak@xakep.ru"
psychomaniak@19519 9 LICENSE="GPL2"
Hans-G?nter@22890 10 WEB_SITE="https://gstreamer.freedesktop.org/"
Hans-G?nter@22890 11
psychomaniak@19519 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
psychomaniak@19519 13 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
psychomaniak@19519 14
Hans-G?nter@22890 15 DEPENDS="bzip2 gst-plugins-base-1.0 gst-plugins-good-1.0"
Hans-G?nter@22890 16 BUILD_DEPENDS="bzip2-dev coreutils-file-format coreutils-file-special
Hans-G?nter@22890 17 glib-dev gst-plugins-base-1.0-dev gstreamer-1.0-dev gtk-doc
Hans-G?nter@22890 18 yasm"
psychomaniak@19519 19
pascal@24070 20 current_version()
pascal@24070 21 {
pascal@24070 22 wget -O - https://gstreamer.freedesktop.org/src/$PACKAGE/ 2>/dev/null | \
pascal@24070 23 sed '/tar/!d;s|.*'$PACKAGE'-||;s|.tar.*||' | sed '$!d'
pascal@24070 24 }
pascal@24070 25
psychomaniak@19519 26 # Rules to configure and make the package.
psychomaniak@19519 27 compile_rules()
psychomaniak@19519 28 {
Hans-G?nter@22890 29 sed -i '/set ERROR_C/d' configure
Hans-G?nter@22890 30
Hans-G?nter@22890 31 ./configure \
Hans-G?nter@22890 32 --prefix=/usr \
Hans-G?nter@22890 33 --disable-static \
Hans-G?nter@22890 34 --with-libav-extra-configure="--enable-runtime-cpudetect" \
Hans-G?nter@22890 35 --with-package-name="GStreamer libav Plugin ($SERIES)" \
Hans-G?nter@22890 36 --with-package-origin="http://www.slitaz.org/" \
psychomaniak@19519 37 $CONFIGURE_ARGS &&
psychomaniak@19519 38 make $MAKEFLAGS &&
psychomaniak@19521 39 make DESTDIR=$install install 2>/dev/null
psychomaniak@19519 40 }
psychomaniak@19519 41
psychomaniak@19519 42 # Rules to gen a SliTaz package suitable for Tazpkg.
psychomaniak@19519 43 genpkg_rules()
psychomaniak@19519 44 {
psychomaniak@19519 45 mkdir -p $fs/usr/lib/gstreamer-$SERIES
Hans-G?nter@22890 46 cp -a $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
psychomaniak@19519 47 }