me
/
guix
Archived
1
0
Fork 0

gnu: mgba: Update to 0.7.0.

* gnu/packages/emulators.scm (mgba): Update to 0.7.0.
[source]: Use git-fetch.
[arguments]: Remove "-DCMAKE_INSTALL_LIBDIR" configuration flag.
master
Rutger Helling 2019-01-28 09:15:09 +01:00
parent 86228e569b
commit 6ea1c6fc31
No known key found for this signature in database
GPG Key ID: F3A727DB44FCCA36
1 changed files with 8 additions and 9 deletions

View File

@ -406,15 +406,16 @@ Super Game Boy, BS-X Satellaview, and Sufami Turbo.")
(define-public mgba (define-public mgba
(package (package
(name "mgba") (name "mgba")
(version "0.6.3") (version "0.7.0")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/mgba-emu/mgba/archive/" (uri (git-reference
version ".tar.gz")) (url "https://github.com/mgba-emu/mgba.git")
(file-name (string-append name "-" version ".tar.gz")) (commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"16hgs6r5iym3lp2cjcnv9955333976yc5sgy2kkxlsi005n91j1m")) "0s4dl4pi8rxqahvzxnh37xdgsfax36cn5wlh1srdcmabwsrfpb3w"))
(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.
@ -430,9 +431,7 @@ Super Game Boy, BS-X Satellaview, and Sufami Turbo.")
`(#: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
(string-append "-DCMAKE_INSTALL_LIBDIR="
(assoc-ref %outputs "out") "/lib"))))
(native-inputs `(("pkg-config" ,pkg-config))) (native-inputs `(("pkg-config" ,pkg-config)))
(inputs `(("ffmpeg" ,ffmpeg) (inputs `(("ffmpeg" ,ffmpeg)
("imagemagick" ,imagemagick) ("imagemagick" ,imagemagick)