wok-6.x annotate gst-ffmpeg/receipt @ rev 24369
updated binutils and libbfd (2.33.1 -> 2.37)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 05 09:26:55 2022 +0100 (2022-02-05) |
parents | 3cdc90c472a2 |
children | 58045f5f09a4 |
rev | line source |
---|---|
jozee@2674 | 1 # SliTaz package receipt. |
jozee@2674 | 2 |
jozee@2674 | 3 PACKAGE="gst-ffmpeg" |
psychomaniak@17443 | 4 VERSION="0.10.13" |
pascal@24111 | 5 SERIES="${VERSION%.*}" # first two numbers from version |
jozee@2674 | 6 CATEGORY="multimedia" |
jozee@2674 | 7 SHORT_DESC="GStreamer FFmpeg Plugins" |
jozee@2674 | 8 MAINTAINER="jozee@slitaz.org" |
pascal@15000 | 9 LICENSE="GPL2" |
slaxemulator@7331 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20669 | 11 WEB_SITE="https://gstreamer.freedesktop.org/" |
jozee@2674 | 12 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL" |
jozee@2674 | 13 |
psychomaniak@19132 | 14 PROVIDE="gst-ffmpeg-small" |
psychomaniak@19132 | 15 |
domcox@14479 | 16 DEPENDS="gst-plugins-base bzip2" |
domcox@14479 | 17 BUILD_DEPENDS="gstreamer-dev gst-plugins-base-dev bzip2-dev \ |
domcox@14479 | 18 coreutils-file-format coreutils-file-special glib-dev yasm" |
psychomaniak@17443 | 19 SUGGESTED="gst-plugins-good" |
domcox@14479 | 20 |
pascal@24070 | 21 current_version() |
pascal@24070 | 22 { |
pascal@24070 | 23 wget -O - https://gstreamer.freedesktop.org/src/$PACKAGE/ 2>/dev/null | \ |
pascal@24070 | 24 sed '/tar/!d;s|.*'$PACKAGE'-||;s|.tar.*||' | sed '$!d' |
pascal@24070 | 25 } |
pascal@24070 | 26 |
jozee@2674 | 27 # Rules to configure and make the package. |
jozee@2674 | 28 compile_rules() |
jozee@2674 | 29 { |
jozee@2674 | 30 cd $src |
domcox@14025 | 31 ./configure \ |
domcox@14025 | 32 --prefix=/usr \ |
domcox@14025 | 33 --disable-static \ |
psychomaniak@19130 | 34 --with-ffmpeg-extra-configure="--enable-runtime-cpudetect" \ |
domcox@14025 | 35 --with-package-name="GStreamer FFMpeg Plugin ($SERIES)" \ |
domcox@14025 | 36 --with-package-origin="http://www.slitaz.org/" \ |
pascal@15265 | 37 $CONFIGURE_ARGS && |
psychomaniak@17444 | 38 sed 's/RANK_NONE/RANK_SECONDARY/g' -i $src/ext/ffmpeg/gstffmpegdec.c |
gokhlayeh@11573 | 39 make $MAKEFLAGS && |
domcox@14025 | 40 make DESTDIR=$install install |
jozee@2674 | 41 } |
jozee@2674 | 42 |
jozee@2674 | 43 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2674 | 44 genpkg_rules() |
jozee@2674 | 45 { |
domcox@14025 | 46 mkdir -p $fs/usr/lib/gstreamer-$SERIES |
pascal@15000 | 47 cp -a $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES |
jozee@2674 | 48 } |