Subject: [PATCH] gnu: retroarch: Fix OpenGL core and Vulkan drivers.

From: [email-masked]
Date: Mon, 22 Apr 2024 21:45:45 +0800

From: 宋文武 <[email-masked]>

* gnu/packages/emulators.scm (retroarch)[arguments]: Ignore check result for
HAVE_GLSLANG_HLSL in the configure phase.

Change-Id: I3ba110b834acca25ada0e680a6bcb879b4db96f4
---
 gnu/packages/emulators.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index a935808da5..08894bd685 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -1462,6 +1462,10 @@ (define-public retroarch
                  (("/usr/local/share/wayland-protocols")
                  (string-append wayland-protocols "/share/wayland-protocols")))
 
+               ;; Without HLSL, we can still enable GLSLANG and Vulkan support.
+               (substitute* "qb/config.libs.sh"
+                 (("[$]HAVE_GLSLANG_HLSL") "notcare"))
+
                ;; The configure script does not yet accept the extra arguments
                ;; (like ‘CONFIG_SHELL=’) passed by the default configure phase.
                (invoke

base-commit: 30de2751094fa7cceeb692c656296209970d61cb
-- 
2.41.0