commit:     bad35247071030e739d3197d39178f491b3c820c
Author:     zyxhere💭 <zyx <AT> envs <DOT> net>
AuthorDate: Sun Nov 30 04:09:57 2025 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Nov 30 10:17:01 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bad35247

gui-libs/gtk: Depend on mesa[vulkan] for USE=vulkan

Otherwise gtk silentlly falls back to the GL renderer even when explicitly
called with GSK_RENDERER=vulkan

Closes: https://bugs.gentoo.org/966845
Bug: https://bugs.gentoo.org/960204
Signed-off-by: zyxhere💭 <zyx <AT> envs.net>
Part-of: https://github.com/gentoo/gentoo/pull/44824
Closes: https://github.com/gentoo/gentoo/pull/44824
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 gui-libs/gtk/{gtk-4.20.3-r1.ebuild => gtk-4.20.3-r2.ebuild} | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gui-libs/gtk/gtk-4.20.3-r1.ebuild 
b/gui-libs/gtk/gtk-4.20.3-r2.ebuild
similarity index 98%
rename from gui-libs/gtk/gtk-4.20.3-r1.ebuild
rename to gui-libs/gtk/gtk-4.20.3-r2.ebuild
index 614e380eaf04..c417a90a4285 100644
--- a/gui-libs/gtk/gtk-4.20.3-r1.ebuild
+++ b/gui-libs/gtk/gtk-4.20.3-r2.ebuild
@@ -51,7 +51,10 @@ COMMON_DEPEND="
                )
        )
        introspection? ( >=dev-libs/gobject-introspection-1.84:= )
-       vulkan? ( >=media-libs/vulkan-loader-1.3:=[wayland?,X?] )
+       vulkan? (
+               >=media-libs/vulkan-loader-1.3:=[wayland?,X?]
+               media-libs/mesa[vulkan]
+               )
        wayland? (
                >=dev-libs/wayland-1.24.0
                >=dev-libs/wayland-protocols-1.44

Reply via email to