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