mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: wine64-staging: Enable Vulkan support.
* gnu/packages/wine.scm (wine64-staging)[arguments]: Add 'hardcode-libvulkan-path phase.
This commit is contained in:
parent
39b4744a07
commit
ee5402bfce
1 changed files with 8 additions and 0 deletions
|
@ -281,6 +281,14 @@ (define-public wine64-staging
|
|||
(string-append "libdir=" %output "/lib/wine64"))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'configure 'hardcore-libvulkan-path
|
||||
(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))
|
||||
#t)))
|
||||
(add-after 'install 'copy-wine32-binaries
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((wine32 (assoc-ref %build-inputs "wine-staging"))
|
||||
|
|
Loading…
Reference in a new issue