Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=ryuotesting8.git;a=commitdiff;h=15f0d5c132c554794fdc2d5b13bd1e09b25a675f
commit 15f0d5c132c554794fdc2d5b13bd1e09b25a675f Author: James Buren <[email protected]> Date: Tue Oct 30 05:04:18 2012 -0500 mlt-0.8.2-3-x86_64 * rebuild against ffmpeg diff --git a/source/xmultimedia-extra/mlt/FrugalBuild b/source/xmultimedia-extra/mlt/FrugalBuild index a77b172..cc01b5e 100644 --- a/source/xmultimedia-extra/mlt/FrugalBuild +++ b/source/xmultimedia-extra/mlt/FrugalBuild @@ -4,7 +4,7 @@ pkgname=mlt pkgver=0.8.2 -pkgrel=2 +pkgrel=3 pkgdesc="MLT is an open source multimedia framework, designed and developed for television broadcasting." depends=('libsamplerate' 'alsa-lib' 'libdv' 'libxcb' 'ffmpeg>=0.11.1' 'libmad' 'libdv' 'libvorbis' 'lame' 'libogg' 'frei0r-plugins' 'sox>=14.3.2') makedepends=('qt4' 'gtk+2>=2.20.1' 'freetype2>=2.3.4' 'jack>=0.118.0' 'libxml2>=2.7.8' 'sdlimage' 'libquicktime>=1.1.5' 'zlib' 'ladspa_sdk' 'swig') @@ -13,7 +13,9 @@ groups=('xmultimedia-extra') archs=('i686' 'x86_64') options=('scriptlet' 'force') Finclude sourceforge python -sha1sums=('0bff1f13baaa8431de6969de62a827d45a9c178a') +source=(${source[@]} ffmpeg.patch) +sha1sums=('0bff1f13baaa8431de6969de62a827d45a9c178a' \ + '20843ddaf01d37e20a011e12ff8f95da76b8dddb') subpkgs=("$pkgname-lumas" "$pkgname-qimage" "$pkgname-gtk2" \ "$pkgname-sdl" "$pkgname-jack" "$pkgname-kino" \ diff --git a/source/xmultimedia-extra/mlt/ffmpeg.patch b/source/xmultimedia-extra/mlt/ffmpeg.patch new file mode 100644 index 0000000..160fae6 --- /dev/null +++ b/source/xmultimedia-extra/mlt/ffmpeg.patch @@ -0,0 +1,27 @@ +diff -ur a/src/modules/avformat/consumer_avformat.c b/src/modules/avformat/consumer_avformat.c +--- a/src/modules/avformat/consumer_avformat.c 2012-10-30 04:53:45.958351499 -0500 ++++ b/src/modules/avformat/consumer_avformat.c 2012-10-30 05:02:34.059717108 -0500 +@@ -238,9 +238,9 @@ + 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 ( ( codec->encode || codec->encode2 ) && codec->type == CODEC_TYPE_AUDIO ) ++ if ( codec->encode2 && codec->type == CODEC_TYPE_AUDIO ) + #else +- if ( codec->encode && codec->type == CODEC_TYPE_AUDIO ) ++ if ( codec->type == CODEC_TYPE_AUDIO ) + #endif + { + snprintf( key, sizeof(key), "%d", mlt_properties_count( codecs ) ); +@@ -262,9 +262,9 @@ + 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 ( (codec->encode || codec->encode2) && codec->type == CODEC_TYPE_VIDEO ) ++ if ( codec->encode2 && codec->type == CODEC_TYPE_VIDEO ) + #else +- if ( codec->encode && codec->type == CODEC_TYPE_VIDEO ) ++ if ( codec->type == CODEC_TYPE_VIDEO ) + #endif + { + snprintf( key, sizeof(key), "%d", mlt_properties_count( codecs ) ); _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
