commit:     049ff2d29bfa197126a6581b91c2c93b20076674
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 11 14:57:39 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Aug 11 16:43:55 2018 +0000

media-video/vlc: Add USE kms for kernel mode setting video output

Package-Manager: Portage-2.3.45, Repoman-2.3.10

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

diff --git a/media-video/vlc/metadata.xml b/media-video/vlc/metadata.xml
index da0fee39579..5534f4412a5 100644
--- a/media-video/vlc/metadata.xml
+++ b/media-video/vlc/metadata.xml
@@ -30,6 +30,7 @@
                <flag name="gstreamer">Enable GStreamer based decoding support 
(currently supports only video decoding)</flag>
                <flag name="httpd">Enable a web based interface for vlc</flag>
                <flag name="kate">Adds support for Ogg Kate subtitles via 
+               <flag name="kms">Enable kernel mode setting video output plugin 
via <pkg>x11-libs/libdrm</pkg></flag>
                <flag name="libtar">Uses libtar instead of the built-in tar 
reader for reading custom skins</flag>
                <flag name="libtiger">Enable Ogg Kate subtitles rendering using 
                <flag name="linsys">Enable support for Linux Linear Systems 
Ltd. SDI and HD-SDI input cards</flag>

diff --git a/media-video/vlc/vlc-9999.ebuild b/media-video/vlc/vlc-9999.ebuild
index 9aa8def9e69..8aff2400d55 100644
--- a/media-video/vlc/vlc-9999.ebuild
+++ b/media-video/vlc/vlc-9999.ebuild
@@ -31,7 +31,7 @@ SLOT="0/5-9" # vlc - vlccore
 IUSE="a52 alsa altivec aom archive bidi bluray cddb chromaprint chromecast 
dbus dc1394
        debug directx dts +dvbpsi dvd +encode faad fdk +ffmpeg flac fluidsynth 
-       +gcrypt gme gnome-keyring gstreamer ieee1394 jack jpeg kate libass 
libav libcaca
+       +gcrypt gme gnome-keyring gstreamer ieee1394 jack jpeg kate kms libass 
libav libcaca
        libnotify +libsamplerate libtar libtiger linsys lirc live lua 
        macosx-qtkit matroska modplug mp3 mpeg mtp musepack ncurses neon nfs ogg
        omxil opencv optimisememory opus png postproc projectm pulseaudio +qt5 
@@ -111,6 +111,7 @@ RDEPEND="
        jack? ( virtual/jack )
        jpeg? ( virtual/jpeg:0 )
        kate? ( media-libs/libkate:0 )
+       kms? ( x11-libs/libdrm )
        libass? (
@@ -319,6 +320,7 @@ src_configure() {
                $(use_enable jack)
                $(use_enable jpeg)
                $(use_enable kate)
+               $(use_enable kms)
                $(use_enable libass)
                $(use_enable libcaca caca)
                $(use_enable libnotify notify)

Reply via email to