[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/11: gnu: retroarch: Enable Vulkan support.
From: |
Marius Bakke |
Subject: |
11/11: gnu: retroarch: Enable Vulkan support. |
Date: |
Sun, 17 Dec 2017 19:26:06 -0500 (EST) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 01564e5ab5b9c11fea81a87ac7f8d2fcdb81668d
Author: Rutger Helling <address@hidden>
Date: Sun Dec 10 11:15:03 2017 +0100
gnu: retroarch: Enable Vulkan support.
* gnu/packages/games.scm (retroarch)[arguments]: Hard-code the path to
libvulkan.so.
[inputs]: Add vulkan-icd-loader.
Signed-off-by: Marius Bakke <address@hidden>
---
gnu/packages/games.scm | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index a699fad..398ab4e 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -134,6 +134,7 @@
#:use-module (gnu packages gnuzilla)
#:use-module (gnu packages icu4c)
#:use-module (gnu packages networking)
+ #:use-module (gnu packages vulkan)
#:use-module (gnu packages web)
#:use-module (guix build-system gnu)
#:use-module (guix build-system haskell)
@@ -1443,9 +1444,13 @@ either by Infocom or created using the Inform compiler.")
#:phases
(modify-phases %standard-phases
(replace 'configure
- (lambda* (#:key outputs #:allow-other-keys)
+ (lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
- (etc (string-append out "/etc")))
+ (etc (string-append out "/etc"))
+ (vulkan (assoc-ref inputs "vulkan-icd-loader")))
+ ;; Hard-code the path to libvulkan.so.
+ (substitute* "gfx/common/vulkan_common.c"
+ (("libvulkan.so") (string-append vulkan "/lib/libvulkan.so")))
(substitute* "qb/qb.libs.sh"
(("/bin/true") (which "true")))
;; The configure script does not yet accept the extra arguments
@@ -1468,6 +1473,7 @@ either by Infocom or created using the Inform compiler.")
("python" ,python)
("sdl" ,sdl2)
("udev" ,eudev)
+ ("vulkan-icd-loader" ,vulkan-icd-loader)
("wayland", wayland)
("zlib" ,zlib)))
(native-inputs
- branch core-updates updated (cafc97e -> 01564e5), Marius Bakke, 2017/12/17
- 03/11: gnu: pulseaudio: Update to 11.1., Marius Bakke, 2017/12/17
- 01/11: gnu: mesa: Update to 17.2.7., Marius Bakke, 2017/12/17
- 02/11: gnu: ftgl: Add missing dependency on pkg-config., Marius Bakke, 2017/12/17
- 08/11: gnu: vulkan: Add spirv-tools., Marius Bakke, 2017/12/17
- 04/11: gnu: pulseaudio: Use 'modify-phases' syntax., Marius Bakke, 2017/12/17
- 09/11: gnu: vulkan: Add glslang., Marius Bakke, 2017/12/17
- 11/11: gnu: retroarch: Enable Vulkan support.,
Marius Bakke <=
- 05/11: gnu: librsvg: Update to 2.40.20., Marius Bakke, 2017/12/17
- 06/11: gnu: mesa: Enable Vulkan drivers for Intel and Radeon., Marius Bakke, 2017/12/17
- 10/11: gnu: vulkan: Add vulkan-icd-loader., Marius Bakke, 2017/12/17
- 07/11: gnu: vulkan: Add spirv-headers., Marius Bakke, 2017/12/17