mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: vulkan-validationlayers: Improve style.
* gnu/packages/vulkan.scm (vulkan-validationlayers): Fix max column. Change-Id: I3a79acbc7c4a36105e27a6dfaba028094a5d5232 Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
This commit is contained in:
parent
2944b896b4
commit
e3eb2af7a8
1 changed files with 30 additions and 26 deletions
|
@ -631,20 +631,24 @@ shader compilation.")
|
||||||
vulkan-loader
|
vulkan-loader
|
||||||
vulkan-utility-libraries
|
vulkan-utility-libraries
|
||||||
wayland))
|
wayland))
|
||||||
(native-inputs (list googletest pkg-config python spirv-headers vulkan-headers))
|
(native-inputs
|
||||||
|
(list googletest pkg-config python spirv-headers vulkan-headers))
|
||||||
(arguments
|
(arguments
|
||||||
(list #:tests? #f ; tests crash on some hardware (various upstream issues)
|
(list #:tests? #f ; tests crash on some hardware (various upstream issues)
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
#~(list "-DBUILD_TESTS=ON")
|
#~(list "-DBUILD_TESTS=ON")
|
||||||
#:phases #~(modify-phases %standard-phases
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'install 'set-layer-path-in-manifest
|
(add-after 'install 'set-layer-path-in-manifest
|
||||||
(lambda _
|
(lambda _
|
||||||
(let ((manifest (string-append #$output
|
(let ((manifest
|
||||||
|
(string-append #$output
|
||||||
"/share/vulkan/explicit_layer.d"
|
"/share/vulkan/explicit_layer.d"
|
||||||
"/VkLayer_khronos_validation.json")))
|
"/VkLayer_khronos_validation.json")))
|
||||||
(substitute* manifest
|
(substitute* manifest
|
||||||
(("\"libVkLayer_khronos_validation.so\"")
|
(("\"libVkLayer_khronos_validation.so\"")
|
||||||
(string-append "\"" #$output
|
(string-append
|
||||||
|
"\"" #$output
|
||||||
"/lib/libVkLayer_khronos_validation.so\""))))))
|
"/lib/libVkLayer_khronos_validation.so\""))))))
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
@ -661,9 +665,9 @@ shader compilation.")
|
||||||
(home-page "https://github.com/KhronosGroup/Vulkan-ValidationLayers")
|
(home-page "https://github.com/KhronosGroup/Vulkan-ValidationLayers")
|
||||||
(synopsis "Khronos official validation layers for Vulkan")
|
(synopsis "Khronos official validation layers for Vulkan")
|
||||||
(description
|
(description
|
||||||
"Vulkan-ValidationLayers provides the Khronos official validation layers that
|
"Vulkan-ValidationLayers provides the Khronos official validation layers
|
||||||
can assist development by enabling developers to verify their applications correctly
|
that can assist development by enabling developers to verify their
|
||||||
use the Vulkan API.")
|
applications correctly use the Vulkan API.")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
(define-public vulkan-volk
|
(define-public vulkan-volk
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue