[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: gnu: godot: Add zenity for showing alerts.
From: |
guix-commits |
Subject: |
03/03: gnu: godot: Add zenity for showing alerts. |
Date: |
Sun, 2 Feb 2020 16:11:43 -0500 (EST) |
lfam pushed a commit to branch master
in repository guix.
commit 7b2ba609c3663b77ede10199c9d49855ee1ab0b4
Author: Timotej Lazar <address@hidden>
AuthorDate: Sat Feb 1 14:00:39 2020 +0100
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 <address@hidden>
---
gnu/packages/game-development.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/game-development.scm
b/gnu/packages/game-development.scm
index c9a8b92..6fa4fed 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -1599,6 +1599,10 @@ games.")
(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 @@ games.")
("pcre2" ,pcre2)
("pulseaudio" ,pulseaudio)
("wslay" ,wslay)
+ ("zenity" ,zenity)
("zstd" ,zstd "lib")))
(home-page "https://godotengine.org/")
(synopsis "Advanced 2D and 3D game engine")