gnu: vulkan-tools: Update to 1.4.313.0.

* gnu/packages/vulkan.scm (vulkan-tools): Update to 1.4.313.0.

Change-Id: Ic96b91a364836a312a1d5f5d58fd2978ac50522a
This commit is contained in:
Maxim Cournoyer 2025-07-17 15:30:05 +09:00
parent 3cc9bb8201
commit 7ae172f44d
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -443,13 +443,13 @@ and the ICD.")
(define-public vulkan-tools (define-public vulkan-tools
(package (package
(name "vulkan-tools") (name "vulkan-tools")
(version "1.4.309.0") (version "1.4.313.0")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/KhronosGroup/Vulkan-Tools") (url "https://github.com/KhronosGroup/Vulkan-Tools")
(commit (string-append "vulkan-sdk-" version)))) (commit (string-append "vulkan-sdk-" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet #~(substitute* "tests/icd/mock_icd_tests.cpp" (snippet #~(substitute* "tests/icd/mock_icd_tests.cpp"
@ -458,19 +458,20 @@ and the ICD.")
"// ASSERT_EQ(std::string(driver_properties.driverInfo)"))) "// ASSERT_EQ(std::string(driver_properties.driverInfo)")))
(sha256 (sha256
(base32 (base32
"0ywvvkra29y2cvw8i9laf4skn6cl7phrwshcc7z9dljb3il87cym")))) "152sl309k2lw38x6r15ddyf55dn1wc26pf1idd73nd5x2ax5bd73"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(inputs (inputs
(list glslang libxrandr vulkan-loader wayland wayland-protocols)) (list glslang libxrandr vulkan-loader wayland wayland-protocols))
(native-inputs (native-inputs
(list googletest pkg-config python vulkan-volk vulkan-headers)) (list googletest pkg-config python vulkan-volk vulkan-headers))
(arguments (arguments
`(#:configure-flags (list "-DBUILD_TESTS=ON") (list
#:phases (modify-phases %standard-phases #:configure-flags #~(list "-DBUILD_TESTS=ON")
(replace 'check #:phases #~(modify-phases %standard-phases
(lambda* (#:key tests? #:allow-other-keys) (replace 'check
(when tests? (lambda* (#:key tests? #:allow-other-keys)
(invoke "./tests/vulkan_tools_tests"))))))) (when tests?
(invoke "./tests/vulkan_tools_tests")))))))
(home-page (home-page
"https://github.com/KhronosGroup/Vulkan-Tools") "https://github.com/KhronosGroup/Vulkan-Tools")
(synopsis "Tools and utilities for Vulkan") (synopsis "Tools and utilities for Vulkan")