summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Timo Gurr <tgurr@exherbo.org> 2018-09-25 15:25:58 +0200
committerAvatar Timo Gurr <tgurr@exherbo.org> 2018-09-25 15:25:58 +0200
commit24724f55f576ae84f2655c29c8c80a9e4fbf823c (patch)
tree7bf9a44847b06f5d581f3ae3c6665a3de711144f
parent4d579d156c049c0a348dbe2325c5a01ab2fffb8a (diff)
downloadvirtualization-master.tar.gz
virtualization-master.tar.xz
winetricks: add upstream patches to support dxvk80HEADmaster
-rw-r--r--packages/app-emulation/winetricks/files/5a4a8287fe40aa7b5c82f7dc0ba822b92cfd333f.patch41
-rw-r--r--packages/app-emulation/winetricks/winetricks-20180815-r5.exheres-0 (renamed from packages/app-emulation/winetricks/winetricks-20180815-r4.exheres-0)1
2 files changed, 42 insertions, 0 deletions
diff --git a/packages/app-emulation/winetricks/files/5a4a8287fe40aa7b5c82f7dc0ba822b92cfd333f.patch b/packages/app-emulation/winetricks/files/5a4a8287fe40aa7b5c82f7dc0ba822b92cfd333f.patch
new file mode 100644
index 0000000..1bb3019
--- /dev/null
+++ b/packages/app-emulation/winetricks/files/5a4a8287fe40aa7b5c82f7dc0ba822b92cfd333f.patch
@@ -0,0 +1,41 @@
+Source/Upstream: Yes, fixed in git master
+
+From 5a4a8287fe40aa7b5c82f7dc0ba822b92cfd333f Mon Sep 17 00:00:00 2001
+From: Rob Walker <bob.mt.wya@gmail.com>
+Date: Mon, 24 Sep 2018 12:31:33 +0100
+Subject: [PATCH] new verb: dxvk80
+
+---
+ src/winetricks | 19 +++++++++++++++++++
+ 1 file changed, 19 insertions(+)
+
+diff --git a/src/winetricks b/src/winetricks
+index cd856011..a7b5c8ee 100755
+--- a/src/winetricks
++++ b/src/winetricks
+@@ -6868,6 +6868,25 @@ load_dxvk72()
+ helper_dxvk "$file1" "d3d10_enabled" "3.10" "1.0.76"
+ }
+
++w_metadata dxvk80 dlls \
++ title="Vulkan-based D3D10/D3D11 implementation for Linux / Wine (0.80)" \
++ publisher="Philip Rebohle" \
++ year="2018" \
++ media="download" \
++ file1="dxvk-0.80.tar.gz" \
++ installed_file1="$W_SYSTEM32_DLLS_WIN/d3d10.dll" \
++ installed_file2="$W_SYSTEM32_DLLS_WIN/d3d10_1.dll" \
++ installed_file3="$W_SYSTEM32_DLLS_WIN/d3d10core.dll" \
++ installed_file4="$W_SYSTEM32_DLLS_WIN/d3d11.dll" \
++ installed_file5="$W_SYSTEM32_DLLS_WIN/dxgi.dll"
++
++load_dxvk80()
++{
++ # https://github.com/doitsujin/dxvk
++ w_download "https://github.com/doitsujin/dxvk/releases/download/v0.80/dxvk-0.80.tar.gz" f9e736cdbf1e83e45ca748652a94a3a189fc5accde1eac549b2ba5af8f7acacb
++ helper_dxvk "$file1" "d3d10_enabled" "3.10" "1.0.76"
++}
++
+
+ #----------------------------------------------------------------
+
diff --git a/packages/app-emulation/winetricks/winetricks-20180815-r4.exheres-0 b/packages/app-emulation/winetricks/winetricks-20180815-r5.exheres-0
index 82f32cb..2ff60ab 100644
--- a/packages/app-emulation/winetricks/winetricks-20180815-r4.exheres-0
+++ b/packages/app-emulation/winetricks/winetricks-20180815-r5.exheres-0
@@ -45,6 +45,7 @@ DEFAULT_SRC_PREPARE_PATCHES=(
"${FILES}"/8160f159d49cee85690a2c8e03c5ed9f54b8b8bb.patch
"${FILES}"/2ee955bbe3096d283cab4e9f97d73bb0a4c55c51.patch
"${FILES}"/273410c640fe4e417ad0d4161d5b29ff53abf69b.patch
+ "${FILES}"/5a4a8287fe40aa7b5c82f7dc0ba822b92cfd333f.patch
)
DEFAULT_SRC_INSTALL_PARAMS=( PREFIX=/usr/$(exhost --target) )