wok view gst-ffmpeg/receipt @ rev 11699

Up: slitaz-boot-scripts (4.6.1)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Feb 19 12:08:34 2012 +0100 (2012-02-19)
parents b7319995b37e
children e13ab67213ba
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
35 }