From 87b409d7e934a882313336e6bf872b00de67f8ef Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 29 Jul 2021 10:14:29 +0200 Subject: [PATCH] gnu: mame: Update to 0.234. * gnu/packages/emulators.scm (mame): Update to 0.234. --- gnu/packages/emulators.scm | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index b0870c8496..670e96aeb7 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm @@ -1772,7 +1772,7 @@ (define-public libticalcs2 (define-public mame (package (name "mame") - (version "0.233") + (version "0.234") (source (origin (method git-fetch) @@ -1781,7 +1781,7 @@ (define-public mame (commit (apply string-append "mame" (string-split version #\.))))) (file-name (git-file-name name version)) (sha256 - (base32 "1zq7hvss004mwczk3jvyalkj9c5v6npswhkc2wj7dxyxz770clb3")) + (base32 "010ing14pfwc0j7jnghjdcvq0qr7g4dplnggl545apyy61zigdkn")) (modules '((guix build utils))) (snippet ;; Remove bundled libraries. @@ -1790,8 +1790,7 @@ (define-public mame (for-each delete-file-recursively '("asio" "expat" "glm" "libflac" "libjpeg" "lua" "portaudio" "portmidi" "pugixml" "rapidjson" "SDL2" - "SDL2-override" "sqlite3" "utf8proc" "zlib"))) - #t)))) + "SDL2-override" "sqlite3" "utf8proc" "zlib"))))))) (build-system gnu-build-system) (arguments `(#:make-flags @@ -1829,16 +1828,14 @@ (define-public mame (install-file "uismall.bdf" fonts)) (when (file-exists? "mame64") (rename-file "mame64" "mame")) - (install-file "mame" (string-append out "/bin"))) - #t)) + (install-file "mame" (string-append out "/bin"))))) (add-after 'install 'install-documentation (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (man (string-append out "/share/man/man1")) (info (string-append out "/share/info"))) (install-file "docs/build/man/MAME.1" man) - (install-file "docs/build/texinfo/MAME.info" info)) - #t)) + (install-file "docs/build/texinfo/MAME.info" info)))) (add-after 'install 'install-ini-file ;; Generate an ini file so as to set some directories (e.g., roms) ;; to a writable location, i.e., "$HOME/.mame/" and "$HOME/mame/". @@ -1897,8 +1894,7 @@ (define-public mame select_directory $HOME/mame/select~@ icons_directory $HOME/mame/icons~@ covers_directory $HOME/mame/covers~@ - ui_path $HOME/.mame/ui~%"))) - #t))) + ui_path $HOME/.mame/ui~%")))))) (add-after 'install 'install-desktop-file (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) @@ -1917,8 +1913,7 @@ (define-public mame Type=Application~@ Categories=Game;Emulator;~@ Keywords=Game;Emulator;Arcade;~%" - executable))) - #t)))))) + executable))))))))) (native-inputs `(("pkg-config" ,pkg-config) ("sphinx" ,python-sphinx)