From 75156980d94811b9996fadd6db726609bc384a5a Mon Sep 17 00:00:00 2001 From: Thierry N Date: Tue, 11 Aug 2009 21:20:28 +0200 Subject: Ajout de mlt#0.4.2-1 --- extra/mlt/Pkgfile | 25 ++++++++++++++++ extra/mlt/ffmpeg.patch | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 105 insertions(+) create mode 100755 extra/mlt/Pkgfile create mode 100644 extra/mlt/ffmpeg.patch (limited to 'extra') diff --git a/extra/mlt/Pkgfile b/extra/mlt/Pkgfile new file mode 100755 index 000000000..d878e1e02 --- /dev/null +++ b/extra/mlt/Pkgfile @@ -0,0 +1,25 @@ +# Description: Outil pour la diffusion vidéo +# URL: http://www.dennedy.org/mlt/twiki/bin/view/MLT/WebHome +# Packager: NuTyX core team +# Maintainer: thierryn1 at hispeed dot ch +# Depends on: sdl + +name=mlt +version=0.4.2 +release=1 +source=(http://internap.dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz\ + ffmpeg.patch) + +build() { +# patch -Np0 -i ffmpeg.patch + cd $name-$version + ./configure --prefix=/usr \ + --enable-gpl --enable-shared --enable-theora \ + --enable-vorbis --enable-libogg --enable-mp3lame --enable-pp \ + --enable-shared-pp --enable-motion-est --disable-gtk --disable-mmx \ + --mandir=/usr/share/man \ + --avformat-swscale \ + --infodir=/usr/share/info + make + make DESTDIR=$PKG install +} diff --git a/extra/mlt/ffmpeg.patch b/extra/mlt/ffmpeg.patch new file mode 100644 index 000000000..b40419b06 --- /dev/null +++ b/extra/mlt/ffmpeg.patch @@ -0,0 +1,80 @@ +--- mlt-0.3.4/src/modules/avformat/consumer_avformat.c~ 2009-01-31 10:01:39.000000000 +0000 ++++ mlt-0.3.4/src/modules/avformat/consumer_avformat.c 2009-01-31 10:02:25.000000000 +0000 +@@ -34,11 +34,11 @@ + #include + + // avformat header files +-#include ++#include + #ifdef SWSCALE + #include + #endif +-#include ++#include + + // + // This structure should be extended and made globally available in mlt +--- mlt-0.3.4/src/modules/avformat/factory.c~ 2009-01-31 10:08:49.000000000 +0000 ++++ mlt-0.3.4/src/modules/avformat/factory.c 2009-01-31 09:52:21.000000000 +0000 +@@ -32,7 +32,7 @@ + extern mlt_producer producer_avformat_init( mlt_profile profile, char *file ); + + // ffmpeg Header files +-#include ++#include + + // A static flag used to determine if avformat has been initialised + static int avformat_initialised = 0; +--- mlt-0.3.4/src/modules/avformat/filter_avcolour_space.c~ 2009-01-31 09:49:23.000000000 +0000 ++++ mlt-0.3.4/src/modules/avformat/filter_avcolour_space.c 2009-01-31 09:50:19.000000000 +0000 +@@ -22,7 +22,7 @@ + #include + + // ffmpeg Header files +-#include ++#include + #ifdef SWSCALE + #include + #endif +--- mlt-0.3.4/src/modules/avformat/filter_avdeinterlace.c~ 2009-01-31 09:57:29.000000000 +0000 ++++ mlt-0.3.4/src/modules/avformat/filter_avdeinterlace.c 2009-01-31 09:57:50.000000000 +0000 +@@ -25,7 +25,7 @@ + #include + + // ffmpeg Header files +-#include ++#include + + #ifdef USE_MMX + #include "mmx.h" +--- mlt-0.3.4/src/modules/avformat/filter_avresample.c~ 2009-01-31 09:55:11.000000000 +0000 ++++ mlt-0.3.4/src/modules/avformat/filter_avresample.c 2009-01-31 09:56:47.000000000 +0000 +@@ -20,13 +20,13 @@ + + #include + #include +- ++#include + #include + #include + #include + + // ffmpeg Header files +-#include ++#include + + /** Get the audio. + */ +--- mlt-0.3.4/src/modules/avformat/producer_avformat.c~ 2009-01-31 09:58:39.000000000 +0000 ++++ mlt-0.3.4/src/modules/avformat/producer_avformat.c 2009-01-31 10:00:09.000000000 +0000 +@@ -24,8 +24,8 @@ + #include + + // ffmpeg Header files +-#include +-#include ++#include ++#include + #ifdef SWSCALE + # include + #endif -- cgit v1.2.3-70-g09d2