GNU bug report logs - #50656
[PATCH] gnu: Add opentesarena.

Previous Next

Package: guix-patches;

Reported by: phodina <phodina <at> protonmail.com>

Date: Sat, 18 Sep 2021 10:12:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 50656 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#50656; Package guix-patches. (Sat, 18 Sep 2021 10:12:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to phodina <phodina <at> protonmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 18 Sep 2021 10:12:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: [PATCH] gnu: Add opentesarena.
Date: Sat, 18 Sep 2021 10:11:20 +0000
* gnu/packages/games.scm (opentesarena): New variable.

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index c39770c260..4cdf4c27aa 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -1637,6 +1637,48 @@ built-in level editor.")
            license:public-domain
            license:silofl1.1))))

+(define-public opentesarena
+  (package
+    (name "opentesarena")
+    (version "0.13.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/afritz1/OpenTESArena")
+                    (commit (string-append "opentesarena-" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1j8vzjryvv3jsiy17mrabmf55znjys1922xz4j02rhwjyagz278s"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'install
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (bin (string-append out "/bin"))
+                    (data (string-append bin "/data"))
+                    (options (string-append bin "/options")))
+               (mkdir-p bin)
+               (mkdir-p data)
+               (mkdir-p options)
+               (install-file "TESArena" bin)
+               (copy-recursively "OpenTESArena/data" data)
+               (copy-recursively "OpenTESArena/options" options)))))))
+    (native-inputs `(("pkg-config" ,pkg-config)))
+    (inputs `(("sdl" ,(sdl-union (list sdl2
+                                       sdl2-mixer)))
+              ("openal" ,openal)
+              ("wildmidi" ,wildmidi)
+              ("boost" ,boost)))
+    (synopsis "Open-source re-implementation of The Elder Scrolls: Arena")
+    (description "Modern open-source engine re-implementation for the 1994
+video game The Elder Scrolls: Arena by Bethesda Softworks.")
+    (home-page "https://github.com/afritz1/OpenTESArena")
+    (license license:expat))) ; MIT
+
 (define-public knights
   (package
     (name "knights")
--
2.32.0




This bug report was last modified 3 years and 268 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.