diff options
| author | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2026-02-06 14:46:49 +0100 |
|---|---|---|
| committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2026-02-25 13:32:34 +0100 |
| commit | 96dd597a7402be7c6528226af67ba536fff96d01 (patch) | |
| tree | 02ce943689bac05670290b77cfc131115e6256c4 /gnu | |
| parent | 50c94f89c683012a2e6ccaf3eb5eff4f4cd57148 (diff) | |
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”.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/vulkan.scm | 92 |
1 files changed, 44 insertions, 48 deletions
diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm index 5626b98bc15..14e2fb03546 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) @@ -592,54 +594,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 |
