gnu: wine64-staging: Update to 3.3.

* gnu/packages/wine.scm (wine64-staging): Update to 3.3.
[arguments]: Remove 'hardcode-libvulkan-path phase. Add
'patch-source-wine-staging phase.
This commit is contained in:
Rutger Helling 2018-03-12 10:41:51 +01:00
parent b53b9c8dd1
commit 3139f18524
No known key found for this signature in database
GPG Key ID: F3A727DB44FCCA36
1 changed files with 6 additions and 6 deletions

View File

@ -334,13 +334,13 @@ integrated into the main branch.")
(string-append "libdir=" %output "/lib/wine64"))
#:phases
(modify-phases %standard-phases
(add-before 'configure 'hardcore-libvulkan-path
(add-before 'configure 'patch-source-wine-staging
(lambda* (#:key outputs #:allow-other-keys)
(let* ((libvulkan (string-append (assoc-ref %build-inputs
"vulkan-icd-loader") "/lib/libvulkan.so")))
;; Hard-code the path to libvulkan.so.
(substitute* "dlls/vulkan/vulkan_thunks.c" (("libvulkan.so")
libvulkan))
(let* ((source (assoc-ref %build-inputs "source"))
(script (string-append (assoc-ref %build-inputs
"wine-staging-patchset-data")
"/share/wine-staging/patches/patchinstall.sh")))
(invoke script (string-append "DESTDIR=" ".") "--all")
#t)))
(add-after 'install 'copy-wine32-binaries
(lambda* (#:key outputs #:allow-other-keys)