gnu: dosbox-staging: Update to 0.82.0.

* gnu/packages/emulators.scm (dosbox-staging): Update to 0.82.0.
[arguments]: Enable MT-32 emulation.
[inputs]: Add mt32emu, googletest.

Change-Id: Ia8ccdd533be6932e2e4fc3660cb472791194523a
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
Andrew Wong 2025-03-04 13:47:43 -05:00 committed by 宋文武
parent c07778a149
commit 18e6031f74
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -571,7 +571,7 @@ older games.")
;; This is not a patch staging area for DOSBox, but an unaffiliated fork. ;; This is not a patch staging area for DOSBox, but an unaffiliated fork.
(package (package
(name "dosbox-staging") (name "dosbox-staging")
(version "0.81.0") (version "0.82.0")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -580,32 +580,27 @@ older games.")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1fkshxaq12pd72v8m2f3a6d6jk9gh39hn0846gfkfinvw7yykzrl")))) (base32 "1s4c6fiyjm91dnmkval9fvsqszc6yjq5b6pq895xi606dn29b85d"))))
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
(list #:configure-flags (list #:phases
#~(list
;; These both try to git clone subprojects.
"-Dunit_tests=disabled" ; gtest
"-Duse_mt32emu=false")
#:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'fix-includes (add-after 'unpack 'skip-failing-tests
(lambda _ (lambda _
;; This unnecessary file has an encoding error. (substitute* "tests/meson.build"
(delete-file "./src/libs/sdlcd/macosx/SDLOSXCAGuard.h") ;; XXX: This test fails with "Segmentation fault".
(substitute* (find-files "." "\\.(cpp|h)") (("[{].*'shell_cmds'.*,") "")))))))
(("^(#[[:space:]]*include <)(SDL[_.])" _ include file)
(string-append include "SDL2/" file))))))))
(native-inputs (native-inputs
(list pkg-config)) (list pkg-config))
(inputs (inputs
(list alsa-lib (list alsa-lib
fluidsynth fluidsynth
googletest
iir iir
libpng libpng
libslirp libslirp
mesa mesa
mt32emu
opusfile opusfile
sdl2 sdl2
sdl2-image sdl2-image