mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
wine.eclass: cleanup obsolete wine-proton workaround
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
+2
-8
@@ -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=
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user