Skip to content
Snippets Groups Projects
Unverified Commit 63d69215 authored by Nicolas Goaziou's avatar Nicolas Goaziou
Browse files

gnu: scummvm: Update to 2.2.0.

* gnu/packages/emulators.scm (scummvm): Update to 2.2.0.
[arguments]: Remove unnecessary phase.
[inputs]: Add fribidi.
parent 981cdc90
No related branches found
No related tags found
No related merge requests found
...@@ -1327,34 +1327,20 @@ (define-public retroarch ...@@ -1327,34 +1327,20 @@ (define-public retroarch
(define-public scummvm (define-public scummvm
(package (package
(name "scummvm") (name "scummvm")
(version "2.1.2") (version "2.2.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "http://www.scummvm.org/frs/scummvm/" version (uri (string-append "http://www.scummvm.org/frs/scummvm/" version
"/scummvm-" version ".tar.xz")) "/scummvm-" version ".tar.xz"))
(sha256 (sha256
(base32 "1c4fz1nfg0nqnqx9iipayhzcsiqdmfxm2i95nw9dbhshhsdnrhf4")))) (base32 "11vknasm5dna2vqr6gk343qynh7nhsq3kf60zayarn1vb5z6as8l"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:tests? #f ;require "git" `(#:tests? #f ;require "git"
#:configure-flags (list "--enable-release") ;for optimizations #:configure-flags (list "--enable-release") ;for optimizations
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'fix-build
;; XXX: The following works around a build failure introduced when
;; Fluidsynth was updated to version 2.1. It has been applied
;; upstream as 68758a879e0c8ecc0d40962516d4e808aa4e15e5 and can be
;; removed once this commit makes it into a release.
(lambda _
(substitute* "audio/softsynth/fluidsynth.cpp"
(("#include <fluidsynth.h>") "")
(("#include \"common/scummsys.h\"") "#include \"config.h\"")
(("#include \"common/config-manager.h\"" line)
(string-append "#include <fluidsynth.h>\n"
"#include \"common/scummsys.h\"\n"
line)))
#t))
(replace 'configure (replace 'configure
;; configure does not work followed by both "SHELL=..." and ;; configure does not work followed by both "SHELL=..." and
;; "CONFIG_SHELL=..."; set environment variables instead ;; "CONFIG_SHELL=..."; set environment variables instead
...@@ -1374,6 +1360,7 @@ (define-public scummvm ...@@ -1374,6 +1360,7 @@ (define-public scummvm
("faad2" ,faad2) ("faad2" ,faad2)
("fluidsynth" ,fluidsynth) ("fluidsynth" ,fluidsynth)
("freetype" ,freetype) ("freetype" ,freetype)
("fribidi" ,fribidi)
("liba52" ,liba52) ("liba52" ,liba52)
("libflac" ,flac) ("libflac" ,flac)
("libjpeg-turbo" ,libjpeg-turbo) ("libjpeg-turbo" ,libjpeg-turbo)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment