(address . guix-patches@gnu.org)(name . altadil)(address . altadil@protonmail.com)
* gnu/packages/emulators.scm (mgba): Update to 0.10.2.
---
gnu/packages/emulators.scm | 75 ++++++++++++++++++--------------------
1 file changed, 36 insertions(+), 39 deletions(-)
Toggle diff (92 lines)
diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index 13b6022308..44c8626f2b 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -725,47 +725,44 @@ (define-public mednafen
(define-public mgba
(package
(name "mgba")
- (version "0.10.1")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/mgba-emu/mgba")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32 "0pqfjsr9q61a3mgmvqxxkalxb838k46q9ilz31frpcvvndif0sm1"))
- (modules '((guix build utils)))
- (snippet
- ;; Make sure we don't use the bundled software.
- '(begin
- (for-each
- (lambda (subdir)
- (let ((lib-subdir (string-append "src/third-party/" subdir)))
- (delete-file-recursively lib-subdir)))
- '("libpng" "lzma" "sqlite3" "zlib"))))))
+ (version "0.10.2")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mgba-emu/mgba")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1wwpjcblp2c1svab4z1if5xb7707wsy6zw590lwdz9za35i0h37q"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; Make sure we don't use the bundled software.
+ '(begin
+ (for-each (lambda (subdir)
+ (let ((lib-subdir (string-append
+ "src/third-party/" subdir)))
+ (delete-file-recursively lib-subdir)))
+ '("libpng" "lzma" "sqlite3" "zlib"))))))
(build-system cmake-build-system)
(arguments
- `(#:tests? #f ;no "test" target
- #:configure-flags
- (list "-DUSE_LZMA=OFF" ;do not use bundled LZMA
- "-DUSE_LIBZIP=OFF"))) ;use "zlib" instead
- (native-inputs
- (list pkg-config qttools-5))
- (inputs
- (list ffmpeg
- libedit
- libelf
- libepoxy
- libpng
- mesa
- minizip
- ncurses
- qtbase-5
- qtmultimedia-5
- sdl2
- sqlite
- zlib))
+ `(#:tests? #f ;no "test" target
+ #:configure-flags (list "-DUSE_LZMA=OFF" ;do not use bundled LZMA
+ "-DUSE_LIBZIP=OFF"))) ;use "zlib" instead
+ (native-inputs (list pkg-config qttools-5))
+ (inputs (list ffmpeg
+ libedit
+ libelf
+ libepoxy
+ libpng
+ mesa
+ minizip
+ ncurses
+ qtbase-5
+ qtmultimedia-5
+ sdl2
+ sqlite
+ zlib))
(home-page "https://mgba.io")
(synopsis "Game Boy Advance emulator")
(description
base-commit: b96b82bcd4bc24529941ff74a91432481f1a71b5
--
2.40.1