~ruther/guix-local

ee5402bfce1aa7ffbe9d27ed6b1fe54c2202a4bb — Rutger Helling 8 years ago 39b4744
gnu: wine64-staging: Enable Vulkan support.

* gnu/packages/wine.scm (wine64-staging)[arguments]: Add
'hardcode-libvulkan-path phase.
1 files changed, 8 insertions(+), 0 deletions(-)

M gnu/packages/wine.scm
M gnu/packages/wine.scm => gnu/packages/wine.scm +8 -0
@@ 281,6 281,14 @@ integrated into the main branch.")
             (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"))