media-video/ffmpeg: Add openh264 support in live ebuild. Bug #555114.
authorAlexis Ballier <aballier@gentoo.org>
Fri, 16 Oct 2015 11:15:16 +0000 (13:15 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Fri, 16 Oct 2015 11:15:35 +0000 (13:15 +0200)
Package-Manager: portage-2.2.23

media-video/ffmpeg/ffmpeg-9999.ebuild
media-video/ffmpeg/metadata.xml

index 9808186cdc9af32be4199388ef6639d46e2f8ed3..ebc82a42d665dfbc0199df08c64cae2420591938 100644 (file)
@@ -90,9 +90,9 @@ FFMPEG_FLAG_MAP=(
 # Same as above but for encoders, i.e. they do something only with USE=encode.
 FFMPEG_ENCODER_FLAG_MAP=(
        aac:libvo-aacenc amrenc:libvo-amrwbenc mp3:libmp3lame
-       aacplus:libaacplus faac:libfaac snappy:libsnappy theora:libtheora
-       twolame:libtwolame wavpack:libwavpack webp:libwebp x264:libx264 x265:libx265
-       xvid:libxvid
+       aacplus:libaacplus faac:libfaac openh264:libopenh264 snappy:libsnappy
+       theora:libtheora twolame:libtwolame wavpack:libwavpack webp:libwebp
+       x264:libx264 x265:libx265 xvid:libxvid
 )
 
 IUSE="
@@ -165,6 +165,7 @@ RDEPEND="
                amrenc? ( >=media-libs/vo-amrwbenc-0.1.2-r1[${MULTILIB_USEDEP}] )
                faac? ( >=media-libs/faac-1.28-r3[${MULTILIB_USEDEP}] )
                mp3? ( >=media-sound/lame-3.99.5-r1[${MULTILIB_USEDEP}] )
+               openh264? ( >=media-libs/openh264-1.4.0-r1[${MULTILIB_USEDEP}] )
                snappy? ( >=app-arch/snappy-1.1.2-r1[${MULTILIB_USEDEP}] )
                theora? (
                        >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}]
index ab2aef51409c3c153b9fa8aa95a9cda8b14e9e8b..a987be4387e6c534da07586ac5e599cae9876830 100644 (file)
@@ -34,6 +34,7 @@
        <flag name="mipsdspr2">Enables MIPS DSP ASE R2 optimizations.</flag>
        <flag name="mipsfpu">Enables floating point MIPS optimizations.</flag>
        <flag name="network">Enables network streaming support</flag>
+       <flag name="openh264">Enables H.264 encoding suppoprt via <pkg>media-libs/openh264</pkg>.</flag>
        <flag name="openssl">Enables <pkg>dev-libs/openssl</pkg> support. Adds support for encrypted network protocols (TLS/HTTPS).</flag>
        <flag name="opus">Adds (decoding) support for the Opus codec via <pkg>media-libs/opus</pkg>.</flag>
        <flag name="pic">Force shared libraries to be built as PIC (this is slower)</flag>