guix_mirror_bot pushed a commit to branch gnome-team
in repository guix.
commit 3189b83cbd09014d8465d95a7e59e8a4d45b4c0c
Author: Liliana Marie Prikler <[email protected]>
AuthorDate: Fri Feb 6 14:46:49 2026 +0100
gnu: vkd3d: Update to 1.18.
* gnu/packages/vulkan.scm (vkd3d): Update to 1.18.
[source]: Use version to derive commit.
Use “https://gitlab.winehq.org/wine/vkd3d”.
[#:phases]: Drop ‘patch-for-new-vulkan’.
[native-inputs]: Add flex, bison, perl and perl-json.
[home-page]: Use “https://gitlab.winehq.org/wine/vkd3d”.
---
gnu/packages/vulkan.scm | 92 +++++++++++++++++++++++--------------------------
1 file changed, 44 insertions(+), 48 deletions(-)
diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm
index 177b3b4bb7..b6f790d1a9 100644
--- a/gnu/packages/vulkan.scm
+++ b/gnu/packages/vulkan.scm
@@ -44,11 +44,13 @@
#:use-module (gnu packages check)
#:use-module (gnu packages cmake)
#:use-module (gnu packages cpp)
+ #:use-module (gnu packages flex)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gettext)
#:use-module (gnu packages gl)
#:use-module (gnu packages libffi)
#:use-module (gnu packages llvm)
+ #:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages wine)
@@ -597,54 +599,48 @@ constant management, and opcode emission.")
(license (list license:agpl3+ license:gpl3+ license:bsd-3))))
(define-public vkd3d
- (let ((commit "56cd4a94d541707959ce7677af6d1a34739e5579")) ; Release 1.2.
- (package
- (name "vkd3d")
- (version "1.2")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://source.winehq.org/git/vkd3d.git")
- (commit commit)))
- (sha256
- (base32
- "1n4a622drgnprvz5hjxzyzcsg2lp5rlf1sajki2vzf5gsx6fdpk8"))
- (file-name (string-append name "-" version "-checkout"))))
- (build-system gnu-build-system)
- (arguments
- (list
- #:configure-flags #~(list "--with-spirv-tools")
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'patch-for-new-vulkan
- (lambda _
- ;; Mimic upstream commit 8e7bf8a5c3e0047 for
- ;; compatibility with newer vulkan-headers.
- (substitute* "libs/vkd3d/vkd3d_private.h"
- (("VK_PIPELINE_BIND_POINT_RANGE_SIZE")
- "2u")))))))
- (native-inputs
- (list autoconf
- automake
- gettext-minimal
- libtool
- pkg-config))
- (inputs
- (list libx11
- libxcb
- spirv-headers
- spirv-tools
- vulkan-headers
- vulkan-loader
- wine-minimal ; Needed for 'widl'.
- xcb-util
- xcb-util-keysyms
- xcb-util-wm))
- (home-page "https://source.winehq.org/git/vkd3d.git/")
- (synopsis "Direct3D 12 to Vulkan translation library")
- (description "vkd3d is a library for translating Direct3D 12 to Vulkan.")
- (license license:lgpl2.1))))
+ (package
+ (name "vkd3d")
+ (version "1.18")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.winehq.org/wine/vkd3d")
+ (commit (string-append "vkd3d-" version))))
+ (sha256
+ (base32
+ "001v4yyis6gzgyw0994ln7fz8254cmflna2dqnkh6sl56lmxdj98"))
+ (file-name (string-append name "-" version "-checkout"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:configure-flags #~(list "--with-spirv-tools")))
+ (native-inputs
+ (list autoconf
+ automake
+ bison
+ flex
+ gettext-minimal
+ libtool
+ perl
+ perl-json
+ pkg-config))
+ (inputs
+ (list libx11
+ libxcb
+ spirv-headers
+ spirv-tools
+ vulkan-headers
+ vulkan-loader
+ wine-minimal ; Needed for 'widl'.
+ xcb-util
+ xcb-util-keysyms
+ xcb-util-wm))
+ (home-page "https://gitlab.winehq.org/wine/vkd3d")
+ (synopsis "Direct3D 12 to Vulkan translation library")
+ (description "vkd3d is a library for translating Direct3D 12 to Vulkan.")
+ (license license:lgpl2.1)))
(define-public vulkan-validationlayers
(package