Automate installation of DXVK, D9VK + Wine/Wine Staging & update GPU drivers + PlayonLinux wineprefixes (Debian/Ubuntu/Mint/Arch Linux/Manjaro)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.1 KiB

5 years ago
  1. --- a/build-win32.txt
  2. +++ b/build-win32.txt
  3. @@ -3,7 +3,6 @@
  4. cpp = 'i686-w64-mingw32-g++'
  5. ar = 'i686-w64-mingw32-ar'
  6. strip = 'i686-w64-mingw32-strip'
  7. -exe_wrapper = 'wine'
  8. [properties]
  9. c_link_args = ['-static', '-static-libgcc']
  10. --- a/build-win64.txt
  11. +++ b/build-win64.txt
  12. @@ -3,7 +3,6 @@
  13. cpp = 'x86_64-w64-mingw32-g++'
  14. ar = 'x86_64-w64-mingw32-ar'
  15. strip = 'x86_64-w64-mingw32-strip'
  16. -exe_wrapper = 'wine'
  17. [properties]
  18. c_link_args = ['-static', '-static-libgcc']
  19. --- a/package-release.sh
  20. +++ b/package-release.sh
  21. @@ -11,9 +11,6 @@
  22. DXVK_ARCHIVE_PATH=$(realpath "$2")"/dxvk-$DXVK_VERSION.tar.gz"
  23. function build_arch {
  24. - export WINEARCH="win$1"
  25. - export WINEPREFIX="$DXVK_BUILD_DIR/wine.$1"
  26. -
  27. cd "$DXVK_SRC_DIR"
  28. meson --cross-file "$DXVK_SRC_DIR/build-win$1.txt" \
  29. @@ -31,8 +28,7 @@
  30. cp "$DXVK_BUILD_DIR/install.$1/bin/d3d11.dll" "$DXVK_BUILD_DIR/x$1/d3d11.dll"
  31. cp "$DXVK_BUILD_DIR/install.$1/bin/dxgi.dll" "$DXVK_BUILD_DIR/x$1/dxgi.dll"
  32. cp "$DXVK_BUILD_DIR/install.$1/bin/setup_dxvk.sh" "$DXVK_BUILD_DIR/x$1/setup_dxvk.sh"
  33. -
  34. - rm -R "$DXVK_BUILD_DIR/wine.$1"
  35. +
  36. rm -R "$DXVK_BUILD_DIR/build.$1"
  37. rm -R "$DXVK_BUILD_DIR/install.$1"
  38. }