gnu: libretro-lowresnx: Use gexps.

* gnu/packages/emulators.scm (libretro-lowresnx)
[arguments]: Use gexps.

Change-Id: I0db6455684d44868dd9577690e8ac1bd98a1abd2
This commit is contained in:
Maxim Cournoyer 2024-09-28 09:39:41 +09:00
parent 0aa36db198
commit d8b34052b2
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -1477,19 +1477,16 @@ (define-public libretro-lowresnx
"0b0vg3iz342dpkffvf7frsnqh8inj8yzi8550bsx8vnbpq5r2ay5"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; no tests
#:make-flags (list "-C" "platform/LibRetro"
(string-append "CC=" ,(cc-for-target)))
#:phases
(modify-phases %standard-phases
(delete 'configure) ; no configure script
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(libretrodir (string-append out "/lib/libretro")))
(install-file "platform/LibRetro/lowresnx_libretro.so"
libretrodir)
#t))))))
(list #:tests? #f ;no test suite
#:make-flags #~(list "-C" "platform/LibRetro"
(string-append "CC=" #$(cc-for-target)))
#:phases
#~(modify-phases %standard-phases
(delete 'configure) ;no configure script
(replace 'install
(lambda _
(install-file "platform/LibRetro/lowresnx_libretro.so"
(string-append #$output "/lib/libretro")))))))
(home-page "https://lowresnx.inutilis.com/")
(synopsis "Libretro core for LowRES NX")
(description "LowRES NX is a simulated retro game console, which can be