Archived
1
0
Fork 0

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 @@ of the others")
(list which ; Else SDL_version.h won't be found. (list which ; Else SDL_version.h won't be found.
pkg-config)) pkg-config))
(arguments (arguments
'(#:tests? #f ; No tests. (list
#:make-flags '("CC=gcc" #: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_INTERNAL_LIBS=0"
"USE_FREETYPE=1" (string-append "COPYDIR="
"USE_RENDERER_DLOPEN=0" (assoc-ref outputs "out")
"USE_OPENAL_DLOPEN=0" "/bin")))))))
"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")))))))
(home-page "https://ioquake3.org/") (home-page "https://ioquake3.org/")
(synopsis "FPS game engine based on Quake 3") (synopsis "FPS game engine based on Quake 3")
(description "ioquake3 is a free software first person shooter engine (description "ioquake3 is a free software first person shooter engine