gnu: godot-lts: Update to 3.5.3.
* gnu/packages/game-development.scm (godot-lts): Update to 3.5.3. [arguments]<#:scons>: Update to scons-python. Remove argument. <#:phases>: Rename phase 'wrap to 'wrap-ld-path, remove mesa-related comment that seems to be fixed. [inputs]: Replace freetype by freetype-with-brotli. Change-Id: Ia83bc33bd0b944342ba413b46f0963d3f2197bf5 Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
parent
ef54287fef
commit
7f1c40df92
1 changed files with 8 additions and 14 deletions
|
|
@ -1927,7 +1927,7 @@ games.")
|
||||||
(define-public godot-lts
|
(define-public godot-lts
|
||||||
(package
|
(package
|
||||||
(name "godot")
|
(name "godot")
|
||||||
(version "3.4.2")
|
(version "3.5.3")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
|
@ -1936,7 +1936,7 @@ games.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1bm9yl995chvx6jwkdia12yjrgwcpzb1r9bmj606q8z264aw2ma5"))
|
"0zibc6am9axbbm8l57jf2d324a2m44pf6ncp2i4h1b219jjq89l6"))
|
||||||
(modules '((guix build utils)
|
(modules '((guix build utils)
|
||||||
(ice-9 ftw)
|
(ice-9 ftw)
|
||||||
(srfi srfi-1)))
|
(srfi srfi-1)))
|
||||||
|
|
@ -1948,7 +1948,6 @@ games.")
|
||||||
(with-directory-excursion "thirdparty"
|
(with-directory-excursion "thirdparty"
|
||||||
(let* ((preserved-files
|
(let* ((preserved-files
|
||||||
'("README.md"
|
'("README.md"
|
||||||
"assimp"
|
|
||||||
"certs"
|
"certs"
|
||||||
"cvtt"
|
"cvtt"
|
||||||
"embree"
|
"embree"
|
||||||
|
|
@ -1966,6 +1965,7 @@ games.")
|
||||||
"oidn"
|
"oidn"
|
||||||
"pvrtccompressor"
|
"pvrtccompressor"
|
||||||
"recastnavigation"
|
"recastnavigation"
|
||||||
|
"rvo2"
|
||||||
"squish"
|
"squish"
|
||||||
"stb_rect_pack"
|
"stb_rect_pack"
|
||||||
"tinyexr"
|
"tinyexr"
|
||||||
|
|
@ -1977,8 +1977,7 @@ games.")
|
||||||
(cons* "." ".." preserved-files)))))))))
|
(cons* "." ".." preserved-files)))))))))
|
||||||
(build-system scons-build-system)
|
(build-system scons-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:scons ,scons-python2
|
`(#:scons-flags (list "platform=x11" "target=release_debug"
|
||||||
#:scons-flags (list "platform=x11" "target=release_debug"
|
|
||||||
;; Avoid using many of the bundled libs.
|
;; Avoid using many of the bundled libs.
|
||||||
;; Note: These options can be found in the SConstruct file.
|
;; Note: These options can be found in the SConstruct file.
|
||||||
"builtin_bullet=no"
|
"builtin_bullet=no"
|
||||||
|
|
@ -2032,18 +2031,13 @@ games.")
|
||||||
;; Tell the editor where to find zenity for OS.alert().
|
;; Tell the editor where to find zenity for OS.alert().
|
||||||
(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")))))))
|
||||||
(add-after 'install 'wrap
|
(add-after 'install 'wrap-ld-path
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(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"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
(udev_path (string-append (assoc-ref inputs "eudev") "/lib"))
|
|
||||||
(pulseaudio_path (string-append (assoc-ref inputs "pulseaudio") "/lib"))
|
(pulseaudio_path (string-append (assoc-ref inputs "pulseaudio") "/lib"))
|
||||||
(alas_lib_path (string-append (assoc-ref inputs "alsa-lib") "/lib")))
|
(alas_lib_path (string-append (assoc-ref inputs "alsa-lib") "/lib")))
|
||||||
(wrap-program (string-append out "/bin/godot")
|
(wrap-program (string-append out "/bin/godot")
|
||||||
`("LD_LIBRARY_PATH" ":" prefix (,udev_path ,pulseaudio_path ,alas_lib_path))))))
|
`("LD_LIBRARY_PATH" ":" prefix (,pulseaudio_path ,alas_lib_path))))))
|
||||||
(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"))
|
||||||
|
|
@ -2064,7 +2058,7 @@ games.")
|
||||||
(inputs
|
(inputs
|
||||||
(list alsa-lib
|
(list alsa-lib
|
||||||
bullet
|
bullet
|
||||||
freetype
|
freetype-with-brotli
|
||||||
glew
|
glew
|
||||||
glu
|
glu
|
||||||
libtheora
|
libtheora
|
||||||
|
|
@ -2081,7 +2075,7 @@ games.")
|
||||||
opusfile
|
opusfile
|
||||||
pcre2
|
pcre2
|
||||||
pulseaudio
|
pulseaudio
|
||||||
eudev ; FIXME: required by mesa
|
eudev
|
||||||
wslay
|
wslay
|
||||||
zenity
|
zenity
|
||||||
`(,zstd "lib")))
|
`(,zstd "lib")))
|
||||||
|
|
|
||||||
Reference in a new issue