mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 12:39:36 -05:00
gnu: godot: Add zenity for showing alerts.
* gnu/packages/game-development.scm (godot)[inputs]: Add zenity. [arguments]: Wrap godot to look for it in the store. Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
parent
451e1075f0
commit
7b2ba609c3
1 changed files with 5 additions and 0 deletions
|
@ -1599,6 +1599,10 @@ (define-public godot
|
|||
(rename-file "godot.x11.tools.64" "godot")
|
||||
(rename-file "godot.x11.tools.32" "godot"))
|
||||
(install-file "godot" bin))
|
||||
;; Tell Godot where to find zenity for OS.alert().
|
||||
(wrap-program (string-append bin "/godot")
|
||||
`("PATH" ":" prefix
|
||||
(,(string-append (assoc-ref %build-inputs "zenity") "/bin"))))
|
||||
#t)))
|
||||
(add-after 'install 'install-godot-desktop
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
|
@ -1642,6 +1646,7 @@ (define-public godot
|
|||
("pcre2" ,pcre2)
|
||||
("pulseaudio" ,pulseaudio)
|
||||
("wslay" ,wslay)
|
||||
("zenity" ,zenity)
|
||||
("zstd" ,zstd "lib")))
|
||||
(home-page "https://godotengine.org/")
|
||||
(synopsis "Advanced 2D and 3D game engine")
|
||||
|
|
Loading…
Reference in a new issue