wine.eclass: cleanup obsolete wine-proton workaround

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2026-04-22 00:24:44 -04:00
parent 1fdede692e
commit fdc867894e
+2 -8
View File
@@ -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=
}