mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-01 09:02:59 -05:00
gnu: godot: Update to 4.2.1.
The previous version failed to build after an update to glslang. Godot looks for an include, Types.h, which is no longer included in the built glslang. Use the included glslang (which will match the included vulkan, too) for now. * gnu/packages/game-development.scm (godot): Update to 4.2.1. [source]: In snippet add (preserve) amd-fsr2, clipper2, glslang (for now), and libktx. [arguments]: Comment out "builtin_glslang=no" in #:scons-flags (for now). Change-Id: I8f6c20e3796ea96f2e6a6a167063f10a667bd4c3
This commit is contained in:
parent
31b981bdcd
commit
4cb7978a19
1 changed files with 14 additions and 3 deletions
|
@ -2095,7 +2095,7 @@ (define-public godot-lts
|
|||
(define-public godot
|
||||
(package
|
||||
(name "godot")
|
||||
(version "4.1.3")
|
||||
(version "4.2.1")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
|
@ -2104,7 +2104,7 @@ (define-public godot
|
|||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"1mwwzf77ixkalciqakn6q42g9sl2570didfll406sfs42wz534ng"))
|
||||
"0d5y678986lx4a4xjkxs5glh2dckp8wwl3r3mw72inq7gvaa18s3"))
|
||||
(modules '((guix build utils)
|
||||
(ice-9 ftw)
|
||||
(srfi srfi-1)))
|
||||
|
@ -2117,19 +2117,28 @@ (define-public godot
|
|||
(let* ((preserved-files
|
||||
'("README.md"
|
||||
"amd-fsr"
|
||||
"amd-fsr2"
|
||||
"assimp"
|
||||
"astcenc"
|
||||
"basis_universal"
|
||||
;; Godot needs ca-certificates.crt, but that is
|
||||
;; not available in build environment
|
||||
"certs"
|
||||
"clipper2"
|
||||
"cvtt"
|
||||
"linuxbsd_headers"
|
||||
"etc2comp"
|
||||
"etcpak"
|
||||
"fonts"
|
||||
"glad"
|
||||
;; TODO: Remove once Godot once again builds
|
||||
;; with our glslang package, or with a
|
||||
;; workaround. Currently it looks for a Types.h
|
||||
;; which is no longer in the glslang output
|
||||
;; after the most recent update.
|
||||
"glslang"
|
||||
"jpeg-compressor"
|
||||
"libktx"
|
||||
"libsimplewebm"
|
||||
"meshoptimizer"
|
||||
"minimp3"
|
||||
|
@ -2170,7 +2179,9 @@ (define-public godot
|
|||
"builtin_embree=no"
|
||||
"builtin_enet=no"
|
||||
"builtin_freetype=no"
|
||||
"builtin_glslang=no"
|
||||
;; TODO: Uncomment this option when the todo for
|
||||
;; glslang in the snippet is resolved.
|
||||
;; "builtin_glslang=no"
|
||||
"builtin_graphite=no"
|
||||
"builtin_harfbuzz=no"
|
||||
"builtin_icu4c=no"
|
||||
|
|
Loading…
Reference in a new issue