From: phodina via Guix-patches via <guix-patches@gnu.org>
To: 50656@debbugs.gnu.org
Subject: [bug#50656] [PATCH] gnu: Add opentesarena.
Date: Sat, 18 Sep 2021 10:11:20 +0000 [thread overview]
Message-ID: <GGs2rOLYNiXEaKCIvVnRM1u_3YkH-gnLQOAM09R7w89qpX0UGnbm3Wk2oA19M1I9fZgPgIGGwH7uDZ_GOWZYpvXqk_Eh_Bra2ErJlLppKjI=@protonmail.com> (raw)
* 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
reply other threads:[~2021-09-18 10:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='GGs2rOLYNiXEaKCIvVnRM1u_3YkH-gnLQOAM09R7w89qpX0UGnbm3Wk2oA19M1I9fZgPgIGGwH7uDZ_GOWZYpvXqk_Eh_Bra2ErJlLppKjI=@protonmail.com' \
--to=guix-patches@gnu.org \
--cc=50656@debbugs.gnu.org \
--cc=phodina@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).