gnu: bsnes: Remove input labels and use gexps.

* gnu/packages/emulators.scm (bsnes) [arguments]: Use gexps.
[inputs]: Remove labels.
[home-page]: Update URL.

Change-Id: I69046d977c4647f46c1359d62b762149b8f70160
This commit is contained in:
Maxim Cournoyer 2024-09-19 19:51:38 +09:00
parent 7975585559
commit 1ca236a02a
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -2230,31 +2230,30 @@ (define-public bsnes
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0j054x38fwai61vj36sc04r3zkzay5acq2cgd9zqv5hs51s36g5b"))))
(base32 "0j054x38fwai61vj36sc04r3zkzay5acq2cgd9zqv5hs51s36g5b"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags (list "-C" "bsnes"
(list
#:make-flags #~(list "-C" "bsnes"
;; Remove march=native
"local=false"
(string-append "prefix=" (assoc-ref %outputs "out")))
#:tests? #f ; No tests.
#:phases (modify-phases %standard-phases
(string-append "prefix=" #$output))
#:tests? #f ;No tests.
#:phases #~(modify-phases %standard-phases
(delete 'configure))))
(native-inputs
(list pkg-config))
(native-inputs (list pkg-config))
(inputs
`(("alsa-lib" ,alsa-lib)
("ao" ,ao)
("cairo" ,cairo)
("eudev" ,eudev)
("gtksourceview-2" ,gtksourceview-2)
("libxrandr" ,libxrandr)
("libxv" ,libxv)
("openal" ,openal)
("pulseaudio" ,pulseaudio)
("sdl2" ,sdl2)))
(home-page "https://bsnes.dev/")
(list alsa-lib
ao
cairo
eudev
gtksourceview-2
libxrandr
libxv
openal
pulseaudio
sdl2))
(home-page "https://github.com/bsnes-emu/bsnes")
(synopsis "Emulator for the Super Nintendo / Super Famicom systems")
(description
"bsnes is a Super Nintendo / Super Famicom emulator that focuses on