commit:     f11e7b695320255d66fdbb15b4a6549393abd3b3
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  1 15:36:15 2019 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Mon Apr  1 15:36:41 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f11e7b69

media-video/ffmpeg: add dav1d useflag

Closes: https://bugs.gentoo.org/679684
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>

 media-video/ffmpeg/ffmpeg-9999.ebuild | 5 +++--
 media-video/ffmpeg/metadata.xml       | 1 +
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/media-video/ffmpeg/ffmpeg-9999.ebuild 
b/media-video/ffmpeg/ffmpeg-9999.ebuild
index eb65f2b0618..7c83f6a4c05 100644
--- a/media-video/ffmpeg/ffmpeg-9999.ebuild
+++ b/media-video/ffmpeg/ffmpeg-9999.ebuild
@@ -73,7 +73,7 @@ FFMPEG_FLAG_MAP=(
                # indevs
                libv4l:libv4l2 pulseaudio:libpulse libdrm jack:libjack
                # decoders
-               amr:libopencore-amrwb amr:libopencore-amrnb codec2:libcodec2 
fdk:libfdk-aac
+               amr:libopencore-amrwb amr:libopencore-amrnb codec2:libcodec2 
dav1d:libdav1d fdk:libfdk-aac
                jpeg2k:libopenjpeg bluray:libbluray gme:libgme gsm:libgsm
                mmal modplug:libmodplug opus:libopus libilbc librtmp ssh:libssh
                speex:libspeex srt:libsrt svg:librsvg 
video_cards_nvidia:ffnvcodec
@@ -170,6 +170,7 @@ RDEPEND="
        cdio? ( >=dev-libs/libcdio-paranoia-0.90_p1-r1[${MULTILIB_USEDEP}] )
        chromaprint? ( >=media-libs/chromaprint-1.2-r1[${MULTILIB_USEDEP}] )
        codec2? ( media-libs/codec2[${MULTILIB_USEDEP}] )
+       dav1d? ( >=media-libs/dav1d-0.2.1:0=[${MULTILIB_USEDEP}] )
        encode? (
                amrenc? ( >=media-libs/vo-amrwbenc-0.1.2-r1[${MULTILIB_USEDEP}] 
)
                kvazaar? ( >=media-libs/kvazaar-1.2.0[${MULTILIB_USEDEP}] )
@@ -213,6 +214,7 @@ RDEPEND="
        libcaca? ( >=media-libs/libcaca-0.99_beta18-r1[${MULTILIB_USEDEP}] )
        libdrm? ( x11-libs/libdrm[${MULTILIB_USEDEP}] )
        libilbc? ( >=media-libs/libilbc-2[${MULTILIB_USEDEP}] )
+       librtmp? ( >=media-video/rtmpdump-2.4_p20131018[${MULTILIB_USEDEP}] )
        libsoxr? ( >=media-libs/soxr-0.1.0[${MULTILIB_USEDEP}] )
        libv4l? ( >=media-libs/libv4l-0.9.5[${MULTILIB_USEDEP}] )
        libxml2? ( dev-libs/libxml2:=[${MULTILIB_USEDEP}] )
@@ -225,7 +227,6 @@ RDEPEND="
        opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] )
        opus? ( >=media-libs/opus-1.0.2-r2[${MULTILIB_USEDEP}] )
        pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )
-       librtmp? ( >=media-video/rtmpdump-2.4_p20131018[${MULTILIB_USEDEP}] )
        rubberband? ( >=media-libs/rubberband-1.8.1-r1[${MULTILIB_USEDEP}] )
        samba? ( >=net-fs/samba-3.6.23-r1[client,${MULTILIB_USEDEP}] )
        sdl? ( media-libs/libsdl2[sound,video,${MULTILIB_USEDEP}] )

diff --git a/media-video/ffmpeg/metadata.xml b/media-video/ffmpeg/metadata.xml
index b2b0c975a98..b2f6fd8bc47 100644
--- a/media-video/ffmpeg/metadata.xml
+++ b/media-video/ffmpeg/metadata.xml
@@ -19,6 +19,7 @@
        <flag name="chromium">Builds libffmpeg.so to enable media playback in 
Chromium-based browsers like Opera and Vivaldi.</flag>
        <flag name="codec2">Enables codec2 low bit rate speech codec support 
via <pkg>media-libs/codec2</pkg>.</flag>
        <flag name="cpudetection">Enables runtime CPU detection (useful for 
bindist, compatibility on other CPUs)</flag>
+       <flag name="dav1d">Enables AV1 decoding 
via<pkg>media-libs/dav1d</pkg>.</flag>
        <flag name="ebur128">Enables EBU R128 loudness normalization filter via 
<pkg>media-libs/libebur128</pkg></flag>
        <flag name="fdk">Use external fdk-aac library for AAC encoding</flag>
        <flag name="flite">Adds a text-to-speech filter based on 
<pkg>app-accessibility/flite</pkg>.</flag>

Reply via email to