gnu: minetest: Update to 5.7.0.

* gnu/packages/minetest.scm (minetest): Update to 5.7.0.
[arguments]: Move check phase to after install, as the tests refer to data
files in the installation.
(minetest-data): Update to 5.7.0.
* gnu/packages/games.scm (irrlicht-for-minetest): Update to 1.9.0mt10.

Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Parnikkapore 2023-04-09 20:54:17 +08:00 committed by Christopher Baines
parent d8f4e8bd6b
commit 972d66b66d
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577
2 changed files with 7 additions and 6 deletions

View file

@ -3637,7 +3637,7 @@ (define-public irrlicht-for-minetest
(package
(inherit irrlicht)
(name "irrlicht-for-minetest")
(version "1.9.0mt8")
(version "1.9.0mt10")
(source
(origin
(method git-fetch)
@ -3647,7 +3647,7 @@ (define-public irrlicht-for-minetest
(file-name (git-file-name name version))
(sha256
(base32
"1646pj40dqkzbbc2lxzbmq2pjyrkgggbi2lah6pa5mv420p402kg"))))
"0y5vchz91khs8dmrkpgc7sqmvzx2yjj6svivvm80r4yppv7s03rw"))))
(build-system cmake-build-system)
(arguments
;; No check target.

View file

@ -52,7 +52,7 @@ (define-module (gnu packages minetest)
(define-public minetest
(package
(name "minetest")
(version "5.6.1")
(version "5.7.0")
(source (origin
(method git-fetch)
(uri (git-reference
@ -61,7 +61,7 @@ (define-public minetest
(file-name (git-file-name name version))
(sha256
(base32
"1bgk369n7r52vh3hdngrlf98k3v84ch2qp341xhs53ixrns2crfn"))
"008l44zwwsarwk4hn7wx2nj2m21b1iqsphl7g69rrlxj760zl0pl"))
(modules '((guix build utils)))
(snippet
'(begin
@ -106,7 +106,8 @@ (define-public minetest
"(void)0;"))
(setenv "MINETEST_SUBGAME_PATH" ; for check
(string-append (getcwd) "/games"))))
(replace 'check
(delete 'check)
(add-after 'install 'check
(lambda* (#:key tests? #:allow-other-keys)
;; Thanks to our substitutions, the tests should also run
;; when invoked on the target outside of `guix build'.
@ -165,7 +166,7 @@ (define minetest-data
(file-name (git-file-name name version))
(sha256
(base32
"1w0vdk6a1rhsfwyfviayfwsyqbzwikqazkgbrfl39anf3a50rvv1"))))
"02kbj1h6jsq6k8x4v2ir0njczdz7nyx6dbym85ixxp3mrqxiws61"))))
(build-system copy-build-system)
(arguments
(list #:install-plan