From patchwork Sat Sep 17 23:14:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan X-Patchwork-Id: 5759 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0015527BBEA; Sun, 18 Sep 2022 00:22:31 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A8D1F27BBE9 for ; Sun, 18 Sep 2022 00:22:31 +0100 (BST) Received: from localhost ([::1]:57212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZh8o-0004HA-QB for patchwork@mira.cbaines.net; Sat, 17 Sep 2022 19:22:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41002) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZh8O-0003uq-9g for guix-patches@gnu.org; Sat, 17 Sep 2022 19:22:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48299) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZh8N-00057Y-Nv for guix-patches@gnu.org; Sat, 17 Sep 2022 19:22:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oZh8N-0001cp-F1 for guix-patches@gnu.org; Sat, 17 Sep 2022 19:22:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57895] [PATCH 3/3] gnu: Add minetest-exile. Resent-From: Jan Wielkiewicz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 17 Sep 2022 23:22:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57895 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57895@debbugs.gnu.org Cc: Jan Wielkiewicz X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16634569016176 (code B ref -1); Sat, 17 Sep 2022 23:22:03 +0000 Received: (at submit) by debbugs.gnu.org; 17 Sep 2022 23:21:41 +0000 Received: from localhost ([127.0.0.1]:47369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZh80-0001bS-Qy for submit@debbugs.gnu.org; Sat, 17 Sep 2022 19:21:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:41526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZh7y-0001bD-Ry for submit@debbugs.gnu.org; Sat, 17 Sep 2022 19:21:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZh7y-0003tr-NU for guix-patches@gnu.org; Sat, 17 Sep 2022 19:21:38 -0400 Received: from smtpo74.interia.pl ([217.74.67.74]:57638) by eggs.gnu.org with esmtps (TLS1.2:RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZh7w-00050d-Pi for guix-patches@gnu.org; Sat, 17 Sep 2022 19:21:38 -0400 Received: from localhost.localdomain (89-64-56-87.dynamic.chello.pl [89.64.56.87]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by poczta.interia.pl (INTERIA.PL) with ESMTPSA; Sun, 18 Sep 2022 01:14:57 +0200 (CEST) From: Jan Wielkiewicz Date: Sun, 18 Sep 2022 01:14:26 +0200 Message-Id: <20220917231426.22753-4-tona_kosmicznego_smiecia@interia.pl> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220917231426.22753-1-tona_kosmicznego_smiecia@interia.pl> References: <20220917231426.22753-1-tona_kosmicznego_smiecia@interia.pl> MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1663456497; bh=yexfntV3jzYjILU7rZZDaoRHfUB2JdDMqgign6ToQuI=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=DNemjY103f0EqOtoXc5xRitYJaHUtl4W4AdqdrR1Y5gYLO9y64gWwAgmLJeIMjoy0 Ddi69KMIAprs3AgrlkCvHl9KHyli5k5b/BHEjobYcbZ5g20m/giZJoYaswrCidLK84 MXYftEpKQyMfEB7JEJp8zshEuTtQjzxNNrkgbFro= Received-SPF: pass client-ip=217.74.67.74; envelope-from=tona_kosmicznego_smiecia@interia.pl; helo=smtpo74.interia.pl X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/minetest.scm: (minetest-exile): new variable. --- gnu/packages/minetest.scm | 43 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/minetest.scm b/gnu/packages/minetest.scm index fe1c098095..f362025f00 100644 --- a/gnu/packages/minetest.scm +++ b/gnu/packages/minetest.scm @@ -772,3 +772,46 @@ (define-public minetest-naturalslopeslib ground nodes (sand, dirt, gravel...) that may change shape automatically according to their surroundings.") (license (list license:lgpl2.1+ license:cc0)))) ;; cc0 for models + +(define-public minetest-exile + (package + (name "minetest-exile") + (version "0.3.8d") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jeremyshannon/Exile/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (modules '((guix build utils))) + ;; remove bundled dependencies and tools + (snippet #~(begin + (delete-file-recursively "mods/naturalslopeslib") + (delete-file-recursively "utilities"))) + (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* (#:key inputs #:allow-other-keys) + (symlink (search-input-directory inputs + "/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://exile.planetofnix.com/wiki/pmwiki.php?n=Main.HomePage") + ;; also see https://content.minetest.net/packages/Mantar/exile/ + (license (list license:gpl3 + ;; artwork under cc licenses, see corresponding mod directories + license:cc0 + license:cc-by3.0 + license:cc-by-sa3.0 + license:cc-by-sa4.0))))