wok-next view gst0-ffmpeg-small/receipt @ rev 20128
Up celestia (1.6.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 31 11:58:18 2017 +0100 (2017-10-31) |
parents | 0e8dadf052b9 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="gst0-ffmpeg-small"
4 SOURCE="gst-ffmpeg"
5 VERSION="0.10.13"
6 SERIES="0.10"
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="http://gstreamer.freedesktop.org/"
13 WGET_URL="$WEB_SITE/src/$SOURCE/$TARBALL"
15 DEPENDS="gst0-plugins-base bzip2"
16 BUILD_DEPENDS="gstreamer0-dev gst0-plugins-base-dev bzip2-dev \
17 coreutils-file-format coreutils-file-special glib-dev yasm"
18 SUGGESTED="gst0-plugins-good"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed -i 's/"g"/"rm"/' gst-libs/ext/libav/libavcodec/x86/h264_qpel_mmx.c
24 ./configure \
25 --prefix=/usr \
26 --disable-static \
27 --with-ffmpeg-extra-configure=" \
28 --enable-runtime-cpudetect \
29 --disable-bsfs \
30 --disable-parsers \
31 --disable-encoders \
32 --disable-decoders \
33 --disable-demuxers \
34 --disable-muxers \
35 --enable-decoder=h264 \
36 --enable-decoder=aac_latm \
37 --enable-decoder=aac \
38 --enable-decoder=mpeg4 \
39 --enable-decoder=mp3float \
40 --enable-decoder=vp8 \
41 --enable-decoder=flv " \
42 --with-package-name="GStreamer FFMpeg Plugin ($SERIES)" \
43 --with-package-origin="http://www.slitaz.org/" \
44 $CONFIGURE_ARGS &&
45 sed 's/RANK_NONE/RANK_SECONDARY/g' -i $src/ext/ffmpeg/gstffmpegdec.c
46 make $MAKEFLAGS &&
47 make DESTDIR=$install install
48 }
50 # Rules to gen a SliTaz package suitable for Tazpkg.
51 genpkg_rules()
52 {
53 mkdir -p $fs/usr/lib/gstreamer-$SERIES
54 cp -a $install/usr/lib/gstreamer-$SERIES/*.so* \
55 $fs/usr/lib/gstreamer-$SERIES
56 }