diff options
author | Alexis Ballier <aballier@gentoo.org> | 2015-08-21 14:52:57 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2015-08-21 14:52:57 +0200 |
commit | e5d449792f9b4c68bfef57d552872764f624527e (patch) | |
tree | 7cc764b3eb2351da2992bb1394cd315c93637f19 /media-libs/mlt/files | |
parent | media-libs/mlt: add := dep on lua (diff) | |
download | gentoo-e5d449792f9b4c68bfef57d552872764f624527e.tar.gz gentoo-e5d449792f9b4c68bfef57d552872764f624527e.tar.bz2 gentoo-e5d449792f9b4c68bfef57d552872764f624527e.zip |
media-libs/mlt: remove old.
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'media-libs/mlt/files')
-rw-r--r-- | media-libs/mlt/files/mlt-0.7.2-ruby-link.patch | 18 | ||||
-rw-r--r-- | media-libs/mlt/files/mlt-0.8.2-av_codec_is_encoder.patch | 32 |
2 files changed, 0 insertions, 50 deletions
diff --git a/media-libs/mlt/files/mlt-0.7.2-ruby-link.patch b/media-libs/mlt/files/mlt-0.7.2-ruby-link.patch deleted file mode 100644 index c0427c1a3df0..000000000000 --- a/media-libs/mlt/files/mlt-0.7.2-ruby-link.patch +++ /dev/null @@ -1,18 +0,0 @@ -The build system tries to link to installed system libraries first, which -fails because the ABI has changed... - -diff -ruN mlt-0.7.2.orig/src/swig/ruby/build mlt-0.7.2/src/swig/ruby/build ---- mlt-0.7.2.orig/src/swig/ruby/build 2011-05-02 07:59:12.000000000 +0200 -+++ mlt-0.7.2/src/swig/ruby/build 2011-10-30 16:21:01.000000000 +0100 -@@ -5,8 +5,10 @@ - exit 0 - end - system( "ln -sf ../mlt.i" ) -+system( "ln -sf ../../framework/libmlt.so" ) -+system( "ln -sf ../../mlt++/libmlt++.so" ) - system( "swig -c++ -ruby -I../../mlt++ -I../.. mlt.i" ) - $CFLAGS += " -I../.." --$LDFLAGS += " -L../../mlt++ -lmlt++" -+$LIBS += " -lmlt++ -lmlt -lstdc++" - create_makefile('mlt') - system( "make" ) diff --git a/media-libs/mlt/files/mlt-0.8.2-av_codec_is_encoder.patch b/media-libs/mlt/files/mlt-0.8.2-av_codec_is_encoder.patch deleted file mode 100644 index 3d0ba1ceb2aa..000000000000 --- a/media-libs/mlt/files/mlt-0.8.2-av_codec_is_encoder.patch +++ /dev/null @@ -1,32 +0,0 @@ -AVCodec.encode has been renamed recently is ffmpeg, causing mlt to fail to build. -Starting from libavcodec 54.7 we have av_codec_is_encoder available publicly so -use this instead. - -Index: mlt-0.8.2/src/modules/avformat/consumer_avformat.c -=================================================================== ---- mlt-0.8.2.orig/src/modules/avformat/consumer_avformat.c -+++ mlt-0.8.2/src/modules/avformat/consumer_avformat.c -@@ -238,7 +238,11 @@ static int consumer_start( mlt_consumer - mlt_properties_set_data( doc, "audio_codecs", codecs, 0, NULL, NULL ); - while ( ( codec = av_codec_next( codec ) ) ) - #if LIBAVCODEC_VERSION_INT >= ((54<<16)+(0<<8)+0) -+#if LIBAVCODEC_VERSION_INT >= ((54<<16)+(7<<8)+0) -+ if ( av_codec_is_encoder(codec) && codec->type == CODEC_TYPE_AUDIO ) -+#else - if ( ( codec->encode || codec->encode2 ) && codec->type == CODEC_TYPE_AUDIO ) -+#endif - #else - if ( codec->encode && codec->type == CODEC_TYPE_AUDIO ) - #endif -@@ -262,7 +266,11 @@ static int consumer_start( mlt_consumer - mlt_properties_set_data( doc, "video_codecs", codecs, 0, NULL, NULL ); - while ( ( codec = av_codec_next( codec ) ) ) - #if LIBAVCODEC_VERSION_INT >= ((54<<16)+(0<<8)+0) -+#if LIBAVCODEC_VERSION_INT >= ((54<<16)+(7<<8)+0) -+ if ( av_codec_is_encoder(codec) && codec->type == CODEC_TYPE_VIDEO ) -+#else - if ( (codec->encode || codec->encode2) && codec->type == CODEC_TYPE_VIDEO ) -+#endif - #else - if ( codec->encode && codec->type == CODEC_TYPE_VIDEO ) - #endif |