wok view gst-ffmpeg/receipt @ rev 23136
updated linuxconsoletools (1.6.0 -> 1.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 14 17:12:22 2020 +0100 (2020-03-14) |
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 }