summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-04-17 07:12:33 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-04-17 07:12:33 +0000
commitca125481edd74de829bb375eebaa362b99ad85ca (patch)
tree98d1126e02f0de719c4eb7e7ed0f3c5e4ec881fc /eclass
parentafae01ffd370a829cb4c628a4dd7e8f87e35b2e3 (diff)
downloadbaldeagleos-repo-ca125481edd74de829bb375eebaa362b99ad85ca.tar.gz
baldeagleos-repo-ca125481edd74de829bb375eebaa362b99ad85ca.tar.xz
baldeagleos-repo-ca125481edd74de829bb375eebaa362b99ad85ca.zip
Adding metadata
Diffstat (limited to 'eclass')
-rw-r--r--eclass/wine.eclass7
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/wine.eclass b/eclass/wine.eclass
index 40cad4c132b6..7f0bc81264cc 100644
--- a/eclass/wine.eclass
+++ b/eclass/wine.eclass
@@ -46,7 +46,9 @@ IUSE="+abi_x86_64 arm64ec crossdev-mingw custom-cflags +mingw +strip"
# 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 ]]; then
+if ver_test -ge 11 &&
+ { [[ ${PN} != wine-proton ]] || ver_test -lt 9999; }
+then
IUSE+=" abi_x86_32 +wow64"
else
IUSE+=" +abi_x86_32 wow64"
@@ -460,7 +462,8 @@ 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 ]] &&
+ use wow64 && ver_test -ge 11 &&
+ { [[ ${PN} != wine-proton ]] || ver_test -lt 9999; } &&
has_version "${CATEGORY}/${PN}" &&
! has_version "${CATEGORY}/${PN}[wow64(-)]" && WINE_WARN_WOW64=
}