wok-next view gst-ffmpeg/receipt @ rev 13188

Up: logrotate to 3.8.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Aug 03 10:02:57 2012 +0000 (2012-08-03)
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 }