diff options
author | Alexis Ballier <aballier@gentoo.org> | 2009-10-26 11:16:39 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2009-10-26 11:16:39 +0000 |
commit | 33cd35fa1cbdbc255c0c950534c7e8f7a0352e61 (patch) | |
tree | ee26621b9ff37699527100c161f76bf091f67645 /media-libs | |
parent | x11-proto/xextproto: sync with overlay, define DEPEND (diff) | |
download | historical-33cd35fa1cbdbc255c0c950534c7e8f7a0352e61.tar.gz historical-33cd35fa1cbdbc255c0c950534c7e8f7a0352e61.tar.bz2 historical-33cd35fa1cbdbc255c0c950534c7e8f7a0352e61.zip |
Add a fix for latest x264 versions.
Package-Manager: portage-2.2_rc46/cvs/Linux x86_64
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/libquicktime/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/libquicktime/Manifest | 15 | ||||
-rw-r--r-- | media-libs/libquicktime/files/libquicktime-1.1.3-x264.patch | 283 | ||||
-rw-r--r-- | media-libs/libquicktime/libquicktime-1.1.3.ebuild | 3 |
4 files changed, 303 insertions, 4 deletions
diff --git a/media-libs/libquicktime/ChangeLog b/media-libs/libquicktime/ChangeLog index 2d114fab7e9c..82da4e3c62f9 100644 --- a/media-libs/libquicktime/ChangeLog +++ b/media-libs/libquicktime/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/libquicktime # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/ChangeLog,v 1.143 2009/10/24 11:42:24 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/ChangeLog,v 1.144 2009/10/26 11:16:38 aballier Exp $ + + 26 Oct 2009; Alexis Ballier <aballier@gentoo.org> + libquicktime-1.1.3.ebuild, +files/libquicktime-1.1.3-x264.patch: + Add a fix for latest x264 versions. 24 Oct 2009; nixnut <nixnut@gentoo.org> libquicktime-1.1.3.ebuild: ppc stable #283815 diff --git a/media-libs/libquicktime/Manifest b/media-libs/libquicktime/Manifest index 55d3d1feb444..07a9b61f63a5 100644 --- a/media-libs/libquicktime/Manifest +++ b/media-libs/libquicktime/Manifest @@ -1,10 +1,21 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX libquicktime-1.1.1-headers.patch 387 RMD160 7d3049bdd702170d7f8e1c85a7eecd641196bda3 SHA1 d76db33bde88b6e43dc4df229de0e31188d7d414 SHA256 6f34279fd585f76bbf9ab0e9c811235d3f435cd1e26399f3f671405efeb3bbea AUX libquicktime-1.1.1-libavutil50.patch 2505 RMD160 fedb6dee50339187ab33eeb19861d286de4d16f6 SHA1 048bfc4a5ee81acbbdd0105924514a9439ace7f5 SHA256 e3db43ff7e0fbf30d3d7b3d51183f84ab472b4dfa3cb55e0ad52136061dff4f9 +AUX libquicktime-1.1.3-x264.patch 7178 RMD160 b336ca00b7bb6fb70046ada931ae7b81f3e3f1d8 SHA1 6097ecab3cda2de4ef4ea2ae9a5438be65b4f996 SHA256 b97d4e23b9ffb476f5fa24b4ee2782d0969b747821f5aa746361811e58a70079 DIST libquicktime-1.1.1.tar.gz 1009816 RMD160 d028b7c61d218de89103d322519421607e88cd70 SHA1 13666f7b82d8045a03e925966cf8098674814041 SHA256 90efa1a836133680669cac743b726608720ad8f3aadcdb71ff1e29e510bd0d13 DIST libquicktime-1.1.2.tar.gz 983959 RMD160 5a499b7ce8ea73591987243299b694a72d95b584 SHA1 927a70c58eb5c1bcd694ddd39d495f9d967d472f SHA256 f83bfa705ae72e83fc13b95265c226bf430b5a2a350c166a6625851da20b16ff DIST libquicktime-1.1.3.tar.gz 983330 RMD160 fee766a47f055b75d2406441c67fc491568a1757 SHA1 cd991e5d5fa8690fe22db27e169a9258d3664bfc SHA256 0d91904d6920cde25019638d1c240512c72a80032aa6b241973467a8fdfe08dd EBUILD libquicktime-1.1.1.ebuild 2835 RMD160 cd57218ea43265ece07c064b85ae952da627eee6 SHA1 683c71f3dacd455c5e2573cf0c24e636aef93856 SHA256 c8d0bbeb862f34ce12b85aa362d5abf228cc50b6ea78452d29c9882c6250ea98 EBUILD libquicktime-1.1.2.ebuild 2850 RMD160 35eef0969ce5310b69db106c2f6872579dae5a33 SHA1 0fa886c6e1d0e480b102b081d7ac228015504e5f SHA256 d5f4c4cffc83f9f217961b48d80cedfb5a7c90cd6069f9c53ab7ae45389f421f -EBUILD libquicktime-1.1.3.ebuild 2841 RMD160 7903179b6990eb7c2c9c0b6db7e5a0b4972e067d SHA1 e9975751c06bdd884531bc1dcc96ad3d546093e9 SHA256 9a109167c6a51883f86f07edd7c085618929a0a5d28ec12fb927b2ee6dbb73dc -MISC ChangeLog 21927 RMD160 f86c8283c25d16b435b0697089ae50141fcee162 SHA1 2fa0ed10bcf9d1af5be1ba2f93921e3e7e2886b2 SHA256 838b20d726bfdce225ad70d1c0e43d370f3214ba2c113b7d17cb673df45db437 +EBUILD libquicktime-1.1.3.ebuild 2881 RMD160 f64b968e7c5295aaa226b0bfc872d8938fcea057 SHA1 10228dac8c53a284f3c563b503ea67a73a5076a5 SHA256 e9ad81d2adb96a502d33c7c1caea61b046ac060570c94e7320d93b2b150795f4 +MISC ChangeLog 22087 RMD160 2a40c6bc8e45b4179dc75f7e6c3db62229546de0 SHA1 bb461e1c9a27a0be9bc489ac2121b5c00959433a SHA256 0b6392445811fd2f122b1159d5fdffa53cda71644936dca9e1875f900df71f72 MISC metadata.xml 365 RMD160 3b9ef1a47d2f85224d5cdb61594ea7a99523df8b SHA1 89432e8cbc4ea43cfef9faa722fdd54ba2d4e10f SHA256 2963a8d151be35ab849e2265204e548a11e9176dd3275158905784702910906f +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.13 (GNU/Linux) + +iEYEARECAAYFAkrlhRwACgkQvFcC4BYPU0omMwCfSvuvB9AP7YnD94DfglWc7LuA +fmgAn3xYq5EETvP9fOO7C/AJ4k7gAIyR +=Ruez +-----END PGP SIGNATURE----- diff --git a/media-libs/libquicktime/files/libquicktime-1.1.3-x264.patch b/media-libs/libquicktime/files/libquicktime-1.1.3-x264.patch new file mode 100644 index 000000000000..f8dbb4d1d79c --- /dev/null +++ b/media-libs/libquicktime/files/libquicktime-1.1.3-x264.patch @@ -0,0 +1,283 @@ +? libquicktime.spec +? m4/libtool.m4 +? m4/ltoptions.m4 +? m4/ltsugar.m4 +? m4/ltversion.m4 +? m4/lt~obsolete.m4 +? plugins/audiocodec/.libs +? plugins/audiocodec/ima4.lo +? plugins/audiocodec/lqt_audiocodec.la +? plugins/audiocodec/lqt_audiocodec.lo +? plugins/audiocodec/pcm.lo +? plugins/faac/.libs +? plugins/faac/faac.lo +? plugins/faac/lqt_faac.la +? plugins/faac/lqt_faac.lo +? plugins/faad2/.libs +? plugins/faad2/faad2.lo +? plugins/faad2/lqt_faad2.la +? plugins/faad2/lqt_faad2.lo +? plugins/ffmpeg/.libs +? plugins/ffmpeg/audio.lo +? plugins/ffmpeg/lqt_ffmpeg.la +? plugins/ffmpeg/lqt_ffmpeg.lo +? plugins/ffmpeg/params.lo +? plugins/ffmpeg/video.lo +? plugins/lame/.libs +? plugins/lame/lame_codec.lo +? plugins/lame/lqt_lame.la +? plugins/lame/lqt_lame.lo +? plugins/mjpeg/.libs +? plugins/mjpeg/jpeg.lo +? plugins/mjpeg/libmjpeg.lo +? plugins/mjpeg/lqt_mjpeg.la +? plugins/mjpeg/lqt_mjpeg.lo +? plugins/png/.libs +? plugins/png/lqt_png.la +? plugins/png/lqt_png.lo +? plugins/png/qtpng.lo +? plugins/rtjpeg/.libs +? plugins/rtjpeg/RTjpeg.lo +? plugins/rtjpeg/lqt_rtjpeg.la +? plugins/rtjpeg/lqt_rtjpeg.lo +? plugins/rtjpeg/rtjpeg_codec.lo +? plugins/schroedinger/.libs +? plugins/schroedinger/lqt_schroedinger.la +? plugins/schroedinger/lqt_schroedinger.lo +? plugins/schroedinger/schroedinger.lo +? plugins/schroedinger/schroedinger_decode.lo +? plugins/schroedinger/schroedinger_encode.lo +? plugins/videocodec/.libs +? plugins/videocodec/lqt_videocodec.la +? plugins/videocodec/lqt_videocodec.lo +? plugins/videocodec/raw.lo +? plugins/videocodec/v210.lo +? plugins/videocodec/v308.lo +? plugins/videocodec/v408.lo +? plugins/videocodec/v410.lo +? plugins/videocodec/videocodec.lo +? plugins/videocodec/yuv2.lo +? plugins/videocodec/yuv4.lo +? plugins/videocodec/yv12.lo +? plugins/vorbis/.libs +? plugins/vorbis/lqt_vorbis.la +? plugins/vorbis/lqt_vorbis.lo +? plugins/vorbis/vorbis.lo +? plugins/x264/.libs +? plugins/x264/lqt_x264.la +? plugins/x264/lqt_x264.lo +? plugins/x264/x264.lo +? src/.libs +? src/atom.lo +? src/audio.lo +? src/avi_avih.lo +? src/avi_guid.lo +? src/avi_hdrl.lo +? src/avi_idx1.lo +? src/avi_indx.lo +? src/avi_info.lo +? src/avi_ix.lo +? src/avi_movi.lo +? src/avi_odml.lo +? src/avi_riff.lo +? src/avi_strf.lo +? src/avi_strh.lo +? src/avi_strl.lo +? src/chan.lo +? src/charset.lo +? src/clap.lo +? src/cmodel_default.lo +? src/cmodel_yuv420p.lo +? src/cmodel_yuv422.lo +? src/colormodels.lo +? src/colr.lo +? src/ctab.lo +? src/ctts.lo +? src/dinf.lo +? src/dref.lo +? src/edts.lo +? src/elst.lo +? src/enda.lo +? src/esds.lo +? src/fiel.lo +? src/frma.lo +? src/ftab.lo +? src/ftyp.lo +? src/gama.lo +? src/gmhd.lo +? src/gmhd_text.lo +? src/gmin.lo +? src/hdlr.lo +? src/imgp.lo +? src/impn.lo +? src/iods.lo +? src/language.lo +? src/libquicktime.la +? src/log.lo +? src/lqt_bufalloc.lo +? src/lqt_codecfile.lo +? src/lqt_codecinfo.lo +? src/lqt_codecs.lo +? src/lqt_color.lo +? src/lqt_divx.lo +? src/lqt_qtvr.lo +? src/lqt_quicktime.lo +? src/matrix.lo +? src/mdat.lo +? src/mdhd.lo +? src/mdia.lo +? src/minf.lo +? src/moov.lo +? src/multichannel.lo +? src/mvhd.lo +? src/navg.lo +? src/ndhd.lo +? src/nloc.lo +? src/nmhd.lo +? src/obji.lo +? src/pHdr.lo +? src/pano.lo +? src/pasp.lo +? src/pdat.lo +? src/qtatom.lo +? src/qtvr.lo +? src/smhd.lo +? src/stbl.lo +? src/stco.lo +? src/stsc.lo +? src/stsd.lo +? src/stsdtable.lo +? src/stss.lo +? src/stsz.lo +? src/stts.lo +? src/tcmi.lo +? src/texttrack.lo +? src/timecode.lo +? src/tkhd.lo +? src/tmcd.lo +? src/trak.lo +? src/translation.lo +? src/tref.lo +? src/udta.lo +? src/useratoms.lo +? src/util.lo +? src/vmhd.lo +? src/vrni.lo +? src/vrnp.lo +? src/vrsc.lo +? src/wave.lo +? src/workarounds.lo +? utils/.libs +? utils/dump_codecs +? utils/gen_colorspace_tables +? utils/lqt_transcode +? utils/lqtplay +? utils/qt2text +? utils/qtdechunk +? utils/qtdump +? utils/qtinfo +? utils/qtrechunk +? utils/qtstreamize +? utils/qtyuv4toyuv +? utils/test_codec +? utils/testqt +? utils/gtk/.libs +? utils/gtk/libquicktime_config +Index: plugins/x264/lqt_x264.c +=================================================================== +RCS file: /cvsroot/libquicktime/libquicktime/plugins/x264/lqt_x264.c,v +retrieving revision 1.13 +diff -u -B -r1.13 lqt_x264.c +--- plugins/x264/lqt_x264.c 6 Dec 2008 14:03:10 -0000 1.13 ++++ plugins/x264/lqt_x264.c 26 Oct 2009 11:02:55 -0000 +@@ -94,6 +94,17 @@ + .val_max = { .val_int = 100 }, + .help_string = TRS("Influences how often B-frames are used"), + }, ++#if X264_BUILD >= 78 ++ { ++ .name = "x264_i_bframe_pyramid", ++ .real_name = TRS("B-frame pyramid"), ++ .type = LQT_PARAMETER_INT, ++ .val_default = { .val_int = 0 }, ++ .val_min = { .val_int = 0 }, ++ .val_max = { .val_int = 2 }, ++ .help_string = TRS("Keep some B-frames as references") ++ }, ++#else + { + .name = "x264_b_bframe_pyramid", + .real_name = TRS("B-frame pyramid"), +@@ -103,6 +114,7 @@ + .val_max = { .val_int = 1 }, + .help_string = TRS("Keep some B-frames as references") + }, ++#endif + { + .name = "x264_ratecontrol", + .real_name = TRS("Ratecontrol"), +Index: plugins/x264/x264.c +=================================================================== +RCS file: /cvsroot/libquicktime/libquicktime/plugins/x264/x264.c,v +retrieving revision 1.30 +diff -u -B -r1.30 x264.c +--- plugins/x264/x264.c 11 Mar 2009 14:25:50 -0000 1.30 ++++ plugins/x264/x264.c 26 Oct 2009 11:02:55 -0000 +@@ -67,7 +67,11 @@ + lqt_dump(" i_bframe: %d\n", params->i_bframe); // 0.. X264_BFRAME_MAX + lqt_dump(" b_bframe_adaptive: %d\n", params->b_bframe_adaptive); + lqt_dump(" i_bframe_bias: %d\n", params->i_bframe_bias); ++#if X264_BUILD >= 78 ++ lqt_dump(" i_bframe_pyramid: %d\n", params->i_bframe_pyramid); ++#else + lqt_dump(" b_bframe_pyramid: %d\n", params->b_bframe_pyramid); ++#endif + + lqt_dump(" b_deblocking_filter: %d\n", params->b_deblocking_filter); + lqt_dump(" i_deblocking_filter_alphac0: %d\n", params->i_deblocking_filter_alphac0); // -6..6 +@@ -174,14 +178,21 @@ + { + uint8_t *p = buf; + int i; ++#if X264_BUILD < 76 + int s; ++#endif + + for(i = 0; i < nnal; i++) + { ++#if X264_BUILD >= 76 ++ memcpy(p, nals[i].p_payload, nals[i].i_payload); ++ p+=nals[i].i_payload; ++#else + s = x264_nal_encode(p, &size, 1, nals + i); + if(s < 0) + return -1; + p += s; ++#endif + } + + return p - buf; +@@ -407,7 +417,11 @@ + + pic_out.i_pts = 0; + /* Encode frames, get nals */ ++#if X264_BUILD >= 76 ++ if(x264_encoder_encode(codec->enc, &nal, &nnal, pic_in, &pic_out)<0) ++#else + if(x264_encoder_encode(codec->enc, &nal, &nnal, pic_in, &pic_out)) ++#endif + return 0; + + /* Encode nals -> get h264 stream */ +@@ -782,7 +796,11 @@ + ENUMPARAM("x264_i_bframe_adaptive", codec->params.i_bframe_adaptive, bframe_adaptives); + #endif + INTPARAM("x264_i_bframe_bias", codec->params.i_bframe_bias); ++#if X264_BUILD >= 78 ++ INTPARAM("x264_i_bframe_pyramid", codec->params.i_bframe_pyramid); ++#else + INTPARAM("x264_b_bframe_pyramid", codec->params.b_bframe_pyramid); ++#endif + + ENUMPARAM("x264_i_rc_method", codec->params.rc.i_rc_method, rc_methods); + INTPARAM("x264_i_bitrate", codec->params.rc.i_bitrate); diff --git a/media-libs/libquicktime/libquicktime-1.1.3.ebuild b/media-libs/libquicktime/libquicktime-1.1.3.ebuild index 14b37091782a..9b22dfbbade9 100644 --- a/media-libs/libquicktime/libquicktime-1.1.3.ebuild +++ b/media-libs/libquicktime/libquicktime-1.1.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/libquicktime-1.1.3.ebuild,v 1.6 2009/10/24 11:42:24 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/libquicktime-1.1.3.ebuild,v 1.7 2009/10/26 11:16:38 aballier Exp $ inherit libtool eutils @@ -49,6 +49,7 @@ PROVIDE="virtual/quicktime" src_unpack() { unpack ${A} cd "${S}" + epatch "${FILESDIR}/${P}-x264.patch" # Needed for sane .so versionning on g/fbsd elibtoolize |