From fdc867894e8ec711a08d084d4826ff309c2f7b80 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Wed, 22 Apr 2026 00:19:13 -0400 Subject: [PATCH] wine.eclass: cleanup obsolete wine-proton workaround Signed-off-by: Ionen Wolkens --- eclass/wine.eclass | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/eclass/wine.eclass b/eclass/wine.eclass index 7f0bc81264cc8..2e55006b35081 100644 --- a/eclass/wine.eclass +++ b/eclass/wine.eclass @@ -44,11 +44,7 @@ IUSE="+abi_x86_64 arm64ec crossdev-mingw custom-cflags +mingw +strip" # enable wow64 in wine-11+ where it is no longer considered experimental # and provides a better UX for Gentoo users without USE=abi_x86_32 -# TODO: drop wine-proton exception here and in wine_pkg_preinst when -# 9999 is based on wine-11.0 -if ver_test -ge 11 && - { [[ ${PN} != wine-proton ]] || ver_test -lt 9999; } -then +if ver_test -ge 11; then IUSE+=" abi_x86_32 +wow64" else IUSE+=" +abi_x86_32 wow64" @@ -462,9 +458,7 @@ wine_src_install() { wine_pkg_preinst() { # if *any* slot has it set or it is a new install, then assume # user does not need a warning - use wow64 && ver_test -ge 11 && - { [[ ${PN} != wine-proton ]] || ver_test -lt 9999; } && - has_version "${CATEGORY}/${PN}" && + use wow64 && ver_test -ge 11 && has_version "${CATEGORY}/${PN}" && ! has_version "${CATEGORY}/${PN}[wow64(-)]" && WINE_WARN_WOW64= }