Archived
1
0
Fork 0

gnu: mupen64plus-ui-console: Modernize.

* gnu/packages/emulators.scm (mupen64plus-ui-console)
[propagated-inputs]: Remove legacy mupen64plus-video-glide64 plugin.
[arguments]: Use gexps.

Change-Id: I33ce0ef1e7ea87b382f74aae07098bcf0e5f30e0
This commit is contained in:
Maxim Cournoyer 2024-05-05 15:58:58 -04:00
parent 3a1737aaa2
commit 79a51c910c
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -1318,29 +1318,27 @@ Z64 video plugin.")
mupen64plus-audio-sdl mupen64plus-audio-sdl
mupen64plus-input-sdl mupen64plus-input-sdl
mupen64plus-rsp-hle mupen64plus-rsp-hle
mupen64plus-video-glide64
mupen64plus-video-glide64mk2 mupen64plus-video-glide64mk2
mupen64plus-video-rice)) mupen64plus-video-rice))
(arguments (arguments
'(#:phases (list
(modify-phases %standard-phases #:phases
;; The mupen64plus build system has no configure phase. #~(modify-phases %standard-phases
(delete 'configure) ;; The mupen64plus build system has no configure phase.
;; Makefile is in a subdirectory. (delete 'configure)
(add-before ;; Makefile is in a subdirectory.
'build 'cd-to-project-dir (add-before 'build 'cd-to-project-dir
(lambda _ (lambda _
(chdir "projects/unix")))) (chdir "projects/unix"))))
#:make-flags #:make-flags
(let ((out (assoc-ref %outputs "out")) #~(let ((m64p #$(this-package-input "mupen64plus-core")))
(m64p (assoc-ref %build-inputs "mupen64plus-core"))) (list "all"
(list "all" (string-append "PREFIX=" #$output)
(string-append "PREFIX=" out) (string-append "APIDIR=" m64p "/include/mupen64plus")
(string-append "APIDIR=" m64p "/include/mupen64plus") ;; Trailing slash matters here.
;; Trailing slash matters here. (string-append "COREDIR=" m64p "/lib/")))
(string-append "COREDIR=" m64p "/lib/"))) ;; There are no tests.
;; There are no tests. #:tests? #f))
#:tests? #f))
(home-page "https://www.mupen64plus.org/") (home-page "https://www.mupen64plus.org/")
(synopsis "Mupen64Plus command line user interface") (synopsis "Mupen64Plus command line user interface")
(description (description