gnu: mame: Update to 0.239.

* gnu/packages/emulators.scm (mame): Update to 0.239.
[arguments]<#:make-flags>: Use gexps.
[native-inputs]: Remove labels.
[inputs]: Remove labels.
This commit is contained in:
Nicolas Goaziou 2021-12-29 16:29:28 +01:00
parent deafb5c3fe
commit 2f5b529480
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D

View File

@ -1710,7 +1710,7 @@ This is a part of the TiLP project.")
(define-public mame (define-public mame
(package (package
(name "mame") (name "mame")
(version "0.238") (version "0.239")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -1719,7 +1719,7 @@ This is a part of the TiLP project.")
(commit (apply string-append "mame" (string-split version #\.))))) (commit (apply string-append "mame" (string-split version #\.)))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "188h9a4lla0gimbss1bfvlidsm0l8smhqrhplv973k8j2jgf74fb")) (base32 "02by0pq0j8pi5dllk90g94nbszynp9wqg75bl5x8bqrc7h80a0dq"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
;; Remove bundled libraries. ;; Remove bundled libraries.
@ -1731,21 +1731,20 @@ This is a part of the TiLP project.")
"SDL2-override" "sqlite3" "utf8proc" "zlib"))))))) "SDL2-override" "sqlite3" "utf8proc" "zlib")))))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:make-flags (list
(cons* #:make-flags
#~(cons*
;; A 'strict-overflow' error pops up on i686 so disable '-Werror'. ;; A 'strict-overflow' error pops up on i686 so disable '-Werror'.
"NOWERROR=1" "NOWERROR=1"
(string-append "QT_HOME=" (assoc-ref %build-inputs "qtbase")) (string-append "QT_HOME=" #$(this-package-input "qtbase-5"))
(string-append "SDL_INI_PATH=" (string-append "SDL_INI_PATH=" #$output "/share/mame/ini")
(assoc-ref %outputs "out")
"/share/mame/ini")
(map (lambda (lib) (map (lambda (lib)
(string-append "USE_SYSTEM_LIB_" (string-upcase lib) "=1")) (string-append "USE_SYSTEM_LIB_" (string-upcase lib) "=1"))
'("asio" "expat" "flac" "glm" "jpeg" "lua" "portaudio" "portmidi" '("asio" "expat" "flac" "glm" "jpeg" "lua" "portaudio" "portmidi"
"pugixml" "rapidjson" "sqlite3" "utf8proc" "zlib"))) "pugixml" "rapidjson" "sqlite3" "utf8proc" "zlib")))
#:tests? #f ;no test in regular release #:tests? #f ;no test in regular release
#:phases #:phases
(modify-phases %standard-phases `(modify-phases %standard-phases
(delete 'configure) (delete 'configure)
(add-after 'build 'build-documentation (add-after 'build 'build-documentation
(lambda _ (invoke "make" "-C" "docs" "man" "info"))) (lambda _ (invoke "make" "-C" "docs" "man" "info")))
@ -1853,32 +1852,32 @@ This is a part of the TiLP project.")
Keywords=Game;Emulator;Arcade;~%" Keywords=Game;Emulator;Arcade;~%"
executable))))))))) executable)))))))))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) (list pkg-config
("sphinx" ,python-sphinx) python-sphinx
("sphinxcontrib-svg2pdfconverter" ,python-sphinxcontrib-svg2pdfconverter) python-sphinxcontrib-svg2pdfconverter
("texinfo" ,texinfo))) texinfo))
(inputs (inputs
`(("alsa-lib" ,alsa-lib) (list alsa-lib
("asio" ,asio) asio
("expat" ,expat) expat
("flac" ,flac) flac
("fontconfig" ,fontconfig) fontconfig
("glm" ,glm) glm
("libjpeg" ,libjpeg-turbo) libjpeg-turbo
("libxi" ,libxi) libxi
("libxinerama" ,libxinerama) libxinerama
("lua" ,lua) lua
("portaudio" ,portaudio) portaudio
("portmidi" ,portmidi) portmidi
("pugixml" ,pugixml) pugixml
("pulseaudio" ,pulseaudio) pulseaudio
("python-wrapper" ,python-wrapper) python-wrapper
("qtbase" ,qtbase-5) qtbase-5
("rapidjson" ,rapidjson) rapidjson
("sdl" ,(sdl-union (list sdl2 sdl2-ttf))) (sdl-union (list sdl2 sdl2-ttf))
("sqlite" ,sqlite) sqlite
("utf8proc" ,utf8proc) utf8proc
("zlib" ,zlib))) zlib))
(home-page "https://www.mamedev.org") (home-page "https://www.mamedev.org")
(synopsis "Multi-purpose emulation framework") (synopsis "Multi-purpose emulation framework")
(description "MAME's purpose is to preserve decades of software (description "MAME's purpose is to preserve decades of software