wok-next view gst-ffmpeg/receipt @ rev 17617
Up: xinit 1.3.4
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Thu Feb 12 21:44:41 2015 +0000 (2015-02-12) |
parents | 1f94f879d67c |
children | 7f6407f6268c |
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" \
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 }