wok view gst-ffmpeg/receipt @ rev 20483

linld: memcpy32 may need N_LXLSH@ & N_LXURSH@4
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 20 21:17:14 2018 +0200 (2018-10-20)
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 }