wok-6.x annotate gst-ffmpeg-small/receipt @ rev 24422
updated claws-mail packages (3.17.5 -> 3.18.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 11 16:39:51 2022 +0100 (2022-02-11) |
parents | 3cdc90c472a2 |
children | 58045f5f09a4 |
rev | line source |
---|---|
psychomaniak@19130 | 1 # SliTaz package receipt. |
psychomaniak@19130 | 2 |
psychomaniak@19130 | 3 PACKAGE="gst-ffmpeg-small" |
psychomaniak@19131 | 4 SOURCE="gst-ffmpeg" |
psychomaniak@19130 | 5 VERSION="0.10.13" |
pascal@24111 | 6 SERIES="${VERSION%.*}" # first two numbers from version |
psychomaniak@19130 | 7 CATEGORY="multimedia" |
psychomaniak@19130 | 8 SHORT_DESC="GStreamer FFmpeg Plugins" |
psychomaniak@19130 | 9 MAINTAINER="psychomaniak@xakep.ru" |
psychomaniak@19130 | 10 LICENSE="GPL2" |
psychomaniak@19131 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@20669 | 12 WEB_SITE="https://gstreamer.freedesktop.org/" |
psychomaniak@19131 | 13 WGET_URL="$WEB_SITE/src/$SOURCE/$TARBALL" |
psychomaniak@19130 | 14 |
psychomaniak@19130 | 15 DEPENDS="gst-plugins-base bzip2" |
psychomaniak@19130 | 16 BUILD_DEPENDS="gstreamer-dev gst-plugins-base-dev bzip2-dev \ |
psychomaniak@19130 | 17 coreutils-file-format coreutils-file-special glib-dev yasm" |
psychomaniak@19130 | 18 SUGGESTED="gst-plugins-good" |
psychomaniak@19130 | 19 |
pascal@24070 | 20 current_version() |
pascal@24070 | 21 { |
pascal@24070 | 22 wget -O - https://gstreamer.freedesktop.org/src/gst-ffmpeg/ 2>/dev/null | \ |
pascal@24070 | 23 sed '/tar/!d;s|.*gst-ffmpeg-||;s|.tar.*||' | sed '$!d' |
pascal@24070 | 24 } |
pascal@24070 | 25 |
psychomaniak@19130 | 26 # Rules to configure and make the package. |
psychomaniak@19130 | 27 compile_rules() |
psychomaniak@19130 | 28 { |
psychomaniak@19130 | 29 ./configure \ |
psychomaniak@19130 | 30 --prefix=/usr \ |
psychomaniak@19130 | 31 --disable-static \ |
psychomaniak@19130 | 32 --with-ffmpeg-extra-configure=" \ |
psychomaniak@19130 | 33 --enable-runtime-cpudetect \ |
psychomaniak@19130 | 34 --disable-bsfs \ |
psychomaniak@19130 | 35 --disable-parsers \ |
psychomaniak@19130 | 36 --disable-encoders \ |
psychomaniak@19130 | 37 --disable-decoders \ |
psychomaniak@19130 | 38 --disable-demuxers \ |
psychomaniak@19130 | 39 --disable-muxers \ |
psychomaniak@19130 | 40 --enable-decoder=h264 \ |
psychomaniak@19130 | 41 --enable-decoder=aac_latm \ |
psychomaniak@19130 | 42 --enable-decoder=aac \ |
psychomaniak@19130 | 43 --enable-decoder=mpeg4 \ |
psychomaniak@19130 | 44 --enable-decoder=mp3float \ |
psychomaniak@19130 | 45 --enable-decoder=vp8 \ |
psychomaniak@19130 | 46 --enable-decoder=flv " \ |
psychomaniak@19130 | 47 --with-package-name="GStreamer FFMpeg Plugin ($SERIES)" \ |
psychomaniak@19130 | 48 --with-package-origin="http://www.slitaz.org/" \ |
psychomaniak@19130 | 49 $CONFIGURE_ARGS && |
psychomaniak@19130 | 50 sed 's/RANK_NONE/RANK_SECONDARY/g' -i $src/ext/ffmpeg/gstffmpegdec.c |
psychomaniak@19130 | 51 make $MAKEFLAGS && |
psychomaniak@19130 | 52 make DESTDIR=$install install |
psychomaniak@19130 | 53 } |
psychomaniak@19130 | 54 |
psychomaniak@19130 | 55 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@19130 | 56 genpkg_rules() |
psychomaniak@19130 | 57 { |
psychomaniak@19130 | 58 mkdir -p $fs/usr/lib/gstreamer-$SERIES |
psychomaniak@19130 | 59 cp -a $install/usr/lib/gstreamer-$SERIES/*.so* \ |
psychomaniak@19130 | 60 $fs/usr/lib/gstreamer-$SERIES |
psychomaniak@19130 | 61 } |