Forgot the patches...
From 0ec48989fd8cf47c20c2c7181f05469335753514 Mon Sep 17 00:00:00 2001
From: Jan Wielkiewicz <tona_kosmicznego_smie...@interia.pl>
Date: Sat, 17 Sep 2022 01:10:58 +0200
Subject: [PATCH 2/2] gnu: Add minetest-exile, minetest-naturalslopeslib.
* gnu/packages/minetest.scm (minetest-exile,
minetest-naturalslopeslib): New variables.
---
gnu/packages/minetest.scm | 61 +++++++++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)
diff --git a/gnu/packages/minetest.scm b/gnu/packages/minetest.scm
index 82c0b352bb..dc5dee11bd 100644
--- a/gnu/packages/minetest.scm
+++ b/gnu/packages/minetest.scm
@@ -747,3 +747,64 @@ (define-public minetest-basic-trains
advtrains up to version 2.2.1.")
(license (list license:cc-by-sa3.0 license:agpl3+))
(properties `((upstream-name . "orwell/basic_trains")))))
+
+(define-public minetest-naturalslopeslib
+ (package
+ (name "minetest-naturalslopeslib")
+ (version "1.5")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url
+ "https://files.creativekara.fr/git/naturalslopeslib.git")
+ (commit version)))
+ (sha256
+ (base32
+ "19j223lld415496ppk0q0d4g45hxrvygl3axxlmbvqilflsqp6n0"))
+ (file-name (git-file-name name version))))
+ (build-system minetest-mod-build-system)
+ (home-page
+ "https://content.minetest.net/packages/karamel/naturalslopeslib/")
+ (synopsis "Natural slopes library for Minetest")
+ (description
+ "This Minetest mod is a library that adds stair-like nodes from soft
+ground nodes (sand, dirt, gravel...) that may change shape automatically
+according to their surroundings.")
+ (license license:lgpl2.1)))
+
+(define-public minetest-exile
+ (package
+ (name "minetest-exile")
+ (version "v0.3.8d")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jeremyshannon/Exile/")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (modules '((guix build utils)))
+ (snippet #~(delete-file-recursively "mods/naturalslopeslib"))
+ (sha256
+ (base32
+ "1h7792kznhcqrvxn127318dx1v4xbwvffxw7vav22fd85c839c5g"))))
+ (build-system copy-build-system)
+ (arguments
+ (list #:install-plan #~'(("." "share/minetest/games/exile"))
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'install 'install-dependencies
+ (lambda _
+ (symlink (string-append
+ #$(this-package-input
+ "minetest-naturalslopeslib")
+ "/share/minetest/mods/naturalslopeslib")
+ (string-append
+ #$output
+ "/share/minetest/games/exile/"
+ "mods/naturalslopeslib")))))))
+ (inputs (list minetest-naturalslopeslib))
+ (synopsis "A survival game for Minetest")
+ (description
+ "Exile is a wilderness survival game with simple technology using
+the Minetest game engine.")
+ (home-page "https://content.minetest.net/packages/Mantar/exile/")
+ (license license:gpl3)))
--
2.37.3
From cf3af84978f8b630d432c2f042ee9b041aa9118d Mon Sep 17 00:00:00 2001
From: Jan Wielkiewicz <tona_kosmicznego_smie...@interia.pl>
Date: Thu, 15 Sep 2022 22:19:05 +0200
Subject: [PATCH 1/2] gnu: minetest: update to 5.6.0.
* gnu/packages/minetest.scm (minetest, minetest-data): Update to 5.6.0.
* gnu/packages/games.scm (irrlicht-for-minetest): Update to 1.9.0mt7,
[inputs]: add libxi.
---
gnu/packages/games.scm | 7 +++++--
gnu/packages/minetest.scm | 7 ++++---
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 60ce0167a6..1e2ec71da3 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -73,6 +73,7 @@
;;; Copyright © 2022 zamfofex <zamfo...@twdb.moe>
;;; Copyright © 2022 Gabriel Arazas <foo.dogsqua...@gmail.com>
;;; Copyright © 2022 Maxim Cournoyer <maxim.courno...@gmail.com>
+;;; Copyright © 2022 Jan Wielkiewicz <tona_kosmicznego_smie...@interia.pl>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -3626,7 +3627,7 @@ (define-public irrlicht-for-minetest
(package
(inherit irrlicht)
(name "irrlicht-for-minetest")
- (version "1.9.0mt5")
+ (version "1.9.0mt7")
(source
(origin
(method git-fetch)
@@ -3635,8 +3636,10 @@ (define-public irrlicht-for-minetest
(commit version)))
(sha256
(base32
- "1jxk1x0f60n8lrz8a6x62aj2pqg0qnbajsld3lqncvwsfbi0xjx1"))))
+ "0pgvwfbp9df3xi4fjqngh7mikyklgwxjmrv28s7v35wpg5dz7vhj"))))
(build-system cmake-build-system)
+ (inputs (modify-inputs (package-inputs irrlicht)
+ (prepend libxi)))
(arguments
;; No check target.
(list #:tests? #f))))
diff --git a/gnu/packages/minetest.scm b/gnu/packages/minetest.scm
index fd0dbec6a2..82c0b352bb 100644
--- a/gnu/packages/minetest.scm
+++ b/gnu/packages/minetest.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2021 Trevor Hass <th...@okstate.edu>
;;; Copyright © 2020, 2021, 2022 Liliana Marie Prikler <liliana.prik...@gmail.com>
;;; Copyright © 2021 Maxime Devos <maximede...@telenet.be>
+;;; Copyright © 2022 Jan Wielkiewicz <tona_kosmicznego_smie...@interia.pl>
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
@@ -53,7 +54,7 @@ (define-module (gnu packages minetest)
(define-public minetest
(package
(name "minetest")
- (version "5.5.1")
+ (version "5.6.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -62,7 +63,7 @@ (define-public minetest
(file-name (git-file-name name version))
(sha256
(base32
- "042v71gkk0xfixcsn82az2fri0n28fgf9d2zcz31bijqmg5q7imj"))
+ "00i53xswf9sz5mh93ijfgav9kjffmwr0c57cnhgbvq7ca5qxiin1"))
(modules '((guix build utils)))
(snippet
'(begin
@@ -166,7 +167,7 @@ (define minetest-data
(file-name (git-file-name name version))
(sha256
(base32
- "12cpaiww148szvnrc8r8cffwvl33smnrl7k29sh401yv0pbqi3j8"))))
+ "1pjd32qzchhw15ympvv14va4ryylqh1cfi3hsa9ln51dicfq6mjd"))))
(build-system copy-build-system)
(arguments
(list #:install-plan
--
2.37.3