commit:     103c129c62f9507c27e547d6489123520f982469
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 11 14:28:11 2020 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Thu Jun 11 15:30:36 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=103c129c

media-video/ffmpeg: add vulkan useflag

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>

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

diff --git a/media-video/ffmpeg/ffmpeg-9999.ebuild 
b/media-video/ffmpeg/ffmpeg-9999.ebuild
index dbbe222fdd4..d8aaadca77f 100644
--- a/media-video/ffmpeg/ffmpeg-9999.ebuild
+++ b/media-video/ffmpeg/ffmpeg-9999.ebuild
@@ -69,7 +69,7 @@ fi
 FFMPEG_FLAG_MAP=(
                +bzip2:bzlib cpudetection:runtime-cpudetect debug gcrypt gnutls 
gmp
                +gpl hardcoded-tables +iconv libressl:libtls libxml2 lzma 
+network opencl
-               openssl +postproc samba:libsmbclient sdl:ffplay sdl:sdl2 vaapi 
vdpau
+               openssl +postproc samba:libsmbclient sdl:ffplay sdl:sdl2 vaapi 
vdpau vulkan
                X:xlib X:libxcb X:libxcb-shm X:libxcb-xfixes +zlib
                # libavdevice options
                cdio:libcdio iec61883:libiec61883 ieee1394:libdc1394 libcaca 
openal
@@ -255,6 +255,7 @@ RDEPEND="
                >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}]
        )
        vpx? ( >=media-libs/libvpx-1.4.0:=[${MULTILIB_USEDEP}] )
+       vulkan? ( >=media-libs/vulkan-loader-1.1.97:=[${MULTILIB_USEDEP}] )
        X? (
                >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
                >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]

diff --git a/media-video/ffmpeg/metadata.xml b/media-video/ffmpeg/metadata.xml
index 338a8f56297..c206f58b9b9 100644
--- a/media-video/ffmpeg/metadata.xml
+++ b/media-video/ffmpeg/metadata.xml
@@ -55,6 +55,7 @@
        <flag name="twolame">Enables MP2 encoding via 
<pkg>media-sound/twolame</pkg> as an alternative to the internal encoder.</flag>
        <flag name="vidstab">Enables video stabilization filter using vid.stab 
library (<pkg>media-libs/vidstab</pkg>).</flag>
        <flag name="vpx">Enables vp8 codec support using libvpx: Decoding vp8 
does not require this to be enabled but libvpx can also be used for decoding; 
encoding vp8 requires this useflag to be enabled though.</flag>
+       <flag name="vulkan">Enables support for the vulkan API for GPU 
offload.</flag>
        <flag name="x265">Enables HEVC encoding with 
<pkg>media-libs/x265</pkg>.</flag>
        <flag name="zeromq">Enables <pkg>net-libs/zeromq</pkg> support with the 
zmq/azmq filters.</flag>
        <flag name="zimg">Enables <pkg>media-libs/zimg</pkg> based scale 
filter.</flag>

Reply via email to