wok-6.x view gst-ffmpeg/receipt @ rev 25208

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