diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-11 21:20:28 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-11 21:20:28 +0200 |
commit | 75156980d94811b9996fadd6db726609bc384a5a (patch) | |
tree | 65db5ef534a126fa41d02ffaabc74b84164319e6 /extra/mlt | |
parent | 68b284180284ac8c9858a9f8e1c4fa8af2ba2dd5 (diff) | |
download | nutyx-extra-75156980d94811b9996fadd6db726609bc384a5a.tar.gz nutyx-extra-75156980d94811b9996fadd6db726609bc384a5a.tar.bz2 nutyx-extra-75156980d94811b9996fadd6db726609bc384a5a.tar.xz nutyx-extra-75156980d94811b9996fadd6db726609bc384a5a.zip |
Ajout de mlt#0.4.2-1
Diffstat (limited to 'extra/mlt')
-rwxr-xr-x | extra/mlt/Pkgfile | 25 | ||||
-rw-r--r-- | extra/mlt/ffmpeg.patch | 80 |
2 files changed, 105 insertions, 0 deletions
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 <unistd.h> + + // avformat header files +-#include <avformat.h> ++#include <libavformat/avformat.h> + #ifdef SWSCALE + #include <swscale.h> + #endif +-#include <opt.h> ++#include <libavcodec/opt.h> + + // + // 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 <avformat.h> ++#include <libavformat/avformat.h> + + // 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 <framework/mlt_frame.h> + + // ffmpeg Header files +-#include <avformat.h> ++#include <libavformat/avformat.h> + #ifdef SWSCALE + #include <swscale.h> + #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 <stdlib.h> + + // ffmpeg Header files +-#include <avformat.h> ++#include <libavformat/avformat.h> + + #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 <framework/mlt_filter.h> + #include <framework/mlt_frame.h> +- ++#include <libavcodec/avcodec.h> + #include <stdio.h> + #include <stdlib.h> + #include <string.h> + + // ffmpeg Header files +-#include <avformat.h> ++#include <libavformat/avformat.h> + + /** 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 <framework/mlt_frame.h> + + // ffmpeg Header files +-#include <avformat.h> +-#include <opt.h> ++#include <libavformat/avformat.h> ++#include <libavcodec/opt.h> + #ifdef SWSCALE + # include <swscale.h> + #endif |