* [bug#50656] [PATCH] gnu: Add opentesarena.
@ 2021-09-18 10:11 phodina via Guix-patches via
0 siblings, 0 replies; only message in thread
From: phodina via Guix-patches via @ 2021-09-18 10:11 UTC (permalink / raw)
To: 50656
* 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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-18 10:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-18 10:11 [bug#50656] [PATCH] gnu: Add opentesarena phodina via Guix-patches via
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).