Subject: [bug#50655] [PATCH v2] gnu: Add falltergeist.

From: phodina <[email-masked]>
Date: Mon, 27 Sep 2021 22:24:38 +0000

Hi Xinglu,

here's the updated patch.

I'm not entirely sure about the license though I'm not a lawyer. I checked the file license.txt and it still seems to me as GPL3, don't know how to spot the "or later" -> GPL3+.

--8<---------------cut here---------------start------------->8---

* gnu/packages/games.scm (falltergeist): New variable.

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index c39770c260..7d08fafc13 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -1133,6 +1133,34 @@ regular @command{cat}, but it also adds terminal escape codes between
 characters and lines resulting in a rainbow effect.")
       (license license:wtfpl2))))

+(define-public falltergeist
+  (package
+    (name "falltergeist")
+    (version "0.3.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/falltergeist/falltergeist")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "05cg58i2g32wbmrvmdsicic8xs83gld3qr1p7r4lnlckcl1l7dy4"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:tests? #f)) ; no tests provided
+    (native-inputs `(("pkg-config" ,pkg-config)))
+    (inputs `(("sdl" ,(sdl-union (list sdl2
+                                       sdl2-image
+                                       sdl2-mixer)))
+              ("glew" ,glew)
+              ("glm" ,glm)))
+    (synopsis "Opensource Fallout 2 game engine")
+    (description "This package provides opensource Fallout 2 game engine.
+Game data should be placed in @file{~/.local/share/falltergeist.}")
+    (home-page "https://falltergeist.org/")
+    (license license:gpl3+)))
+
 (define-public foobillard++
   ;; Even though this latest revision is old already, stable release is
   ;; lagging way behind it, and has issues with textures rendering.
--
2.32.0