wok annotate gst-ffmpeg/receipt @ rev 25615

Add libslirp (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 03 12:03:26 2023 +0000 (15 months ago)
parents 6831608a1b2a
children
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@25270 21 # What is the latest version available today?
pascal@24070 22 current_version()
pascal@24070 23 {
pascal@24070 24 wget -O - https://gstreamer.freedesktop.org/src/$PACKAGE/ 2>/dev/null | \
pascal@24070 25 sed '/tar/!d;s|.*'$PACKAGE'-||;s|.tar.*||' | sed '$!d'
pascal@24070 26 }
pascal@24070 27
jozee@2674 28 # Rules to configure and make the package.
jozee@2674 29 compile_rules()
jozee@2674 30 {
pascal@25270 31 sed -i 's|ORC_TARGET_ALTIVEC_ALTIVEC|ORC_TARGET_POWERPC_ALTIVEC|' ext/*/*.c
domcox@14025 32 ./configure \
domcox@14025 33 --prefix=/usr \
domcox@14025 34 --disable-static \
psychomaniak@19130 35 --with-ffmpeg-extra-configure="--enable-runtime-cpudetect" \
domcox@14025 36 --with-package-name="GStreamer FFMpeg Plugin ($SERIES)" \
domcox@14025 37 --with-package-origin="http://www.slitaz.org/" \
pascal@15265 38 $CONFIGURE_ARGS &&
psychomaniak@17444 39 sed 's/RANK_NONE/RANK_SECONDARY/g' -i $src/ext/ffmpeg/gstffmpegdec.c
gokhlayeh@11573 40 make $MAKEFLAGS &&
domcox@14025 41 make DESTDIR=$install install
jozee@2674 42 }
jozee@2674 43
jozee@2674 44 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2674 45 genpkg_rules()
jozee@2674 46 {
domcox@14025 47 mkdir -p $fs/usr/lib/gstreamer-$SERIES
pascal@15000 48 cp -a $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
jozee@2674 49 }