mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-26 08:55:57 +02:00
Currently it will try to install both 32bit and 64bit dlls in system32. Very few likely use wow64 so far, but this could come biting later without a revbump. Ideally do not want to use these scripts anymore and write something new that could be packaged separately and shared between dxvk, vkd3d-proton, and potential new packages. Albeit haven't explored the cleanest way to do this yet, so just do a dirty sanity check + fallback for now (wish could just use these directly from system paths, but wine really does not seem to offer a way to do this). Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
14 lines
579 B
Diff
14 lines
579 B
Diff
Dirty workaround to try syswow64 if paths are the same. This can happen
|
|
with USE=wow64 on wine where wine64 is a symlink to wine.
|
|
|
|
TODO: dxvk's and vkd3d-proton's setup script should be rewritten and packaged
|
|
separately (shared) as upstream hardly support these (dxvk dropped altogether).
|
|
--- a/setup_dxvk.sh
|
|
+++ b/setup_dxvk.sh
|
|
@@ -89,2 +89,6 @@
|
|
win32_sys_path="${win32_sys_path/$'\r'/}"
|
|
+ if [ "$win32_sys_path" = "$win64_sys_path" ]; then
|
|
+ win32_sys_path=$($wine winepath -u 'C:\windows\syswow64' 2> /dev/null)
|
|
+ win32_sys_path="${win32_sys_path/$'\r'/}"
|
|
+ fi
|
|
fi
|