wok-6.x annotate gst-ffmpeg/receipt @ rev 13654
Fix: rarian missing Templates
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Nov 19 15:55:45 2012 +0100 (2012-11-19) |
parents | d94859bd28b4 |
children | 6ccb77b83ce4 |
rev | line source |
---|---|
jozee@2674 | 1 # SliTaz package receipt. |
jozee@2674 | 2 |
jozee@2674 | 3 PACKAGE="gst-ffmpeg" |
slaxemulator@7331 | 4 VERSION="0.10.11" |
jozee@2674 | 5 CATEGORY="multimedia" |
jozee@2674 | 6 SHORT_DESC="GStreamer FFmpeg Plugins" |
jozee@2674 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@2845 | 8 DEPENDS="gstreamer gst-plugins-base ffmpeg glib" |
pankso@3429 | 9 BUILD_DEPENDS="pkg-config gst-plugins-base-dev liboil-dev gstreamer-dev \ |
pascal@11582 | 10 libxml2-dev glib-dev ffmpeg-dev bzip2-dev coreutils-file-special libffi" |
slaxemulator@7331 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
jozee@2674 | 12 WEB_SITE="http://gstreamer.freedesktop.org/" |
jozee@2674 | 13 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL" |
jozee@2674 | 14 |
jozee@2674 | 15 # Rules to configure and make the package. |
jozee@2912 | 16 # Add --with-system-ffmpeg from ./configure for compiling with shared FFmpeg. |
jozee@2697 | 17 # need atleast version 18330 for shared ffmpeg |
jozee@2674 | 18 compile_rules() |
jozee@2674 | 19 { |
jozee@2674 | 20 cd $src |
pascal@2938 | 21 sed -i 's/pr -. -t/cat/' gst-libs/ext/ffmpeg/configure |
slaxemulator@7334 | 22 # fix mktemp -u |
slaxemulator@7334 | 23 sed -i 's|mktemp -u|/usr/bin/mktemp -u|g' gst-libs/ext/ffmpeg/configure |
gokhlayeh@11573 | 24 ./configure --prefix=/usr $CONFIGURE_ARGS && |
gokhlayeh@11573 | 25 make $MAKEFLAGS && |
jozee@2674 | 26 make DESTDIR=$PWD/_pkg install |
jozee@2674 | 27 } |
jozee@2674 | 28 |
jozee@2674 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2674 | 30 genpkg_rules() |
jozee@2674 | 31 { |
jozee@2674 | 32 mkdir -p $fs/usr/lib |
jozee@2674 | 33 cp -a $_pkg/usr/lib/gstreamer* $fs/usr/lib |
jozee@2674 | 34 } |