From b8f141afeb0e183298fe227672ac9338e0e8e12c Mon Sep 17 00:00:00 2001 From: Ian Whyman Date: Sun, 9 Aug 2015 13:30:22 +0100 Subject: media-video/handbrake: Version Bump to 0.10.2, enable x265, tidyup - Version bump to 0.10.2 - Cleanup of old versions and patches - Enable x265: thanks to Peter Foley for the patch Signed-off-by: Ian Whyman Package-Manager: portage-2.2.20 --- media-video/handbrake/Manifest | 4 +- ...dbrake-0.9.9-add-gmodule-to-gtk-configure.patch | 11 -- ...e-0.9.9-fix-compilation-with-mp4v2-v1.9.1.patch | 73 -------- .../handbrake-0.9.9-remove-faac-dependency.patch | 203 --------------------- .../handbrake-9999-expand-MK_SUBTITLE_PGS.patch | 9 - ...ke-9999-fix-compilation-with-mp4v2-v1.9.1.patch | 75 -------- ...handbrake-9999-fix-missing-x265-link-flag.patch | 13 ++ .../files/handbrake-9999-use-older-libmkv.patch | 14 -- .../files/handbrake-9999-use-unpatched-a52.patch | 26 --- media-video/handbrake/handbrake-0.10.0-r1.ebuild | 148 --------------- media-video/handbrake/handbrake-0.10.1.ebuild | 148 --------------- media-video/handbrake/handbrake-0.10.2.ebuild | 152 +++++++++++++++ media-video/handbrake/handbrake-0.9.9-r1.ebuild | 185 ------------------- media-video/handbrake/handbrake-9999.ebuild | 12 +- media-video/handbrake/metadata.xml | 2 +- 15 files changed, 175 insertions(+), 900 deletions(-) delete mode 100644 media-video/handbrake/files/handbrake-0.9.9-add-gmodule-to-gtk-configure.patch delete mode 100644 media-video/handbrake/files/handbrake-0.9.9-fix-compilation-with-mp4v2-v1.9.1.patch delete mode 100644 media-video/handbrake/files/handbrake-0.9.9-remove-faac-dependency.patch delete mode 100644 media-video/handbrake/files/handbrake-9999-expand-MK_SUBTITLE_PGS.patch delete mode 100644 media-video/handbrake/files/handbrake-9999-fix-compilation-with-mp4v2-v1.9.1.patch create mode 100644 media-video/handbrake/files/handbrake-9999-fix-missing-x265-link-flag.patch delete mode 100644 media-video/handbrake/files/handbrake-9999-use-older-libmkv.patch delete mode 100644 media-video/handbrake/files/handbrake-9999-use-unpatched-a52.patch delete mode 100644 media-video/handbrake/handbrake-0.10.0-r1.ebuild delete mode 100644 media-video/handbrake/handbrake-0.10.1.ebuild create mode 100644 media-video/handbrake/handbrake-0.10.2.ebuild delete mode 100644 media-video/handbrake/handbrake-0.9.9-r1.ebuild (limited to 'media-video') diff --git a/media-video/handbrake/Manifest b/media-video/handbrake/Manifest index 7ada6bbef898..bd42f75a08c1 100644 --- a/media-video/handbrake/Manifest +++ b/media-video/handbrake/Manifest @@ -1,3 +1 @@ -DIST handbrake-0.10.0.tar.bz2 10370718 SHA256 a91042da3cc08454844f7c171ee2fde4f0ed08176407fc0328d5118227ed4114 SHA512 e1793bf11aae384a63bdbb055b7b8998e13053d4519890ef6b6eb73988c5fb88c18e394e6c8f0af92cf7ba62a19ee83d908701a1f376adc2804c31192584d590 WHIRLPOOL 04379fd65000282c7472539aa6621ac668970529c3349f55c1ce5d60a6d96047a3a7e2d5d0d97ec002970769c7b8228ae67ac5623e814c3b2b27192351d8546b -DIST handbrake-0.10.1.tar.bz2 10441776 SHA256 7ea42031fd4d5efd04903a9aae79c952c50fd43b6f7bf08fd1a93f6b358a23f5 SHA512 8e51a8d141749467a51bc781f3f961d507f693d3081b55964c4cb5a04407fd43331739db3a61c290c35c6da51003705e0e8fafe4c2c157c7a25c9c62df49856d WHIRLPOOL a735fcacf9b157cb2959d351d3fdb043c222ec664893fbd249dbebfceebd9951aabf757cd8c1a19c8911504591c22e67b20ae555dcb07d3cff6140f8f58ffdce -DIST handbrake-0.9.9.tar.bz2 9315199 SHA256 a71dd774104cda00cfb51a813550351d638253791f2f419d04a66f3158a835b3 SHA512 c891e78f5fbc62fd46055bf6cd62e631bc181a2a21167dcf3fe18cbc4b57bb36c11d52dcf39b3c923b807160e79fb2b1f3c36d60f3024149206a86e7bd6d5b68 WHIRLPOOL edcb7758ba68e35b70700bbf484ac7794739a14302d205c080ad4fdf3151b460ee54b0c8dfffd68bca2ccb1a7d4379c9bbb7c3a9939c6bd6a06e1be95f09169e +DIST handbrake-0.10.2.tar.bz2 10442635 SHA256 4cc3828393b26a982dbe00febd700c5090d3443c1d45492e0b373e02da73c699 SHA512 7059a88fac1e4810c54880eb4afe58716af7ac81e5b098e34f3a68c19d7c03e51b57e1a196603e2c8d377e94bb3a910d20f1d9ed62d3eab6422031e62730d4a2 WHIRLPOOL cd34833035e3fc866d7a69994717709fd7a808545f6cbaeda1447d6b528010b500f5ef0371b66d4b5c81c958d39d053178595fe32bc6236fdac7003cacd9f7d9 diff --git a/media-video/handbrake/files/handbrake-0.9.9-add-gmodule-to-gtk-configure.patch b/media-video/handbrake/files/handbrake-0.9.9-add-gmodule-to-gtk-configure.patch deleted file mode 100644 index e6f7c44e8517..000000000000 --- a/media-video/handbrake/files/handbrake-0.9.9-add-gmodule-to-gtk-configure.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- HandBrake-0.9.9.orig/gtk/configure.ac 2013-09-01 12:13:06.684612296 +0300 -+++ HandBrake-0.9.9/gtk/configure.ac 2013-09-01 20:09:35.446706059 +0300 -@@ -96,7 +96,7 @@ case $host in - pkg_gudev="gudev-1.0" - ;; - esac -- GHB_PACKAGES="gthread-2.0 gio-2.0 libnotify dbus-glib-1 $pkg_gudev" -+ GHB_PACKAGES="gthread-2.0 gmodule-2.0 gio-2.0 libnotify dbus-glib-1 $pkg_gudev" - mingw_flag=no - ;; - esac diff --git a/media-video/handbrake/files/handbrake-0.9.9-fix-compilation-with-mp4v2-v1.9.1.patch b/media-video/handbrake/files/handbrake-0.9.9-fix-compilation-with-mp4v2-v1.9.1.patch deleted file mode 100644 index c558d4398e07..000000000000 --- a/media-video/handbrake/files/handbrake-0.9.9-fix-compilation-with-mp4v2-v1.9.1.patch +++ /dev/null @@ -1,73 +0,0 @@ -https://github.com/rbrito/pkg-handbrake/blob/master/debian/patches/0005-libhb-Fix-compilation-with-mp4v2-v1.9.1.patch - -From: =?UTF-8?q?Rog=C3=A9rio=20Brito?= -Date: Sun, 22 Apr 2012 05:34:40 -0300 -Subject: libhb: Fix compilation with mp4v2 v1.9.1. -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Forwarded: no -Last-Update: 2012-05-15 -Reviewed-by: Rogério Theodoro de Brito -Signed-off-by: Rogério Theodoro de Brito ---- - libhb/decmetadata.c | 4 ++-- - libhb/muxmp4.c | 8 ++++---- - 2 files changed, 6 insertions(+), 6 deletions(-) - ---- a/libhb/decmetadata.c -+++ b/libhb/decmetadata.c -@@ -13,7 +13,7 @@ - MP4FileHandle input_file; - hb_deep_log( 2, "Got an MP4 input, read the metadata"); - -- input_file = MP4Read( title->path, 0 ); -+ input_file = MP4Read(title->path); - - if( input_file != MP4_INVALID_FILE_HANDLE ) - { -@@ -92,7 +92,7 @@ - } - } - -- MP4Close( input_file ); -+ MP4Close(input_file, 0); - } - } - ---- a/libhb/muxmp4.c -+++ b/libhb/muxmp4.c -@@ -93,13 +93,13 @@ - if (job->largeFileSize) - /* Use 64-bit MP4 file */ - { -- m->file = MP4Create( job->file, MP4_DETAILS_ERROR, MP4_CREATE_64BIT_DATA ); -+ m->file = MP4Create( job->file, MP4_CREATE_64BIT_DATA ); - hb_deep_log( 2, "muxmp4: using 64-bit MP4 formatting."); - } - else - /* Limit MP4s to less than 4 GB */ - { -- m->file = MP4Create( job->file, MP4_DETAILS_ERROR, 0 ); -+ m->file = MP4Create( job->file, 0 ); - } - - if (m->file == MP4_INVALID_FILE_HANDLE) -@@ -1331,14 +1331,14 @@ - MP4TagsFree( tags ); - } - -- MP4Close( m->file ); -+ MP4Close( m->file, 0 ); - - if ( job->mp4_optimize ) - { - hb_log( "muxmp4: optimizing file" ); - char filename[1024]; memset( filename, 0, 1024 ); - snprintf( filename, 1024, "%s.tmp", job->file ); -- MP4Optimize( job->file, filename, MP4_DETAILS_ERROR ); -+ MP4Optimize( job->file, filename ); - remove( job->file ); - rename( filename, job->file ); - } diff --git a/media-video/handbrake/files/handbrake-0.9.9-remove-faac-dependency.patch b/media-video/handbrake/files/handbrake-0.9.9-remove-faac-dependency.patch deleted file mode 100644 index e2726d28dda9..000000000000 --- a/media-video/handbrake/files/handbrake-0.9.9-remove-faac-dependency.patch +++ /dev/null @@ -1,203 +0,0 @@ -Forward ported version of https://github.com/rbrito/pkg-handbrake/blob/master/debian/patches/0010-Remove-FAAC-dependency.patch - -diff -ur a/gtk/src/audiohandler.c b/gtk/src/audiohandler.c ---- a/gtk/src/audiohandler.c 2013-05-05 15:39:27.715401407 +0200 -+++ b/gtk/src/audiohandler.c 2013-05-05 15:42:09.312067074 +0200 -@@ -70,10 +70,7 @@ - if (hb_audio_encoders[ii].encoder == fallback && - !(hb_audio_encoders[ii].muxers & mux)) - { -- if ( mux == HB_MUX_MKV ) -- fallback = HB_ACODEC_LAME; -- else -- fallback = HB_ACODEC_FAAC; -+ fallback = HB_ACODEC_LAME; - break; - } - } -@@ -130,7 +127,7 @@ - return HB_ACODEC_LAME; - - case HB_ACODEC_AAC_PASS: -- return HB_ACODEC_FAAC; -+ return HB_ACODEC_FFAAC; - - case HB_ACODEC_AC3_PASS: - return HB_ACODEC_AC3; -diff -ur a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c ---- a/gtk/src/hb-backend.c 2013-05-05 15:39:27.738734740 +0200 -+++ b/gtk/src/hb-backend.c 2013-05-05 15:43:13.702066676 +0200 -@@ -3767,7 +3767,7 @@ - gint - ghb_get_default_acodec() - { -- return HB_ACODEC_FAAC; -+ return HB_ACODEC_LAME; - } - - static void -@@ -4505,13 +4505,9 @@ - { - codec = HB_ACODEC_AC3; - } -- else if (mux == HB_MUX_MKV) -- { -- codec = HB_ACODEC_LAME; -- } - else - { -- codec = HB_ACODEC_FAAC; -+ codec = HB_ACODEC_LAME; - } - value = ghb_lookup_acodec_value(codec); - ghb_settings_take_value(asettings, "AudioEncoder", value); -@@ -4525,7 +4521,7 @@ - if (codec == HB_ACODEC_VORBIS) - { - a_unsup = "Vorbis"; -- codec = HB_ACODEC_FAAC; -+ codec = HB_ACODEC_LAME; - } - } - if (a_unsup) -diff -ur a/gtk/src/preset_xlat.c b/gtk/src/preset_xlat.c ---- a/gtk/src/preset_xlat.c 2013-05-05 15:39:27.775401407 +0200 -+++ b/gtk/src/preset_xlat.c 2013-05-05 15:43:34.888733211 +0200 -@@ -260,7 +260,6 @@ - - static value_map_t acodec_xlat[] = - { -- {"AAC (faac)", "faac"}, - {"AC3 Passthru", "ac3"}, - {"MP3 (lame)", "lame"}, - {"Vorbis (vorbis)", "vorbis"}, -diff -ur a/gtk/src/presets.c b/gtk/src/presets.c ---- a/gtk/src/presets.c 2013-05-05 15:39:27.778734740 +0200 -+++ b/gtk/src/presets.c 2013-05-05 15:43:59.888733056 +0200 -@@ -2029,8 +2029,6 @@ - - static value_map_t acodec_xlat_compat[] = - { -- {"AAC (CoreAudio)", "faac"}, -- {"HE-AAC (CoreAudio)", "faac"}, - {"AC3 (ffmpeg)", "ac3"}, - {"AC3", "ac3"}, - {"MP3 Passthru", "mp3pass"}, -diff -ur a/libhb/common.c b/libhb/common.c ---- a/libhb/common.c 2013-05-05 15:39:27.788734740 +0200 -+++ b/libhb/common.c 2013-05-05 15:45:02.782066001 +0200 -@@ -126,7 +126,6 @@ - { "AAC (CoreAudio)", "ca_aac", HB_ACODEC_CA_AAC, HB_MUX_MP4|HB_MUX_MKV }, - { "HE-AAC (CoreAudio)", "ca_haac", HB_ACODEC_CA_HAAC, HB_MUX_MP4|HB_MUX_MKV }, - #endif -- { "AAC (faac)", "faac", HB_ACODEC_FAAC, HB_MUX_MP4|HB_MUX_MKV }, - #ifdef USE_FDK_AAC - { "AAC (FDK)", "fdk_aac", HB_ACODEC_FDK_AAC, HB_MUX_MP4|HB_MUX_MKV }, - { "HE-AAC (FDK)", "fdk_haac", HB_ACODEC_FDK_HAAC, HB_MUX_MP4|HB_MUX_MKV }, -diff -ur a/libhb/common.h b/libhb/common.h ---- a/libhb/common.h 2013-05-05 15:39:27.788734740 +0200 -+++ b/libhb/common.h 2013-05-05 15:45:23.358732540 +0200 -@@ -945,7 +945,6 @@ - extern hb_work_object_t hb_decavcodeca; - extern hb_work_object_t hb_decavcodecv; - extern hb_work_object_t hb_declpcm; --extern hb_work_object_t hb_encfaac; - extern hb_work_object_t hb_enclame; - extern hb_work_object_t hb_encvorbis; - extern hb_work_object_t hb_muxer; -diff -ur a/libhb/encfaac.c b/libhb/encfaac.c ---- a/libhb/encfaac.c 2013-05-05 15:39:27.802068073 +0200 -+++ b/libhb/encfaac.c 2013-05-05 15:45:51.798732364 +0200 -@@ -1,3 +1,4 @@ -+#if 0 - /* encfaac.c - - Copyright (c) 2003-2013 HandBrake Team -@@ -287,3 +288,4 @@ - return HB_WORK_OK; - } - -+#endif /* 0 */ -\ No newline at end of file -diff -ur a/libhb/hb.c b/libhb/hb.c ---- a/libhb/hb.c 2013-05-05 15:39:27.805401407 +0200 -+++ b/libhb/hb.c 2013-05-05 15:46:21.548732180 +0200 -@@ -487,7 +487,6 @@ - hb_register( &hb_decavcodeca ); - hb_register( &hb_decavcodecv ); - hb_register( &hb_declpcm ); -- hb_register( &hb_encfaac ); - hb_register( &hb_enclame ); - hb_register( &hb_encvorbis ); - hb_register( &hb_muxer ); -@@ -588,7 +587,6 @@ - hb_register( &hb_decavcodeca ); - hb_register( &hb_decavcodecv ); - hb_register( &hb_declpcm ); -- hb_register( &hb_encfaac ); - hb_register( &hb_enclame ); - hb_register( &hb_encvorbis ); - hb_register( &hb_muxer ); -diff -ur a/libhb/internal.h b/libhb/internal.h ---- a/libhb/internal.h 2013-05-05 15:39:27.805401407 +0200 -+++ b/libhb/internal.h 2013-05-05 15:46:28.215398806 +0200 -@@ -409,7 +409,6 @@ - WORK_DECAVCODEC, - WORK_DECAVCODECV, - WORK_DECLPCM, -- WORK_ENCFAAC, - WORK_ENCLAME, - WORK_ENCVORBIS, - WORK_ENC_CA_AAC, -diff -ur a/libhb/module.defs b/libhb/module.defs ---- a/libhb/module.defs 2013-05-05 15:39:27.808734740 +0200 -+++ b/libhb/module.defs 2013-05-05 15:46:41.458732057 +0200 -@@ -1,4 +1,4 @@ --__deps__ := A52DEC BZIP2 FAAC FFMPEG FONTCONFIG FREETYPE LAME LIBASS LIBDCA \ -+__deps__ := A52DEC BZIP2 FFMPEG FONTCONFIG FREETYPE LAME LIBASS LIBDCA \ - LIBDVDREAD LIBDVDNAV LIBICONV LIBMKV LIBOGG LIBSAMPLERATE LIBTHEORA LIBVORBIS LIBXML2 \ - MP4V2 MPEG2DEC PTHREADW32 X264 ZLIB LIBBLURAY FDKAAC - -@@ -95,7 +95,7 @@ - LIBHB.lib = $(LIBHB.build/)hb.lib - - LIBHB.dll.libs = $(foreach n, \ -- a52 ass avcodec avformat avutil avresample dvdnav dvdread faac \ -+ a52 ass avcodec avformat avutil avresample dvdnav dvdread \ - fontconfig freetype mkv mpeg2 mp3lame mp4v2 \ - ogg samplerate swscale theora vorbis vorbisenc x264 xml2 bluray, \ - $(CONTRIB.build/)lib/lib$(n).a ) -diff -ur a/libhb/muxmkv.c b/libhb/muxmkv.c ---- a/libhb/muxmkv.c 2013-05-05 15:39:27.808734740 +0200 -+++ b/libhb/muxmkv.c 2013-05-05 15:47:03.052065256 +0200 -@@ -256,7 +256,6 @@ - } - track->codecID = MK_ACODEC_FLAC; - break; -- case HB_ACODEC_FAAC: - case HB_ACODEC_FFAAC: - case HB_ACODEC_CA_AAC: - case HB_ACODEC_CA_HAAC: -diff -ur a/libhb/work.c b/libhb/work.c ---- a/libhb/work.c 2013-05-05 15:39:27.818734740 +0200 -+++ b/libhb/work.c 2013-05-05 15:47:14.658731851 +0200 -@@ -135,7 +135,6 @@ - switch (codec) - { - case HB_ACODEC_AC3: return hb_get_work(WORK_ENCAVCODEC_AUDIO); -- case HB_ACODEC_FAAC: return hb_get_work(WORK_ENCFAAC); - case HB_ACODEC_LAME: return hb_get_work(WORK_ENCLAME); - case HB_ACODEC_VORBIS: return hb_get_work(WORK_ENCVORBIS); - case HB_ACODEC_CA_AAC: return hb_get_work(WORK_ENC_CA_AAC); -diff -ur a/test/module.defs b/test/module.defs ---- a/test/module.defs 2013-05-05 15:39:27.975401406 +0200 -+++ b/test/module.defs 2013-05-05 15:47:35.322065057 +0200 -@@ -14,7 +14,7 @@ - TEST.libs = $(LIBHB.a) - - TEST.GCC.l = \ -- a52 ass avcodec avformat avutil avresample dvdnav dvdread faac \ -+ a52 ass avcodec avformat avutil avresample dvdnav dvdread \ - fontconfig freetype fribidi mkv mpeg2 mp3lame mp4v2 ogg \ - samplerate swscale theoraenc theoradec vorbis vorbisenc x264 \ - bluray xml2 bz2 z diff --git a/media-video/handbrake/files/handbrake-9999-expand-MK_SUBTITLE_PGS.patch b/media-video/handbrake/files/handbrake-9999-expand-MK_SUBTITLE_PGS.patch deleted file mode 100644 index 27faeb172ef4..000000000000 --- a/media-video/handbrake/files/handbrake-9999-expand-MK_SUBTITLE_PGS.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- a/trunk/libhb/muxmkv.c -+++ b/trunk/libhb/muxmkv.c -@@ -348,5 +348,5 @@ - track->codecPrivate = NULL; - track->codecPrivateSize = 0; -- track->codecID = MK_SUBTITLE_PGS; -+ track->codecID = "S_HDMV/PGS"; - break; - case SSASUB: \ No newline at end of file diff --git a/media-video/handbrake/files/handbrake-9999-fix-compilation-with-mp4v2-v1.9.1.patch b/media-video/handbrake/files/handbrake-9999-fix-compilation-with-mp4v2-v1.9.1.patch deleted file mode 100644 index daec03f7e4d8..000000000000 --- a/media-video/handbrake/files/handbrake-9999-fix-compilation-with-mp4v2-v1.9.1.patch +++ /dev/null @@ -1,75 +0,0 @@ -https://github.com/rbrito/pkg-handbrake/blob/master/debian/patches/0005-libhb-Fix-compilation-with-mp4v2-v1.9.1.patch - -Forward ported by Tom Wijsman . - -From: =?UTF-8?q?Rog=C3=A9rio=20Brito?= -Date: Sun, 22 Apr 2012 05:34:40 -0300 -Subject: libhb: Fix compilation with mp4v2 v1.9.1. -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Forwarded: no -Last-Update: 2012-05-15 -Reviewed-by: Rogério Theodoro de Brito -Signed-off-by: Rogério Theodoro de Brito ---- - libhb/decmetadata.c | 4 ++-- - libhb/muxmp4.c | 8 ++++---- - 2 files changed, 6 insertions(+), 6 deletions(-) - ---- a/libhb/decmetadata.c -+++ b/libhb/decmetadata.c -@@ -13,7 +13,7 @@ - MP4FileHandle input_file; - hb_deep_log( 2, "Got an MP4 input, read the metadata"); - -- input_file = MP4Read( title->path, 0 ); -+ input_file = MP4Read(title->path); - - if( input_file != MP4_INVALID_FILE_HANDLE ) - { -@@ -92,7 +92,7 @@ - } - } - -- MP4Close( input_file ); -+ MP4Close(input_file, 0); - } - } - ---- a/libhb/muxmp4.c -+++ b/libhb/muxmp4.c -@@ -93,13 +93,13 @@ - if (job->largeFileSize) - /* Use 64-bit MP4 file */ - { -- m->file = MP4Create(m->path, MP4_DETAILS_ERROR, MP4_CREATE_64BIT_DATA); -+ m->file = MP4Create(m->path, MP4_CREATE_64BIT_DATA); - hb_deep_log( 2, "muxmp4: using 64-bit MP4 formatting."); - } - else - /* Limit MP4s to less than 4 GB */ - { -- m->file = MP4Create(m->path, MP4_DETAILS_ERROR, 0); -+ m->file = MP4Create(m->path, 0); - } - - if (m->file == MP4_INVALID_FILE_HANDLE) -@@ -1331,14 +1331,14 @@ - MP4TagsFree( tags ); - } - -- MP4Close( m->file ); -+ MP4Close( m->file, 0 ); - - if ( job->mp4_optimize ) - { - hb_log( "muxmp4: optimizing file" ); - char filename[1024]; memset( filename, 0, 1024 ); - snprintf(filename, 1024, "%s.tmp", m->path); -- MP4Optimize(m->path, filename, MP4_DETAILS_ERROR); -+ MP4Optimize(m->path, filename); - remove(m->path); - rename(filename, m->path); - } diff --git a/media-video/handbrake/files/handbrake-9999-fix-missing-x265-link-flag.patch b/media-video/handbrake/files/handbrake-9999-fix-missing-x265-link-flag.patch new file mode 100644 index 000000000000..276e38b20746 --- /dev/null +++ b/media-video/handbrake/files/handbrake-9999-fix-missing-x265-link-flag.patch @@ -0,0 +1,13 @@ +Written by: Peter Foley +Gentoo Bug: #552792 + +--- test/module.defs.bak 2015-06-21 13:19:40.626249439 -0400 ++++ test/module.defs 2015-06-21 13:19:54.919757726 -0400 +@@ -25,6 +25,7 @@ + + ifeq (1,$(FEATURE.x265)) + TEST.GCC.D += USE_X265 ++ TEST.GCC.l += x265 + endif + + TEST.GCC.l += $(foreach m,$(MODULES.NAMES),$($m.OSL.libs)) diff --git a/media-video/handbrake/files/handbrake-9999-use-older-libmkv.patch b/media-video/handbrake/files/handbrake-9999-use-older-libmkv.patch deleted file mode 100644 index 8c25415a9656..000000000000 --- a/media-video/handbrake/files/handbrake-9999-use-older-libmkv.patch +++ /dev/null @@ -1,14 +0,0 @@ -https://github.com/rbrito/pkg-handbrake/blob/master/debian/patches/0016-use-older-libmkv.patch - ---- a/libhb/muxmkv.c -+++ b/libhb/muxmkv.c -@@ -289,8 +289,7 @@ - { - // For HE-AAC, write outputSamplingFreq too - // samplingFreq is half of outputSamplingFreq -- track->extra.audio.outputSamplingFreq = (float)audio->config.out.samplerate; -- track->extra.audio.samplingFreq = track->extra.audio.outputSamplingFreq / 2.; -+ track->extra.audio.samplingFreq = audio->config.out.samplerate / 2.; - } - else - { \ No newline at end of file diff --git a/media-video/handbrake/files/handbrake-9999-use-unpatched-a52.patch b/media-video/handbrake/files/handbrake-9999-use-unpatched-a52.patch deleted file mode 100644 index a50d22d9d5d9..000000000000 --- a/media-video/handbrake/files/handbrake-9999-use-unpatched-a52.patch +++ /dev/null @@ -1,26 +0,0 @@ -https://github.com/rbrito/pkg-handbrake/blob/master/debian/patches/0014-Use-unpatched-a52.patch - -Author: Reinhard Tartler -Description: Use unpatched a52 - -In upstream liba52, the state field is private. - -Forwarded: no ---- a/libhb/deca52.c -+++ b/libhb/deca52.c -@@ -387,12 +387,15 @@ static hb_buffer_t* Decode(hb_work_objec - pv->channel_layout, - pv->nchannels); - } -+#if 0 -+ // FIXME: debian uses an unpatched liba52 - if (pv->use_mix_levels) - { - hb_audio_resample_set_mix_levels(pv->resample, - (double)pv->state->slev, - (double)pv->state->clev); - } -+#endif - if (hb_audio_resample_update(pv->resample)) - { - hb_log("deca52: hb_audio_resample_update() failed"); \ No newline at end of file diff --git a/media-video/handbrake/handbrake-0.10.0-r1.ebuild b/media-video/handbrake/handbrake-0.10.0-r1.ebuild deleted file mode 100644 index 6e2a245155ec..000000000000 --- a/media-video/handbrake/handbrake-0.10.0-r1.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -PYTHON_COMPAT=( python2_7 ) - -inherit autotools eutils gnome2-utils python-any-r1 - -if [[ ${PV} = *9999* ]]; then - ESVN_REPO_URI="svn://svn.handbrake.fr/HandBrake/trunk" - inherit subversion - KEYWORDS="" -else - SRC_URI="http://handbrake.fr/rotation.php?file=HandBrake-${PV}.tar.bz2 -> ${P}.tar.bz2" - S="${WORKDIR}/HandBrake-${PV}" - KEYWORDS="~amd64 ~x86" -fi - -DESCRIPTION="Open-source, GPL-licensed, multiplatform, multithreaded video transcoder" -HOMEPAGE="http://handbrake.fr/" -LICENSE="GPL-2" - -SLOT="0" -IUSE="+fdk gstreamer gtk libav libav-aac" - -REQUIRED_USE="^^ ( fdk libav-aac )" - -RDEPEND=" - dev-libs/jansson - media-libs/a52dec - media-libs/libass - media-libs/libbluray - media-libs/libdvdnav - media-libs/libdvdread - media-libs/libsamplerate - media-libs/libtheora - media-libs/libvorbis - media-libs/libvpx - media-libs/x264:= - media-sound/lame - sys-libs/zlib - libav? ( >=media-video/libav-10.1:0= ) - !libav? ( >=media-video/ffmpeg-2.3:0= ) - gstreamer? ( - media-libs/gstreamer:1.0 - media-libs/gst-plugins-base:1.0 - media-libs/gst-plugins-good:1.0 - media-libs/gst-plugins-bad:1.0 - media-libs/gst-plugins-ugly:1.0 - media-plugins/gst-plugins-a52dec:1.0 - media-plugins/gst-plugins-libav:1.0 - media-plugins/gst-plugins-x264:1.0 - ) - gtk? ( - >=x11-libs/gtk+-3.10 - dev-libs/dbus-glib - dev-libs/glib:2 - x11-libs/cairo - x11-libs/gdk-pixbuf:2 - x11-libs/libnotify - x11-libs/pango - virtual/libgudev:= - ) - fdk? ( media-libs/fdk-aac ) - " - #x265? ( =media-libs/x265-1.4 ) - -DEPEND="${RDEPEND} - ${PYTHON_DEPS} - dev-lang/yasm - dev-util/intltool - sys-devel/automake" - -pkg_setup() { - python-any-r1_pkg_setup -} - -src_prepare() { - # Get rid of leftover bundled library build definitions, - sed -i 's:.*\(/contrib\|contrib/\).*::g' \ - "${S}"/make/include/main.defs \ - || die "Contrib removal failed." - - # Remove libdvdnav duplication and call it on the original instead. - # It may work this way; if not, we should try to mimic the duplication. - epatch "${FILESDIR}"/${PN}-9999-remove-dvdnav-dup.patch - - # Remove faac dependency; TODO: figure out if we need to do this at all. - epatch "${FILESDIR}"/${PN}-9999-remove-faac-dependency.patch - - cd "${S}/gtk" - # Don't run autogen.sh. - sed -i '/autogen.sh/d' module.rules || die "Removing autogen.sh call failed" - eautoreconf -} - -src_configure() { - ./configure \ - --force \ - --verbose \ - --prefix="${EPREFIX}/usr" \ - --disable-gtk-update-checks \ - $(use_enable libav-aac) \ - $(use_enable fdk fdk-aac) \ - $(use_enable gtk) \ - $(usex !gstreamer --disable-gst) \ - --disable-x265 || die "Configure failed." - # $(use_enable x265) \ -} - -src_compile() { - emake -C build - - # TODO: Documentation building is currently broken, try to fix it. - # - # if use doc ; then - # emake -C build doc - # fi -} - -src_install() { - emake -C build DESTDIR="${D}" install - - dodoc AUTHORS CREDITS NEWS THANKS TRANSLATIONS -} - -pkg_postinst() { - einfo "For the CLI version of HandBrake, you can use \`HandBrakeCLI\`." - - if use gtk ; then - einfo "" - einfo "For the GTK+ version of HandBrake, you can run \`ghb\`." - fi -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} diff --git a/media-video/handbrake/handbrake-0.10.1.ebuild b/media-video/handbrake/handbrake-0.10.1.ebuild deleted file mode 100644 index 6e2a245155ec..000000000000 --- a/media-video/handbrake/handbrake-0.10.1.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -PYTHON_COMPAT=( python2_7 ) - -inherit autotools eutils gnome2-utils python-any-r1 - -if [[ ${PV} = *9999* ]]; then - ESVN_REPO_URI="svn://svn.handbrake.fr/HandBrake/trunk" - inherit subversion - KEYWORDS="" -else - SRC_URI="http://handbrake.fr/rotation.php?file=HandBrake-${PV}.tar.bz2 -> ${P}.tar.bz2" - S="${WORKDIR}/HandBrake-${PV}" - KEYWORDS="~amd64 ~x86" -fi - -DESCRIPTION="Open-source, GPL-licensed, multiplatform, multithreaded video transcoder" -HOMEPAGE="http://handbrake.fr/" -LICENSE="GPL-2" - -SLOT="0" -IUSE="+fdk gstreamer gtk libav libav-aac" - -REQUIRED_USE="^^ ( fdk libav-aac )" - -RDEPEND=" - dev-libs/jansson - media-libs/a52dec - media-libs/libass - media-libs/libbluray - media-libs/libdvdnav - media-libs/libdvdread - media-libs/libsamplerate - media-libs/libtheora - media-libs/libvorbis - media-libs/libvpx - media-libs/x264:= - media-sound/lame - sys-libs/zlib - libav? ( >=media-video/libav-10.1:0= ) - !libav? ( >=media-video/ffmpeg-2.3:0= ) - gstreamer? ( - media-libs/gstreamer:1.0 - media-libs/gst-plugins-base:1.0 - media-libs/gst-plugins-good:1.0 - media-libs/gst-plugins-bad:1.0 - media-libs/gst-plugins-ugly:1.0 - media-plugins/gst-plugins-a52dec:1.0 - media-plugins/gst-plugins-libav:1.0 - media-plugins/gst-plugins-x264:1.0 - ) - gtk? ( - >=x11-libs/gtk+-3.10 - dev-libs/dbus-glib - dev-libs/glib:2 - x11-libs/cairo - x11-libs/gdk-pixbuf:2 - x11-libs/libnotify - x11-libs/pango - virtual/libgudev:= - ) - fdk? ( media-libs/fdk-aac ) - " - #x265? ( =media-libs/x265-1.4 ) - -DEPEND="${RDEPEND} - ${PYTHON_DEPS} - dev-lang/yasm - dev-util/intltool - sys-devel/automake" - -pkg_setup() { - python-any-r1_pkg_setup -} - -src_prepare() { - # Get rid of leftover bundled library build definitions, - sed -i 's:.*\(/contrib\|contrib/\).*::g' \ - "${S}"/make/include/main.defs \ - || die "Contrib removal failed." - - # Remove libdvdnav duplication and call it on the original instead. - # It may work this way; if not, we should try to mimic the duplication. - epatch "${FILESDIR}"/${PN}-9999-remove-dvdnav-dup.patch - - # Remove faac dependency; TODO: figure out if we need to do this at all. - epatch "${FILESDIR}"/${PN}-9999-remove-faac-dependency.patch - - cd "${S}/gtk" - # Don't run autogen.sh. - sed -i '/autogen.sh/d' module.rules || die "Removing autogen.sh call failed" - eautoreconf -} - -src_configure() { - ./configure \ - --force \ - --verbose \ - --prefix="${EPREFIX}/usr" \ - --disable-gtk-update-checks \ - $(use_enable libav-aac) \ - $(use_enable fdk fdk-aac) \ - $(use_enable gtk) \ - $(usex !gstreamer --disable-gst) \ - --disable-x265 || die "Configure failed." - # $(use_enable x265) \ -} - -src_compile() { - emake -C build - - # TODO: Documentation building is currently broken, try to fix it. - # - # if use doc ; then - # emake -C build doc - # fi -} - -src_install() { - emake -C build DESTDIR="${D}" install - - dodoc AUTHORS CREDITS NEWS THANKS TRANSLATIONS -} - -pkg_postinst() { - einfo "For the CLI version of HandBrake, you can use \`HandBrakeCLI\`." - - if use gtk ; then - einfo "" - einfo "For the GTK+ version of HandBrake, you can run \`ghb\`." - fi -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} diff --git a/media-video/handbrake/handbrake-0.10.2.ebuild b/media-video/handbrake/handbrake-0.10.2.ebuild new file mode 100644 index 000000000000..0653b7d16ef5 --- /dev/null +++ b/media-video/handbrake/handbrake-0.10.2.ebuild @@ -0,0 +1,152 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +PYTHON_COMPAT=( python2_7 ) + +inherit autotools eutils gnome2-utils python-any-r1 + +if [[ ${PV} = *9999* ]]; then + ESVN_REPO_URI="svn://svn.handbrake.fr/HandBrake/trunk" + inherit subversion + KEYWORDS="" +else + SRC_URI="http://handbrake.fr/rotation.php?file=HandBrake-${PV}.tar.bz2 -> ${P}.tar.bz2" + S="${WORKDIR}/HandBrake-${PV}" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Open-source, GPL-licensed, multiplatform, multithreaded video transcoder" +HOMEPAGE="http://handbrake.fr/" +LICENSE="GPL-2" + +SLOT="0" +IUSE="+fdk gstreamer gtk libav libav-aac x265" + +REQUIRED_USE="^^ ( fdk libav-aac )" + +RDEPEND=" + dev-libs/jansson + media-libs/a52dec + media-libs/libass + media-libs/libbluray + media-libs/libdvdnav + media-libs/libdvdread + media-libs/libsamplerate + media-libs/libtheora + media-libs/libvorbis + media-libs/libvpx + media-libs/x264:= + media-sound/lame + sys-libs/zlib + libav? ( >=media-video/libav-10.1:0= ) + !libav? ( >=media-video/ffmpeg-2.3:0= ) + gstreamer? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + media-libs/gst-plugins-good:1.0 + media-libs/gst-plugins-bad:1.0 + media-libs/gst-plugins-ugly:1.0 + media-plugins/gst-plugins-a52dec:1.0 + media-plugins/gst-plugins-libav:1.0 + media-plugins/gst-plugins-x264:1.0 + ) + gtk? ( + >=x11-libs/gtk+-3.10 + dev-libs/dbus-glib + dev-libs/glib:2 + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/libnotify + x11-libs/pango + virtual/libgudev:= + ) + fdk? ( media-libs/fdk-aac ) + x265? ( =media-libs/x265-1.7 ) + " + +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + dev-lang/yasm + dev-util/intltool + sys-devel/automake" + +pkg_setup() { + python-any-r1_pkg_setup +} + +src_prepare() { + epatch_user + + # Get rid of leftover bundled library build definitions, + sed -i 's:.*\(/contrib\|contrib/\).*::g' \ + "${S}"/make/include/main.defs \ + || die "Contrib removal failed." + + # Remove libdvdnav duplication and call it on the original instead. + # It may work this way; if not, we should try to mimic the duplication. + epatch "${FILESDIR}"/${PN}-9999-remove-dvdnav-dup.patch + + # Remove faac dependency; TODO: figure out if we need to do this at all. + epatch "${FILESDIR}"/${PN}-9999-remove-faac-dependency.patch + + # Fix missing x265 link flag + epatch "${FILESDIR}"/${PN}-9999-fix-missing-x265-link-flag.patch + + cd "${S}/gtk" + # Don't run autogen.sh. + sed -i '/autogen.sh/d' module.rules || die "Removing autogen.sh call failed" + eautoreconf +} + +src_configure() { + ./configure \ + --force \ + --verbose \ + --prefix="${EPREFIX}/usr" \ + --disable-gtk-update-checks \ + $(use_enable libav-aac) \ + $(use_enable fdk fdk-aac) \ + $(use_enable gtk) \ + $(usex !gstreamer --disable-gst) \ + $(use_enable x265) || die "Configure failed." +} + +src_compile() { + emake -C build + + # TODO: Documentation building is currently broken, try to fix it. + # + # if use doc ; then + # emake -C build doc + # fi +} + +src_install() { + emake -C build DESTDIR="${D}" install + + dodoc AUTHORS CREDITS NEWS THANKS TRANSLATIONS +} + +pkg_postinst() { + einfo "For the CLI version of HandBrake, you can use \`HandBrakeCLI\`." + + if use gtk ; then + einfo "" + einfo "For the GTK+ version of HandBrake, you can run \`ghb\`." + fi +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/media-video/handbrake/handbrake-0.9.9-r1.ebuild b/media-video/handbrake/handbrake-0.9.9-r1.ebuild deleted file mode 100644 index 9a579e8b3bdf..000000000000 --- a/media-video/handbrake/handbrake-0.9.9-r1.ebuild +++ /dev/null @@ -1,185 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -PYTHON_COMPAT=( python2_7 ) - -inherit autotools eutils gnome2-utils python-any-r1 - -if [[ ${PV} = *9999* ]]; then - ESVN_REPO_URI="svn://svn.handbrake.fr/HandBrake/trunk" - inherit subversion - KEYWORDS="" -else - SRC_URI="http://handbrake.fr/rotation.php?file=HandBrake-${PV}.tar.bz2 -> ${P}.tar.bz2" - S="${WORKDIR}/HandBrake-${PV}" - KEYWORDS="~amd64 ~x86" -fi - -DESCRIPTION="Open-source, GPL-licensed, multiplatform, multithreaded video transcoder" -HOMEPAGE="http://handbrake.fr/" -LICENSE="GPL-2" - -SLOT="0" -IUSE="fdk ffmpeg gstreamer gtk" - -# Use either ffmpeg or gst-plugins/mpeg2dec for decoding MPEG-2. -REQUIRED_USE="!ffmpeg? ( gstreamer )" - -RDEPEND=" - media-libs/a52dec - media-libs/libass - media-libs/libbluray - media-libs/libdvdnav - media-libs/libdvdread - media-libs/libmpeg2 - media-libs/libmp4v2:0 - media-libs/libmkv - media-libs/libsamplerate - media-libs/libtheora - media-libs/libvorbis - media-libs/x264:= - media-sound/lame - ffmpeg? ( || ( >=media-video/libav-9 >=media-video/ffmpeg-1.2.1:0 ) ) - sys-libs/zlib - gstreamer? ( - media-libs/gstreamer:1.0 - media-libs/gst-plugins-base:1.0 - media-libs/gst-plugins-good:1.0 - media-libs/gst-plugins-bad:1.0 - media-libs/gst-plugins-ugly:1.0 - media-plugins/gst-plugins-a52dec:1.0 - media-plugins/gst-plugins-libav:1.0 - media-plugins/gst-plugins-x264:1.0 - !ffmpeg? ( media-plugins/gst-plugins-mpeg2dec:1.0 ) - ) - gtk? ( - x11-libs/gtk+:3 - dev-libs/dbus-glib - dev-libs/glib:2 - x11-libs/cairo - x11-libs/gdk-pixbuf:2 - x11-libs/libnotify - x11-libs/pango - virtual/libgudev:= - ) - fdk? ( media-libs/fdk-aac ) - " - -DEPEND="${RDEPEND} - ${PYTHON_DEPS} - dev-lang/yasm - dev-util/intltool - sys-devel/automake" - -pkg_setup() { - python-any-r1_pkg_setup -} - -src_prepare() { - # Get rid of leftover bundled library build definitions, - # the version 0.9.9 supports the use of system libraries. - sed -i 's:.*\(/contrib\|contrib/\).*::g' \ - "${S}"/make/include/main.defs \ - || die "Contrib removal failed." - - # Instead of adding a #define to libmkv, we expand it in place. - epatch "${FILESDIR}"/${PN}-9999-expand-MK_SUBTITLE_PGS.patch - - # Fix compilation against the released 1.9.1 version of mp4v2. - epatch "${FILESDIR}"/${P}-fix-compilation-with-mp4v2-v1.9.1.patch - - # Remove libdvdnav duplication and call it on the original instead. - # It may work this way; if not, we should try to mimic the duplication. - epatch "${FILESDIR}"/${PN}-9999-remove-dvdnav-dup.patch - - # Remove faac dependency until its compilation errors can be resolved. - epatch "${FILESDIR}"/${P}-remove-faac-dependency.patch - sed -i 's/-lfaac//' gtk/configure.ac || die - - # Make use of an older version of libmkv. - epatch "${FILESDIR}"/${PN}-9999-use-older-libmkv.patch - - # Make use of an unpatched version of a52 that does not make a private field public. - epatch "${FILESDIR}"/${PN}-9999-use-unpatched-a52.patch - - # Add gmodule to the linker command line for bug #482674. - epatch "${FILESDIR}"/${P}-add-gmodule-to-gtk-configure.patch - - # Fixup configure.ac with newer automake - cd "${S}/gtk" - sed -i \ - -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:g' \ - -e 's:AM_PROG_CC_STDC:AC_PROG_CC:g' \ - -e 's:am_cv_prog_cc_stdc:ac_cv_prog_cc_stdc:g' \ - configure.ac || die "Fixing up configure.ac failed" - - # Don't run autogen.sh - sed -i '/autogen.sh/d' module.rules || die "Removing autogen.sh call failed" - eautoreconf -} - -src_configure() { - local myconf="" - - if ! use gtk ; then - myconf+=" --disable-gtk" - fi - - if ! use gstreamer ; then - myconf+=" --disable-gst" - fi - - if use ffmpeg ; then - myconf+=" --enable-ff-mpeg2" - fi - - if use fdk ; then - myconf+=" --enable-fdk-aac" - fi - - ./configure \ - --force \ - --prefix="${EPREFIX}/usr" \ - --disable-gtk-update-checks \ - ${myconf} || die "Configure failed." -} - -src_compile() { - emake -C build - - # Documentation building is currently broken. - # - # if use doc ; then - # emake -C build doc - # fi -} - -src_install() { - emake -C build DESTDIR="${D}" install - - dodoc AUTHORS CREDITS NEWS THANKS TRANSLATIONS -} - -pkg_postinst() { - einfo "For the CLI version of HandBrake, you can use \`HandBrakeCLI\`." - - if use gtk ; then - einfo "" - einfo "For the GTK+ version of HandBrake, you can run \`ghb\`." - fi -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} diff --git a/media-video/handbrake/handbrake-9999.ebuild b/media-video/handbrake/handbrake-9999.ebuild index 6e2a245155ec..0653b7d16ef5 100644 --- a/media-video/handbrake/handbrake-9999.ebuild +++ b/media-video/handbrake/handbrake-9999.ebuild @@ -23,7 +23,7 @@ HOMEPAGE="http://handbrake.fr/" LICENSE="GPL-2" SLOT="0" -IUSE="+fdk gstreamer gtk libav libav-aac" +IUSE="+fdk gstreamer gtk libav libav-aac x265" REQUIRED_USE="^^ ( fdk libav-aac )" @@ -64,8 +64,8 @@ RDEPEND=" virtual/libgudev:= ) fdk? ( media-libs/fdk-aac ) + x265? ( =media-libs/x265-1.7 ) " - #x265? ( =media-libs/x265-1.4 ) DEPEND="${RDEPEND} ${PYTHON_DEPS} @@ -78,6 +78,8 @@ pkg_setup() { } src_prepare() { + epatch_user + # Get rid of leftover bundled library build definitions, sed -i 's:.*\(/contrib\|contrib/\).*::g' \ "${S}"/make/include/main.defs \ @@ -90,6 +92,9 @@ src_prepare() { # Remove faac dependency; TODO: figure out if we need to do this at all. epatch "${FILESDIR}"/${PN}-9999-remove-faac-dependency.patch + # Fix missing x265 link flag + epatch "${FILESDIR}"/${PN}-9999-fix-missing-x265-link-flag.patch + cd "${S}/gtk" # Don't run autogen.sh. sed -i '/autogen.sh/d' module.rules || die "Removing autogen.sh call failed" @@ -106,8 +111,7 @@ src_configure() { $(use_enable fdk fdk-aac) \ $(use_enable gtk) \ $(usex !gstreamer --disable-gst) \ - --disable-x265 || die "Configure failed." - # $(use_enable x265) \ + $(use_enable x265) || die "Configure failed." } src_compile() { diff --git a/media-video/handbrake/metadata.xml b/media-video/handbrake/metadata.xml index dd004ba8b99c..8e23f5e07d87 100644 --- a/media-video/handbrake/metadata.xml +++ b/media-video/handbrake/metadata.xml @@ -9,10 +9,10 @@ Open-source, GPL-licensed, multiplatform, multithreaded video transcoder. - Use FFmpeg from media-video/ffmpeg to decode MPEG-2 instead of media-plugins/gst-plugins-mpeg2dec. Support for the streaming media framework from media-libs/gstreamer. Support for Gimp ToolKit + from x11-libs/gtk+, requirement for a GUI-based HandBrake. Support for encoding AAC using media-libs/fdk-aac. Support for encoding AAC using media-libs/libav's internal encoder. + Support for encoding h265 using media-libs/x265. -- cgit v1.2.3-65-gdbad