From 2c299b338a224f193813b736a6c2580dc6f6afc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Mon, 22 Apr 2024 21:45:45 +0800 Subject: [PATCH] gnu: retroarch: Fix OpenGL core and Vulkan drivers. * gnu/packages/emulators.scm (retroarch)[arguments]: Ignore check result for HAVE_GLSLANG_HLSL in the configure phase. Change-Id: I3ba110b834acca25ada0e680a6bcb879b4db96f4 Signed-off-by: Nicolas Goaziou --- gnu/packages/emulators.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index 3695311c87..84441181c7 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm @@ -1520,6 +1520,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