wok view gst-ffmpeg-small/receipt @ rev 20399

Add code2 (speech codec 0.7-3.2 Kb/s)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 27 16:09:41 2018 +0200 (2018-06-27)
parents b6a74775afd4
children a78610b2eb47
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-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="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 # 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 }