summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Müller2022-11-08 12:29:36 +0100
committerWolfgang Müller2022-11-08 12:32:29 +0100
commit1ecbcfb7b4a1abc2e10c6092af0e6206ee8c64d4 (patch)
treeb6cc2cb1d4e4aa7c5d64c41222775ae80f8827fa
parent9573ef017222d334d39e23c5383ec2ed2f809158 (diff)
downloadportage-roles-1ecbcfb7b4a1abc2e10c6092af0e6206ee8c64d4.tar.gz
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.
-rw-r--r--desktop-wayland/package.accept_keywords/09-desktop-wayland3
-rw-r--r--desktop-wayland/package.use/09-desktop-wayland3
2 files changed, 6 insertions, 0 deletions
diff --git a/desktop-wayland/package.accept_keywords/09-desktop-wayland b/desktop-wayland/package.accept_keywords/09-desktop-wayland
index d74dac1..b035211 100644
--- a/desktop-wayland/package.accept_keywords/09-desktop-wayland
+++ b/desktop-wayland/package.accept_keywords/09-desktop-wayland
@@ -2,3 +2,6 @@ gui-wm/hikari
# needed for gui-wm/hikari
dev-libs/libucl
+
+# needed for media-video/mpv[vulkan]
+media-libs/libplacebo
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