gnu: openxr: Fix build.

* gnu/packages/graphics.scm (openxr)[source]: Delete unbundling snippet.
[inputs]: Remove jsoncpp.

Change-Id: I44c1e7db8df41b88b81bfd4e570df159cee79bb0
This commit is contained in:
Greg Hogan 2025-07-29 22:25:04 +00:00
parent f67a20bebd
commit 555ccadb78
No known key found for this signature in database
GPG key ID: EF6EB27413CFEEF3

View file

@ -2801,11 +2801,15 @@ Some feature highlights:
(url "https://github.com/KhronosGroup/OpenXR-SDK")
(commit (string-append "release-" version))))
(file-name (git-file-name name version))
(modules '((guix build utils)))
(snippet
'(begin
;; Delete bundled jsoncpp.
(delete-file-recursively "src/external/jsoncpp")))
;; When compiling against jsoncpp 1.9.6 the build fails with
;; 'Unknown CMake command "check_required_components"'
;; (see https://github.com/open-source-parsers/jsoncpp/issues/1568).
;; When fixed uncomment the snippet and re-add jsoncpp as an input.
;(modules '((guix build utils)))
;(snippet
; '(begin
; ;; Delete bundled jsoncpp.
; (delete-file-recursively "src/external/jsoncpp")))
(sha256
(base32 "0s66xgwkdj5vn05l493hqydrxfpxxidd6mcb8l7l5awhn88cy16f"))))
(build-system cmake-build-system)
@ -2814,7 +2818,7 @@ Some feature highlights:
(native-inputs
(list pkg-config python shaderc vulkan-headers))
(inputs
(list jsoncpp mesa vulkan-loader wayland))
(list mesa vulkan-loader wayland))
(home-page "https://www.khronos.org/openxr/")
(synopsis "Generated headers and sources for OpenXR loader")
(description "This package contains OpenXR headers, as well as source code