nckx pushed a commit to branch master
in repository guix.
commit 466021fb90d88ef9cecbb8cd491e7991bae1b6e5
Author: Tobias Geerinckx-Rice <[email protected]>
AuthorDate: Sun Aug 14 02:00:01 2022 +0200
gnu: ioquake3: Use G-expressions.
* gnu/packages/game-development.scm (ioquake3)[arguments]:
Rewrite as G-expressions.
---
gnu/packages/game-development.scm | 34 ++++++++++++++++++----------------
1 file changed, 18 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/game-development.scm
b/gnu/packages/game-development.scm
index e4a7ce1ae1..774564ed2a 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -2165,23 +2165,25 @@ of the others")
(list which ; Else SDL_version.h won't be found.
pkg-config))
(arguments
- '(#:tests? #f ; No tests.
- #:make-flags '("CC=gcc"
+ (list
+ #:tests? #f ; no tests
+ #:make-flags
+ #~(list "CC=gcc"
+ "USE_INTERNAL_LIBS=0"
+ "USE_FREETYPE=1"
+ "USE_RENDERER_DLOPEN=0"
+ "USE_OPENAL_DLOPEN=0"
+ "USE_CURL_DLOPEN=0")
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure) ; no configure-script
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (invoke "make" "copyfiles" "CC=gcc"
"USE_INTERNAL_LIBS=0"
- "USE_FREETYPE=1"
- "USE_RENDERER_DLOPEN=0"
- "USE_OPENAL_DLOPEN=0"
- "USE_CURL_DLOPEN=0")
- #:phases
- (modify-phases %standard-phases
- (delete 'configure)
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (invoke "make" "copyfiles" "CC=gcc"
- "USE_INTERNAL_LIBS=0"
- (string-append "COPYDIR="
- (assoc-ref outputs "out")
- "/bin")))))))
+ (string-append "COPYDIR="
+ (assoc-ref outputs "out")
+ "/bin")))))))
(home-page "https://ioquake3.org/")
(synopsis "FPS game engine based on Quake 3")
(description "ioquake3 is a free software first person shooter engine