gnu: solarus: Update to 1.6.5.

* gnu/packages/games.scm (solarus): Update to 1.6.5.
(solarus-quest-editor)[source]: Update hash.
[arguments]: Remove obsolete 'fix-qt-build phase.
This commit is contained in:
Tobias Geerinckx-Rice 2021-04-07 23:36:02 +02:00
parent 1ccc5cfc38
commit 096897889f
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -2325,7 +2325,7 @@ (define-public solarus
(name "solarus") (name "solarus")
;; XXX: When updating this package, please also update hash in ;; XXX: When updating this package, please also update hash in
;; `solarus-quest-editor' below. ;; `solarus-quest-editor' below.
(version "1.6.4") (version "1.6.5")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -2334,7 +2334,7 @@ (define-public solarus
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1n6l91yyqjx0pz4w1lp3yybpq0fs2yjswfcm8c1wjfkxwiznbdxi")))) (base32 "0ny9dgqphjv2l39rff2621hnrzpf8qin8vmnv7jdz20azjk4m8id"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -2393,19 +2393,9 @@ (define-public solarus-quest-editor
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1qbc2j9kalk7xqk9j27s7wnm5zawiyjs47xqkqphw683idmzmjzn")))) (base32 "1pvjgd4faxii5sskw1h55lw90hlbazhwni8nxyywzrmkjbq7irm0"))))
(arguments (arguments
`(#:tests? #false ;no test `(#:tests? #false)) ; no test suite
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-qt-build
;; XXX: Fix build with Qt 5.15. It has been applied upstream as
;; 81d5c7f1 and can be removed at next upgrade.
(lambda _
(substitute* "src/entities/jumper.cpp"
(("#include <QPainter>" all)
(string-append all "\n" "#include <QPainterPath>\n")))
#t)))))
(inputs (inputs
`(("solarus" ,solarus) `(("solarus" ,solarus)
,@(package-inputs solarus))) ,@(package-inputs solarus)))