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