wok-next view gst-ffmpeg/receipt @ rev 19130

Add: gst-ffmpeg-small, gst-plugins-good-extra. midori-video: up depends
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun May 15 00:13:18 2016 +0300 (2016-05-15)
parents 7f6407f6268c
children cadfc62fbcdb
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 }