media-video/ffmpeg: add libaom useflag
authorAlexis Ballier <aballier@gentoo.org>
Tue, 10 Apr 2018 07:50:31 +0000 (09:50 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Tue, 10 Apr 2018 08:04:15 +0000 (10:04 +0200)
Closes: https://bugs.gentoo.org/652824
Package-Manager: Portage-2.3.28, Repoman-2.3.9

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

index 04aee0a0be58716e3940bb8753f254aa90eff1d7..f25f8ea00468f1742cb1fd289c28457592809692 100644 (file)
@@ -92,7 +92,7 @@ FFMPEG_FLAG_MAP=(
 # Same as above but for encoders, i.e. they do something only with USE=encode.
 FFMPEG_ENCODER_FLAG_MAP=(
        amrenc:libvo-amrwbenc mp3:libmp3lame
-       kvazaar:libkvazaar nvenc:nvenc
+       kvazaar:libkvazaar libaom nvenc:nvenc
        openh264:libopenh264 snappy:libsnappy theora:libtheora twolame:libtwolame
        wavpack:libwavpack webp:libwebp x264:libx264 x265:libx265 xvid:libxvid
 )
@@ -210,6 +210,7 @@ RDEPEND="
        )
        jack? ( virtual/jack[${MULTILIB_USEDEP}] )
        jpeg2k? ( >=media-libs/openjpeg-2:2[${MULTILIB_USEDEP}] )
+       libaom? ( media-libs/libaom[${MULTILIB_USEDEP}] )
        libass? ( >=media-libs/libass-0.10.2:=[${MULTILIB_USEDEP}] )
        libcaca? ( >=media-libs/libcaca-0.99_beta18-r1[${MULTILIB_USEDEP}] )
        libdrm? ( x11-libs/libdrm[${MULTILIB_USEDEP}] )
index c502f6b5f878b1726629e4fbc544cff4bac1a079..835207d47b64b6280b088b3db6b7f65431aba254 100644 (file)
@@ -30,6 +30,7 @@
        <flag name="hardcoded-tables">Use pre-calculated tables rather than calculating them on the fly.</flag>
        <flag name="iec61883"> Support for FireWire DV/HDV input device using <pkg>media-libs/libiec61883</pkg>.</flag>
        <flag name="kvazaar">Enables <pkg>media-libs/kvazaar</pkg> based HEVC encoder.</flag>
+       <flag name="libaom">Enables <pkg>media-libs/libaom</pkg> based AV1 codec support.</flag>
        <flag name="libdrm">Enables <pkg>x11-libs/libdrm</pkg> support for better screen grabbing and hardware accelerated codecs.</flag>
        <flag name="libilbc">Enables iLBC de/encoding via <pkg>media-libs/libilbc</pkg>.</flag>
        <flag name="librtmp">Enables Real Time Messaging Protocol using librtmp (<pkg>media-video/rtmpdump</pkg>) in addition to FFmpeg's native implementation.</flag>