mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: vkd3d: Improve style.
* gnu/packages/vulkan.scm (vkd3d)[arguments]: Use G-Expressions. [native-inputs]: Modernize. Change-Id: I29d558f777f3bd56e55e8e5872ca7fa291081b0d Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
This commit is contained in:
parent
63b02a58cf
commit
a86f4d9a88
1 changed files with 46 additions and 45 deletions
|
@ -574,22 +574,23 @@ shader compilation.")
|
||||||
(file-name (string-append name "-" version "-checkout"))))
|
(file-name (string-append name "-" version "-checkout"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags '("--with-spirv-tools")
|
(list
|
||||||
#:phases (modify-phases %standard-phases
|
#:configure-flags #~(list "--with-spirv-tools")
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-for-new-vulkan
|
(add-after 'unpack 'patch-for-new-vulkan
|
||||||
(lambda _
|
(lambda _
|
||||||
;; Mimic upstream commit 8e7bf8a5c3e0047 for
|
;; Mimic upstream commit 8e7bf8a5c3e0047 for
|
||||||
;; compatibility with newer vulkan-headers.
|
;; compatibility with newer vulkan-headers.
|
||||||
(substitute* "libs/vkd3d/vkd3d_private.h"
|
(substitute* "libs/vkd3d/vkd3d_private.h"
|
||||||
(("VK_PIPELINE_BIND_POINT_RANGE_SIZE")
|
(("VK_PIPELINE_BIND_POINT_RANGE_SIZE")
|
||||||
"2u"))
|
"2u")))))))
|
||||||
#t)))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("autoconf" ,autoconf)
|
(list autoconf
|
||||||
("automake" ,automake)
|
automake
|
||||||
("gettext" ,gettext-minimal)
|
gettext-minimal
|
||||||
("libtool" ,libtool)
|
libtool
|
||||||
("pkg-config" ,pkg-config)))
|
pkg-config))
|
||||||
(inputs
|
(inputs
|
||||||
(list libx11
|
(list libx11
|
||||||
libxcb
|
libxcb
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue