gnu: mgba: Update to 0.10.5-0.c6aa8f5.

* gnu/packages/emulators.scm (mgba): Update to 0.10.5-0.c6aa8f5.
[#:test-exclude]: New argument.

Fixes: #2804
Change-Id: I0352200c4e410f658f25150b17d933b32358f4c1
This commit is contained in:
Maxim Cournoyer 2025-09-20 17:35:03 +09:00
parent 20253429f2
commit 3559381d6e
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -1088,19 +1088,22 @@ The following systems are supported:
(license (list license:gpl2+ license:bsd-3)))) (license (list license:gpl2+ license:bsd-3))))
(define-public mgba (define-public mgba
;; Use the latest commit, as the last release does not support Qt 6 yet.
(let ((commit "c6aa8f5523b21fd84336c9855b7f4df54a606a32")
(revision "0"))
(package (package
(name "mgba") (name "mgba")
(version "0.10.5") (version (git-version "0.10.5" revision commit))
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/mgba-emu/mgba") (url "https://github.com/mgba-emu/mgba")
(commit version))) (commit commit)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1scyvcp8l5z1sy1hcr0wgdf8zrirg07fzqjdmhkjnyhxmb9sibb5")) "0dfsz4dsh49dc9xx9rjhfzfkg4h91i2ksgp2inlr9yhgldw9q8h3"))
(modules '((guix build utils) (modules '((guix build utils)
(ice-9 ftw) (ice-9 ftw)
(srfi srfi-26))) (srfi srfi-26)))
@ -1123,7 +1126,11 @@ The following systems are supported:
#~(list "-DBUILD_SUITE=ON" #~(list "-DBUILD_SUITE=ON"
"-DUSE_DISCORD_RPC=OFF" ;avoid bundled copy "-DUSE_DISCORD_RPC=OFF" ;avoid bundled copy
"-DUSE_LIBZIP=OFF" ;use "zlib" instead "-DUSE_LIBZIP=OFF" ;use "zlib" instead
"-DUSE_LZMA=OFF"))) ;do not use bundled LZMA "-DUSE_LZMA=OFF") ;do not use bundled LZMA
;; The platform-qt-autoscript and platform-qt-library tests fails due
;; to 'LibraryModelTest::testList' not returning the expected value
;; (see: <https://github.com/mgba-emu/mgba/issues/3593>).
#:test-exclude "(platform-qt-autoscript|platform-qt-library)"))
(native-inputs (list cmocka pkg-config qttools)) (native-inputs (list cmocka pkg-config qttools))
(inputs (inputs
(list ffmpeg (list ffmpeg
@ -1148,7 +1155,7 @@ well as adding features that other emulators lack. It also supports Game Boy
and Game Boy Color games") and Game Boy Color games")
(license (list license:mpl2.0 ;mgba itself (license (list license:mpl2.0 ;mgba itself
license:lgpl2.1+ ;blip_buf bundled library license:lgpl2.1+ ;blip_buf bundled library
license:bsd-3)))) ;inih bundled library license:bsd-3))))) ;inih bundled library
(define-public mgba-for-dolphin (define-public mgba-for-dolphin
;; The commit should match that of the mgba git submodule in dolphin (see: ;; The commit should match that of the mgba git submodule in dolphin (see: