From 48c28b3d6c702061bca11c3be32111e5e860f6ca Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Mon, 1 Jun 2026 07:27:28 -0400 Subject: [PATCH] wine.eclass: adapt postinst for wine-proton Went overlooked given wine-proton wasn't using postinst properly, but now it is. Fixes: 3ce7350b553c80439214ad1808ffc7bf48acc17d Closes: https://bugs.gentoo.org/976456 Signed-off-by: Ionen Wolkens --- eclass/wine.eclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eclass/wine.eclass b/eclass/wine.eclass index 2026068304ccf..dc9abcba534f5 100644 --- a/eclass/wine.eclass +++ b/eclass/wine.eclass @@ -478,7 +478,9 @@ wine_pkg_postinst() { fi # difficult to tell what is needed from here, but try to warn anyway - if use abi_x86_32 && { use opengl || use vulkan; }; then + if use abi_x86_32 && + { ! in_iuse opengl || use opengl || ! in_iuse vulkan || use vulkan; } + then if has_version 'x11-drivers/nvidia-drivers'; then if has_version 'x11-drivers/nvidia-drivers[-abi_x86_32]'; then ewarn