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