wok annotate gst-ffmpeg-small/receipt @ rev 25298
updated scrot (0.8-12 -> 1.7)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 20 07:03:07 2022 +0100 (2022-07-20) |
parents | 6831608a1b2a |
children |
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@25270 | 20 # What is the latest version available today? |
pascal@24070 | 21 current_version() |
pascal@24070 | 22 { |
pascal@24070 | 23 wget -O - https://gstreamer.freedesktop.org/src/gst-ffmpeg/ 2>/dev/null | \ |
pascal@24070 | 24 sed '/tar/!d;s|.*gst-ffmpeg-||;s|.tar.*||' | sed '$!d' |
pascal@24070 | 25 } |
pascal@24070 | 26 |
psychomaniak@19130 | 27 # Rules to configure and make the package. |
psychomaniak@19130 | 28 compile_rules() |
psychomaniak@19130 | 29 { |
pascal@25270 | 30 sed -i 's|ORC_TARGET_ALTIVEC_ALTIVEC|ORC_TARGET_POWERPC_ALTIVEC|' ext/*/*.c |
psychomaniak@19130 | 31 ./configure \ |
psychomaniak@19130 | 32 --prefix=/usr \ |
psychomaniak@19130 | 33 --disable-static \ |
psychomaniak@19130 | 34 --with-ffmpeg-extra-configure=" \ |
psychomaniak@19130 | 35 --enable-runtime-cpudetect \ |
psychomaniak@19130 | 36 --disable-bsfs \ |
psychomaniak@19130 | 37 --disable-parsers \ |
psychomaniak@19130 | 38 --disable-encoders \ |
psychomaniak@19130 | 39 --disable-decoders \ |
psychomaniak@19130 | 40 --disable-demuxers \ |
psychomaniak@19130 | 41 --disable-muxers \ |
psychomaniak@19130 | 42 --enable-decoder=h264 \ |
psychomaniak@19130 | 43 --enable-decoder=aac_latm \ |
psychomaniak@19130 | 44 --enable-decoder=aac \ |
psychomaniak@19130 | 45 --enable-decoder=mpeg4 \ |
psychomaniak@19130 | 46 --enable-decoder=mp3float \ |
psychomaniak@19130 | 47 --enable-decoder=vp8 \ |
psychomaniak@19130 | 48 --enable-decoder=flv " \ |
psychomaniak@19130 | 49 --with-package-name="GStreamer FFMpeg Plugin ($SERIES)" \ |
psychomaniak@19130 | 50 --with-package-origin="http://www.slitaz.org/" \ |
psychomaniak@19130 | 51 $CONFIGURE_ARGS && |
psychomaniak@19130 | 52 sed 's/RANK_NONE/RANK_SECONDARY/g' -i $src/ext/ffmpeg/gstffmpegdec.c |
psychomaniak@19130 | 53 make $MAKEFLAGS && |
psychomaniak@19130 | 54 make DESTDIR=$install install |
psychomaniak@19130 | 55 } |
psychomaniak@19130 | 56 |
psychomaniak@19130 | 57 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@19130 | 58 genpkg_rules() |
psychomaniak@19130 | 59 { |
psychomaniak@19130 | 60 mkdir -p $fs/usr/lib/gstreamer-$SERIES |
psychomaniak@19130 | 61 cp -a $install/usr/lib/gstreamer-$SERIES/*.so* \ |
psychomaniak@19130 | 62 $fs/usr/lib/gstreamer-$SERIES |
psychomaniak@19130 | 63 } |