wok-next view gst0-ffmpeg-small/receipt @ rev 19936
mate-common: automake-1.15 support, mate-desktop, mate-icon-theme, mate-system-monitor: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 15 17:04:15 2017 +0200 (2017-10-15) |
parents | |
children | 5af737a221b4 |
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 ./configure \
24 --prefix=/usr \
25 --disable-static \
26 --with-ffmpeg-extra-configure=" \
27 --enable-runtime-cpudetect \
28 --disable-bsfs \
29 --disable-parsers \
30 --disable-encoders \
31 --disable-decoders \
32 --disable-demuxers \
33 --disable-muxers \
34 --enable-decoder=h264 \
35 --enable-decoder=aac_latm \
36 --enable-decoder=aac \
37 --enable-decoder=mpeg4 \
38 --enable-decoder=mp3float \
39 --enable-decoder=vp8 \
40 --enable-decoder=flv " \
41 --with-package-name="GStreamer FFMpeg Plugin ($SERIES)" \
42 --with-package-origin="http://www.slitaz.org/" \
43 $CONFIGURE_ARGS &&
44 sed 's/RANK_NONE/RANK_SECONDARY/g' -i $src/ext/ffmpeg/gstffmpegdec.c
45 make $MAKEFLAGS &&
46 make DESTDIR=$install install
47 }
49 # Rules to gen a SliTaz package suitable for Tazpkg.
50 genpkg_rules()
51 {
52 mkdir -p $fs/usr/lib/gstreamer-$SERIES
53 cp -a $install/usr/lib/gstreamer-$SERIES/*.so* \
54 $fs/usr/lib/gstreamer-$SERIES
55 }