wok view gst-ffmpeg/receipt @ rev 20257

Add giflossy
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 13 23:27:32 2018 +0100 (20 months ago)
parents b6a74775afd4
children a78610b2eb47
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 PROVIDE="gst-ffmpeg-small"
16 DEPENDS="gst-plugins-base bzip2"
17 BUILD_DEPENDS="gstreamer-dev gst-plugins-base-dev bzip2-dev \
18 coreutils-file-format coreutils-file-special glib-dev yasm"
19 SUGGESTED="gst-plugins-good"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 ./configure \
26 --prefix=/usr \
27 --disable-static \
28 --with-ffmpeg-extra-configure="--enable-runtime-cpudetect" \
29 --with-package-name="GStreamer FFMpeg Plugin ($SERIES)" \
30 --with-package-origin="http://www.slitaz.org/" \
31 $CONFIGURE_ARGS &&
32 sed 's/RANK_NONE/RANK_SECONDARY/g' -i $src/ext/ffmpeg/gstffmpegdec.c
33 make $MAKEFLAGS &&
34 make DESTDIR=$install install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib/gstreamer-$SERIES
41 cp -a $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
42 }