gnu: mgba: Update to 0.9.2.

* gnu/packages/emulators.scm (mgba): Update to 0.9.2.
This commit is contained in:
Nicolas Goaziou 2021-07-26 09:22:05 +02:00
parent 11afd46519
commit eb1a5dddda
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -724,7 +724,7 @@ (define-public mednafen
(define-public mgba (define-public mgba
(package (package
(name "mgba") (name "mgba")
(version "0.9.1") (version "0.9.2")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -733,7 +733,7 @@ (define-public mgba
(commit version))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "163azad5y4zxwzxyrb481rwfc2p86v99pf7nvdr6bavzq98x2z8h")) (base32 "16kngkzf08jflqxwbgafb47091vqqb9pbhazg9cd94cy81ahz3q3"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
;; Make sure we don't use the bundled software. ;; Make sure we don't use the bundled software.
@ -742,29 +742,30 @@ (define-public mgba
(lambda (subdir) (lambda (subdir)
(let ((lib-subdir (string-append "src/third-party/" subdir))) (let ((lib-subdir (string-append "src/third-party/" subdir)))
(delete-file-recursively lib-subdir))) (delete-file-recursively lib-subdir)))
'("libpng" "lzma" "sqlite3" "zlib")) '("libpng" "lzma" "sqlite3" "zlib"))))))
#t))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:tests? #f ;no "test" target `(#:tests? #f ;no "test" target
#:configure-flags #:configure-flags
(list "-DUSE_LZMA=OFF" ;do not use bundled LZMA (list "-DUSE_LZMA=OFF" ;do not use bundled LZMA
"-DUSE_LIBZIP=OFF"))) ;use "zlib" instead "-DUSE_LIBZIP=OFF"))) ;use "zlib" instead
(native-inputs `(("pkg-config" ,pkg-config) (native-inputs
("qttools" ,qttools))) `(("pkg-config" ,pkg-config)
(inputs `(("ffmpeg" ,ffmpeg) ("qttools" ,qttools)))
("libedit" ,libedit) (inputs
("libelf" ,libelf) `(("ffmpeg" ,ffmpeg)
("libepoxy" ,libepoxy) ("libedit" ,libedit)
("libpng" ,libpng) ("libelf" ,libelf)
("mesa" ,mesa) ("libepoxy" ,libepoxy)
("minizip" ,minizip) ("libpng" ,libpng)
("ncurses" ,ncurses) ("mesa" ,mesa)
("qtbase" ,qtbase-5) ("minizip" ,minizip)
("qtmultimedia" ,qtmultimedia) ("ncurses" ,ncurses)
("sdl2" ,sdl2) ("qtbase" ,qtbase-5)
("sqlite" ,sqlite) ("qtmultimedia" ,qtmultimedia)
("zlib" ,zlib))) ("sdl2" ,sdl2)
("sqlite" ,sqlite)
("zlib" ,zlib)))
(home-page "https://mgba.io") (home-page "https://mgba.io")
(synopsis "Game Boy Advance emulator") (synopsis "Game Boy Advance emulator")
(description (description