Message ID | c6379ee2defadd9ec08b99a63e7d1bfeb20fd310.1727940344.git.maxim.cournoyer@gmail.com |
---|---|
State | New |
Headers | show |
Series | Add Jolly Good and some of its emulators | expand |
Am Donnerstag, dem 03.10.2024 um 16:25 +0900 schrieb Maxim Cournoyer: > * gnu/packages/emulators.scm (bsnes) [arguments]: Use gexps. > [inputs]: Remove labels. > [home-page]: Update URL. > > Change-Id: I69046d977c4647f46c1359d62b762149b8f70160 > --- I think we should write out "G-Expressions". For the header, since we do both style improvements, I'd just write "Use new package style", though that one's a bit more controversial ;) Content-wise LGTM.
Hi Liliana, Liliana Marie Prikler <liliana.prikler@gmail.com> writes: > Am Donnerstag, dem 03.10.2024 um 16:25 +0900 schrieb Maxim Cournoyer: >> * gnu/packages/emulators.scm (bsnes) [arguments]: Use gexps. >> [inputs]: Remove labels. >> [home-page]: Update URL. >> >> Change-Id: I69046d977c4647f46c1359d62b762149b8f70160 >> --- > I think we should write out "G-Expressions". I think both are acceptable; just like we can write sexps for S-Expressions, gexps for G-Expressions seems to the point (and requires less typing). > For the header, since we > do both style improvements, I'd just write "Ujse new package style", > though that one's a bit more controversial ;) Yeah. That may not age too well if/when we have yet a newer package style, haha! > Content-wise LGTM. Thanks for taking a look.
diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index 4dc61bdbff..50a7b67121 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm @@ -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" - ;; Remove march=native - "local=false" - (string-append "prefix=" (assoc-ref %outputs "out"))) - #:tests? #f ; No tests. - #:phases (modify-phases %standard-phases - (delete 'configure)))) - (native-inputs - (list pkg-config)) + (list + #:make-flags #~(list "-C" "bsnes" + ;; Remove march=native + "local=false" + (string-append "prefix=" #$output)) + #:tests? #f ;No tests. + #:phases #~(modify-phases %standard-phases + (delete 'configure)))) + (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