Subject: [PATCH] gnu: minetest: Update to 5.7.0.

From: Parnikkapore <[email-masked]>
Date: Sun, 9 Apr 2023 20:54:17 +0800

* gnu/packages/minetest.scm (minetest): Update to 5.7.0.
* gnu/packages/minetest.scm (minetest): Move check phase to after
install, as the tests refer to data files in the installation.
* gnu/packages/minetest.scm (minetest-data): Update to 5.7.0.
* gnu/packages/games.scm (irrlicht-for-minetest): Update to 1.9.0mt10.
---
 gnu/packages/games.scm    | 4 ++--
 gnu/packages/minetest.scm | 9 +++++----
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 77c4a12a6e..08d17edfb0 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -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.
diff --git a/gnu/packages/minetest.scm b/gnu/packages/minetest.scm
index 4c14d9412c..bf0df314a7 100644
--- a/gnu/packages/minetest.scm
+++ b/gnu/packages/minetest.scm
@@ -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

base-commit: 02033bfc05a1e82b12e80c6d000e1724e910e899
-- 
2.39.2