commit:     c25d8a4cee2c0e1668fd5130955a5362ae56d55f
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 27 06:18:30 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Apr 27 08:26:24 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c25d8a4c

app-emulation/wine-*: update/clarify wow64 USE desc in metatada.xml

It no longer requires mingw64-toolchain (or at least in >=wine-9)
given clang can be used instead, and is usable on arm64 with a caveat.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 app-emulation/wine-proton/metadata.xml  | 18 ++++++++++++------
 app-emulation/wine-staging/metadata.xml | 18 ++++++++++++------
 app-emulation/wine-vanilla/metadata.xml | 18 ++++++++++++------
 3 files changed, 36 insertions(+), 18 deletions(-)

diff --git a/app-emulation/wine-proton/metadata.xml 
b/app-emulation/wine-proton/metadata.xml
index ae2b52fb35c5..92b0fad9838f 100644
--- a/app-emulation/wine-proton/metadata.xml
+++ b/app-emulation/wine-proton/metadata.xml
@@ -21,12 +21,18 @@
                <flag name="perl">Install helpers that require perl 
(winedump/winemaker)</flag>
                <flag name="sdl">Enable gamepad support using 
<pkg>media-libs/libsdl2</pkg></flag>
                <flag name="wow64">
-                       Enable running 32bit applications without 32bit ELF
-                       multilib by mapping to 64bit calls (experimental,
-                       *may* have worse/unusable OpenGL performance or other
-                       issues compared to USE=abi_x86_32, also lacks 16bit
-                       support) -- still need 
<pkg>dev-util/mingw64-toolchain</pkg>
-                       with abi_x86_32 which itself does not need multilib
+                       Enable the "new" wow64 mode that allows running 32bit
+                       applications without 32bit ELF multilib by mapping to
+                       64bit calls (experimental, *may* have worse/unusable
+                       OpenGL performance or other issues compared to
+                       USE=abi_x86_32 aka "old" wow64, also lacks 16bit
+                       support) -- if USE=mingw is set, still need the default
+                       abi_x86_32 set on <pkg>dev-util/mingw64-toolchain</pkg>
+                       but that can be done even with /no-multilib/ profiles.
+
+                       This can also be enabled on arm64 to allow running
+                       x86 applications, but that requires to manually
+                       setup xtajit.dll in the wine prefix for x86 emulation.
                </flag>
        </use>
        <upstream>

diff --git a/app-emulation/wine-staging/metadata.xml 
b/app-emulation/wine-staging/metadata.xml
index ca3329a1891c..7835c6430fb5 100644
--- a/app-emulation/wine-staging/metadata.xml
+++ b/app-emulation/wine-staging/metadata.xml
@@ -29,12 +29,18 @@ This variant of the Wine packaging includes the 
Wine-Staging patchset.
                <flag name="samba">Pull in <pkg>net-fs/samba</pkg> with winbind 
for NTLM auth support</flag>
                <flag name="sdl">Enable gamepad support using 
<pkg>media-libs/libsdl2</pkg></flag>
                <flag name="wow64">
-                       Enable running 32bit applications without 32bit ELF
-                       multilib by mapping to 64bit calls (experimental,
-                       *may* have worse/unusable OpenGL performance or other
-                       issues compared to USE=abi_x86_32, also lacks 16bit
-                       support) -- still need 
<pkg>dev-util/mingw64-toolchain</pkg>
-                       with abi_x86_32 which itself does not need multilib
+                       Enable the "new" wow64 mode that allows running 32bit
+                       applications without 32bit ELF multilib by mapping to
+                       64bit calls (experimental, *may* have worse/unusable
+                       OpenGL performance or other issues compared to
+                       USE=abi_x86_32 aka "old" wow64, also lacks 16bit
+                       support) -- if USE=mingw is set, still need the default
+                       abi_x86_32 set on <pkg>dev-util/mingw64-toolchain</pkg>
+                       but that can be done even with /no-multilib/ profiles.
+
+                       This can also be enabled on arm64 to allow running
+                       x86 applications, but that requires to manually
+                       setup xtajit.dll in the wine prefix for x86 emulation.
                </flag>
        </use>
        <upstream>

diff --git a/app-emulation/wine-vanilla/metadata.xml 
b/app-emulation/wine-vanilla/metadata.xml
index 34b1aee6fe58..d117c9b402b1 100644
--- a/app-emulation/wine-vanilla/metadata.xml
+++ b/app-emulation/wine-vanilla/metadata.xml
@@ -29,12 +29,18 @@ This variant of the Wine packaging does not include 
external patchsets
                <flag name="samba">Pull in <pkg>net-fs/samba</pkg> with winbind 
for NTLM auth support</flag>
                <flag name="sdl">Enable gamepad support using 
<pkg>media-libs/libsdl2</pkg></flag>
                <flag name="wow64">
-                       Enable running 32bit applications without 32bit ELF
-                       multilib by mapping to 64bit calls (experimental,
-                       *may* have worse/unusable OpenGL performance or other
-                       issues compared to USE=abi_x86_32, also lacks 16bit
-                       support) -- still need 
<pkg>dev-util/mingw64-toolchain</pkg>
-                       with abi_x86_32 which itself does not need multilib
+                       Enable the "new" wow64 mode that allows running 32bit
+                       applications without 32bit ELF multilib by mapping to
+                       64bit calls (experimental, *may* have worse/unusable
+                       OpenGL performance or other issues compared to
+                       USE=abi_x86_32 aka "old" wow64, also lacks 16bit
+                       support) -- if USE=mingw is set, still need the default
+                       abi_x86_32 set on <pkg>dev-util/mingw64-toolchain</pkg>
+                       but that can be done even with /no-multilib/ profiles.
+
+                       This can also be enabled on arm64 to allow running
+                       x86 applications, but that requires to manually
+                       setup xtajit.dll in the wine prefix for x86 emulation.
                </flag>
        </use>
        <upstream>

Reply via email to