wok-current view gst-ffmpeg/receipt @ rev 19000

Up: More Wallpapers.
author Leonardo Laporte <hackdorte@sapo.pt>
date Wed Mar 23 05:12:23 2016 -0300 (2016-03-23)
parents 6f7fb054296c
children b6a74775afd4
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-ffmpeg"
4 VERSION="0.10.13"
5 SERIES="0.10"
6 CATEGORY="multimedia"
7 SHORT_DESC="GStreamer FFmpeg Plugins"
8 MAINTAINER="jozee@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://gstreamer.freedesktop.org/"
12 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
14 DEPENDS="gst-plugins-base bzip2"
15 BUILD_DEPENDS="gstreamer-dev gst-plugins-base-dev bzip2-dev \
16 coreutils-file-format coreutils-file-special glib-dev yasm"
17 SUGGESTED="gst-plugins-good"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --prefix=/usr \
25 --disable-static \
26 --with-ffmpeg-extra-configure="--enable-runtime-cpudetect --disable-encoders" \
27 --with-package-name="GStreamer FFMpeg Plugin ($SERIES)" \
28 --with-package-origin="http://www.slitaz.org/" \
29 $CONFIGURE_ARGS &&
30 sed 's/RANK_NONE/RANK_SECONDARY/g' -i $src/ext/ffmpeg/gstffmpegdec.c
31 make $MAKEFLAGS &&
32 make DESTDIR=$install install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib/gstreamer-$SERIES
39 cp -a $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
40 }