gnu: godot: Update to 3.4.
* gnu/packages/game-development.scm (godot): Update to 3.4. Signed-off-by: Leo Famulari <leo@famulari.name>master
parent
53d69a60e7
commit
af067eaff4
|
@ -1846,7 +1846,7 @@ games.")
|
||||||
(define-public godot
|
(define-public godot
|
||||||
(package
|
(package
|
||||||
(name "godot")
|
(name "godot")
|
||||||
(version "3.2.3")
|
(version "3.4")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -1855,7 +1855,7 @@ games.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"19vrp5lhyvxbm6wjxzn28sn3i0s8j08ca7nani8l1nrhvlc8wi0v"))
|
"0y542zla6msgxf31rd0349d9j3ya7f3njnwmmrh8lmzfgxx86qbx"))
|
||||||
(modules '((guix build utils)
|
(modules '((guix build utils)
|
||||||
(ice-9 ftw)
|
(ice-9 ftw)
|
||||||
(srfi srfi-1)))
|
(srfi srfi-1)))
|
||||||
|
@ -1870,19 +1870,23 @@ games.")
|
||||||
"assimp"
|
"assimp"
|
||||||
"certs"
|
"certs"
|
||||||
"cvtt"
|
"cvtt"
|
||||||
|
"embree"
|
||||||
"enet"
|
"enet"
|
||||||
"etc2comp"
|
"etc2comp"
|
||||||
"fonts"
|
"fonts"
|
||||||
"glad"
|
"glad"
|
||||||
"jpeg-compressor"
|
"jpeg-compressor"
|
||||||
"libsimplewebm"
|
"libsimplewebm"
|
||||||
|
"minimp3"
|
||||||
"miniupnpc"
|
"miniupnpc"
|
||||||
"minizip"
|
"minizip"
|
||||||
"misc"
|
"misc"
|
||||||
"nanosvg"
|
"nanosvg"
|
||||||
|
"oidn"
|
||||||
"pvrtccompressor"
|
"pvrtccompressor"
|
||||||
"recastnavigation"
|
"recastnavigation"
|
||||||
"squish"
|
"squish"
|
||||||
|
"stb_rect_pack"
|
||||||
"tinyexr"
|
"tinyexr"
|
||||||
"vhacd"
|
"vhacd"
|
||||||
"xatlas")))
|
"xatlas")))
|
||||||
|
@ -1950,6 +1954,19 @@ games.")
|
||||||
(wrap-program (string-append out "/bin/godot")
|
(wrap-program (string-append out "/bin/godot")
|
||||||
`("PATH" ":" prefix (,(string-append zenity "/bin")))))
|
`("PATH" ":" prefix (,(string-append zenity "/bin")))))
|
||||||
#t))
|
#t))
|
||||||
|
(add-after 'install 'wrap
|
||||||
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
|
;; FIXME: Mesa tries to dlopen libudev.so.0 and fails. Pending a
|
||||||
|
;; fix of the mesa package we wrap the pcb executable such that
|
||||||
|
;; Mesa can find libudev.so.0 through LD_LIBRARY_PATH.
|
||||||
|
;; also append ld path for pulseaudio and alsa-lib
|
||||||
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
(udev_path (string-append (assoc-ref inputs "udev") "/lib"))
|
||||||
|
(pulseaudio_path (string-append (assoc-ref inputs "pulseaudio") "/lib"))
|
||||||
|
(alas_lib_path (string-append (assoc-ref inputs "alsa-lib") "/lib")))
|
||||||
|
(wrap-program (string-append out "/bin/godot")
|
||||||
|
`("LD_LIBRARY_PATH" ":" prefix (,udev_path ,pulseaudio_path ,alas_lib_path))))
|
||||||
|
#t))
|
||||||
(add-after 'install 'install-godot-desktop
|
(add-after 'install 'install-godot-desktop
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
@ -1986,6 +2003,7 @@ games.")
|
||||||
("opusfile" ,opusfile)
|
("opusfile" ,opusfile)
|
||||||
("pcre2" ,pcre2)
|
("pcre2" ,pcre2)
|
||||||
("pulseaudio" ,pulseaudio)
|
("pulseaudio" ,pulseaudio)
|
||||||
|
("udev" ,eudev) ;FIXME: required by mesa
|
||||||
("wslay" ,wslay)
|
("wslay" ,wslay)
|
||||||
("zenity" ,zenity)
|
("zenity" ,zenity)
|
||||||
("zstd" ,zstd "lib")))
|
("zstd" ,zstd "lib")))
|
||||||
|
|
Reference in New Issue