wok diff gst-ffmpeg/receipt @ rev 14215
Up: thunderbird-langpack-* (17.0.4esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sat Mar 16 21:38:39 2013 +0100 (2013-03-16) |
parents | e13ab67213ba |
children | 28e9b74e64d1 |
line diff
1.1 --- a/gst-ffmpeg/receipt Sun May 27 21:43:02 2012 +0200 1.2 +++ b/gst-ffmpeg/receipt Sat Mar 16 21:38:39 2013 +0100 1.3 @@ -2,33 +2,36 @@ 1.4 1.5 PACKAGE="gst-ffmpeg" 1.6 VERSION="0.10.11" 1.7 +SERIES="0.10" 1.8 CATEGORY="multimedia" 1.9 SHORT_DESC="GStreamer FFmpeg Plugins" 1.10 MAINTAINER="jozee@slitaz.org" 1.11 -DEPENDS="gstreamer gst-plugins-base ffmpeg glib" 1.12 -BUILD_DEPENDS="pkg-config gst-plugins-base-dev liboil-dev gstreamer-dev \ 1.13 -libxml2-dev glib-dev ffmpeg-dev bzip2-dev coreutils-file-special libffi" 1.14 +DEPENDS="gst-plugins-base bzip2 orc" 1.15 +BUILD_DEPENDS="pkg-config gstreamer-dev gst-plugins-base-dev bzip2-dev \ 1.16 +coreutils-file-format coreutils-file-special glib-dev orc-dev yasm \ 1.17 +libxml2-dev libffi" 1.18 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.19 -WEB_SITE="http://gstreamer.freedesktop.org/" 1.20 +WEB_SITE="http://gstreamer.freedesktop.org/" 1.21 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL" 1.22 1.23 # Rules to configure and make the package. 1.24 -# Add --with-system-ffmpeg from ./configure for compiling with shared FFmpeg. 1.25 -# need atleast version 18330 for shared ffmpeg 1.26 compile_rules() 1.27 { 1.28 cd $src 1.29 - sed -i 's/pr -. -t/cat/' gst-libs/ext/ffmpeg/configure 1.30 - # fix mktemp -u 1.31 - sed -i 's|mktemp -u|/usr/bin/mktemp -u|g' gst-libs/ext/ffmpeg/configure 1.32 - ./configure --prefix=/usr $CONFIGURE_ARGS && 1.33 + ./configure \ 1.34 + --prefix=/usr \ 1.35 + --disable-static \ 1.36 + --with-ffmpeg-extra-configure="--enable-runtime-cpudetect" \ 1.37 + --with-package-name="GStreamer FFMpeg Plugin ($SERIES)" \ 1.38 + --with-package-origin="http://www.slitaz.org/" \ 1.39 + $CONFIGURE_ARGS && 1.40 make $MAKEFLAGS && 1.41 - make DESTDIR=$PWD/_pkg install 1.42 + make DESTDIR=$install install 1.43 } 1.44 1.45 # Rules to gen a SliTaz package suitable for Tazpkg. 1.46 genpkg_rules() 1.47 { 1.48 - mkdir -p $fs/usr/lib 1.49 - cp -a $_pkg/usr/lib/gstreamer* $fs/usr/lib 1.50 + mkdir -p $fs/usr/lib/gstreamer-$SERIES 1.51 + cp -a $_pkg/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES 1.52 }