From 1ecbcfb7b4a1abc2e10c6092af0e6206ee8c64d4 Mon Sep 17 00:00:00 2001
From: Wolfgang Müller
Date: Tue, 8 Nov 2022 12:29:36 +0100
Subject: desktop-wayland: Use vulkan for mpv

media-video/mpv will need to have its X USE-flag enabled if opengl is
activated. We have tested its vulkan backend and it works fine with
vaapi, so get rid of opengl in this instance.

Currently this does mean that we have to unmask media-libs/libplacebo as
well.
---
 desktop-wayland/package.use/09-desktop-wayland | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'desktop-wayland/package.use/09-desktop-wayland')

diff --git a/desktop-wayland/package.use/09-desktop-wayland b/desktop-wayland/package.use/09-desktop-wayland
index e0c5510..997b7e2 100644
--- a/desktop-wayland/package.use/09-desktop-wayland
+++ b/desktop-wayland/package.use/09-desktop-wayland
@@ -6,6 +6,9 @@
 dev-qt/qtgui eglfs
 x11-libs/gtk+ X
 
+# we're using the vulkan backend for mpv
+media-video/mpv -opengl
+
 # needed for media-libs/libsdl2[wayland]
 media-libs/libsdl2 gles2
 
-- 
cgit v1.2.3-2-gb3c3