gnu: ioquake3: Use G-expressions.

* gnu/packages/game-development.scm (ioquake3)[arguments]:
Rewrite as G-expressions.
This commit is contained in:
Tobias Geerinckx-Rice 2022-08-14 02:00:01 +02:00
parent ee2657a018
commit 466021fb90
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -2165,23 +2165,25 @@ (define-public ioquake3
(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