wok-next view gst0-ffmpeg/receipt @ rev 20806
I. node update: security -> https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ 9.5.0 -> 9.11.2 II. add checksum
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Jun 13 08:26:54 2018 +0000 (2018-06-13) |
parents | 5af737a221b4 |
children | d958fec46c9f |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gst0-ffmpeg"
4 VERSION="0.10.13"
5 CATEGORY="multimedia"
6 SHORT_DESC="GStreamer-0.10 FFmpeg Plugins"
7 MAINTAINER="jozee@slitaz.org" # + psychomaniak@xakep.ru
8 LICENSE="GPL2"
9 WEB_SITE="http://gstreamer.freedesktop.org/"
11 TARBALL="gst-ffmpeg-$VERSION.tar.bz2"
12 WGET_URL="$WEB_SITE/src/gst-ffmpeg/$TARBALL"
14 BUILD_DEPENDS="gstreamer0-dev gst0-plugins-base-dev bzip2-dev \
15 coreutils-file-format coreutils-file-special glib-dev yasm"
16 SPLIT="gst0-ffmpeg-small:small"
18 compile_rules() {
19 case $SET in
20 '') ARCH_ARGS="--enable-runtime-cpudetect";;
21 small) ARCH_ARGS="--enable-runtime-cpudetect \
22 --disable-bsfs \
23 --disable-parsers \
24 --disable-encoders \
25 --disable-decoders \
26 --disable-demuxers \
27 --disable-muxers \
28 --enable-decoder=h264 \
29 --enable-decoder=aac_latm \
30 --enable-decoder=aac \
31 --enable-decoder=mpeg4 \
32 --enable-decoder=mp3float \
33 --enable-decoder=vp8 \
34 --enable-decoder=flv";;
35 esac
37 sed -i 's/"g"/"rm"/' gst-libs/ext/libav/libavcodec/x86/h264_qpel_mmx.c
39 ./configure \
40 --disable-static \
41 --with-ffmpeg-extra-configure="$ARCH_ARGS" \
42 --with-package-name="GStreamer FFMpeg Plugin (0.10)" \
43 --with-package-origin="http://www.slitaz.org/" \
44 $CONFIGURE_ARGS &&
45 fix libtool &&
46 sed 's/RANK_NONE/RANK_SECONDARY/g' -i $src/ext/ffmpeg/gstffmpegdec.c &&
47 make $MAKEFLAGS &&
48 make DESTDIR=$install install
49 }
51 genpkg_rules() {
52 case $PACKAGE in
53 gst0-ffmpeg)
54 copy @std
55 DEPENDS="gst0-plugins-base bzip2"
56 SUGGESTED="gst0-plugins-good"
57 PROVIDE="gst0-ffmpeg-small"
58 ;;
59 gst0-ffmpeg-small)
60 copy @std
61 DEPENDS="gst0-plugins-base bzip2"
62 CAT="multimedia|small set"
63 SUGGESTED="gst0-plugins-good"
64 ;;
65 esac
66 }