wok view gst-ffmpeg/receipt @ rev 13752
xpad: up 4.1
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jan 02 22:16:05 2013 +0000 (2013-01-02) |
parents | d94859bd28b4 |
children | 6ccb77b83ce4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-ffmpeg"
4 VERSION="0.10.11"
5 CATEGORY="multimedia"
6 SHORT_DESC="GStreamer FFmpeg Plugins"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="gstreamer gst-plugins-base ffmpeg glib"
9 BUILD_DEPENDS="pkg-config gst-plugins-base-dev liboil-dev gstreamer-dev \
10 libxml2-dev glib-dev ffmpeg-dev bzip2-dev coreutils-file-special libffi"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://gstreamer.freedesktop.org/"
13 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
15 # Rules to configure and make the package.
16 # Add --with-system-ffmpeg from ./configure for compiling with shared FFmpeg.
17 # need atleast version 18330 for shared ffmpeg
18 compile_rules()
19 {
20 cd $src
21 sed -i 's/pr -. -t/cat/' gst-libs/ext/ffmpeg/configure
22 # fix mktemp -u
23 sed -i 's|mktemp -u|/usr/bin/mktemp -u|g' gst-libs/ext/ffmpeg/configure
24 ./configure --prefix=/usr $CONFIGURE_ARGS &&
25 make $MAKEFLAGS &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/lib/gstreamer* $fs/usr/lib
34 }