wok-6.x view gst-ffmpeg/receipt @ rev 21846
updated rox packages again (2.8 -> 2.11)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Sep 15 11:17:50 2019 +0100 (2019-09-15) |
parents | cadfc62fbcdb |
children | 3cdc90c472a2 |
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="https://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 }