summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@infotropique.org>2017-06-29 15:32:27 +0000
committerKei Kebreau <kei@openmailbox.org>2017-08-13 15:39:47 -0400
commitbe6e2c3018a5f8d474a2b38311088547b2bd2203 (patch)
treec29789fc621b8c7b09de4ec380ce0327cca434c4
parent05af41a1812e0bbed8a8964516b8bb74ed46f60e (diff)
gnu: Update open-adventure to d43854f0f6bb8e9eea7fbce80348150e7e7fc34d.
* gnu/packages/games.scm (open-adventure): Update to d43854f0f6bb8e9eea7fbce80348150e7e7fc34d. Signed-off-by: Kei Kebreau <kei@openmailbox.org>
-rw-r--r--gnu/packages/games.scm31
1 files changed, 22 insertions, 9 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 9f32e9f8e53..436a885d6e5 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -17,7 +17,7 @@
17;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com> 17;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
18;;; Copyright © 2016, 2017 Rodger Fox <thylakoid@openmailbox.org> 18;;; Copyright © 2016, 2017 Rodger Fox <thylakoid@openmailbox.org>
19;;; Copyright © 2016 Manolis Fragkiskos Ragkousis <manolis837@gmail.com> 19;;; Copyright © 2016 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
20;;; Copyright © 2016, 2017 ng0 <ng0@no-reply.pragmatique.xyz> 20;;; Copyright © 2016, 2017 ng0 <ng0@infotropique.org>
21;;; Copyright © 2016 Albin Söderqvist <albin@fripost.org> 21;;; Copyright © 2016 Albin Söderqvist <albin@fripost.org>
22;;; Copyright © 2016, 2017 Kei Kebreau <kei@openmailbox.org> 22;;; Copyright © 2016, 2017 Kei Kebreau <kei@openmailbox.org>
23;;; Copyright © 2016 Alex Griffin <a@ajgrf.com> 23;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
@@ -99,6 +99,7 @@
99 #:use-module (gnu packages xorg) 99 #:use-module (gnu packages xorg)
100 #:use-module (gnu packages pkg-config) 100 #:use-module (gnu packages pkg-config)
101 #:use-module (gnu packages databases) 101 #:use-module (gnu packages databases)
102 #:use-module (gnu packages shells)
102 #:use-module (gnu packages sdl) 103 #:use-module (gnu packages sdl)
103 #:use-module (gnu packages swig) 104 #:use-module (gnu packages swig)
104 #:use-module (gnu packages texinfo) 105 #:use-module (gnu packages texinfo)
@@ -4564,8 +4565,8 @@ at their peak of economic growth and military prowess.
4564 4565
4565;; There have been no official releases. 4566;; There have been no official releases.
4566(define-public open-adventure 4567(define-public open-adventure
4567 (let* ((commit "2483a23690d205f01ecb66165cf4522b541cd991") 4568 (let* ((commit "d43854f0f6bb8e9eea7fbce80348150e7e7fc34d")
4568 (revision "1")) 4569 (revision "2"))
4569 (package 4570 (package
4570 (name "open-adventure") 4571 (name "open-adventure")
4571 (version (string-append "2.5-" revision "." (string-take commit 7))) 4572 (version (string-append "2.5-" revision "." (string-take commit 7)))
@@ -4577,14 +4578,23 @@ at their peak of economic growth and military prowess.
4577 (file-name (string-append name "-" version "-checkout")) 4578 (file-name (string-append name "-" version "-checkout"))
4578 (sha256 4579 (sha256
4579 (base32 4580 (base32
4580 "1gkvkwbq5cl3llfc7nl41van8awn4myx782pg33bxpbx5l9scwb4")))) 4581 "08bwrvf4axb1rsfd6ia1fddsky9pc1p350vjskhaakg2czc6dsk0"))))
4581 (build-system gnu-build-system) 4582 (build-system gnu-build-system)
4582 (arguments 4583 (arguments
4583 `(#:make-flags (list "CC=gcc") 4584 `(#:make-flags (list "CC=gcc")
4584 #:parallel-build? #f ; not supported 4585 #:parallel-build? #f ; not supported
4585 #:phases 4586 #:phases
4586 (modify-phases %standard-phases 4587 (modify-phases %standard-phases
4587 (delete 'configure) 4588 (replace 'configure
4589 (lambda* (#:key inputs outputs #:allow-other-keys)
4590 ;; At this point linenoise is meant to be included,
4591 ;; so we have to really copy it into the working directory
4592 ;; of s.
4593 (let* ((linenoise (assoc-ref inputs "linenoise"))
4594 (noisepath (string-append linenoise "/include/linenoise"))
4595 (out (assoc-ref outputs "out")))
4596 (copy-recursively noisepath "linenoise"))
4597 #t))
4588 (add-before 'build 'use-echo 4598 (add-before 'build 'use-echo
4589 (lambda _ 4599 (lambda _
4590 (substitute* "tests/Makefile" 4600 (substitute* "tests/Makefile"
@@ -4594,9 +4604,9 @@ at their peak of economic growth and military prowess.
4594 (lambda _ 4604 (lambda _
4595 ;; This target is missing a dependency 4605 ;; This target is missing a dependency
4596 (substitute* "Makefile" 4606 (substitute* "Makefile"
4597 ((".asc.6:" line) 4607 ((".adoc.6:" line)
4598 (string-append line " advent.txt"))) 4608 (string-append line " advent.adoc")))
4599 (zero? (system* "make" ".asc.6")))) 4609 (zero? (system* "make" ".adoc.6"))))
4600 ;; There is no install target 4610 ;; There is no install target
4601 (replace 'install 4611 (replace 'install
4602 (lambda* (#:key outputs #:allow-other-keys) 4612 (lambda* (#:key outputs #:allow-other-keys)
@@ -4607,7 +4617,10 @@ at their peak of economic growth and military prowess.
4607 (install-file "advent.6" man)) 4617 (install-file "advent.6" man))
4608 #t))))) 4618 #t)))))
4609 (native-inputs 4619 (native-inputs
4610 `(("asciidoc" ,asciidoc))) 4620 `(("asciidoc" ,asciidoc)
4621 ("linenoise" ,linenoise)
4622 ("python" ,python)
4623 ("python-pyyaml" ,python-pyyaml)))
4611 (home-page "https://gitlab.com/esr/open-adventure") 4624 (home-page "https://gitlab.com/esr/open-adventure")
4612 (synopsis "Colossal Cave Adventure") 4625 (synopsis "Colossal Cave Adventure")
4613 (description "The original Colossal Cave Adventure from 1976 was the 4626 (description "The original Colossal Cave Adventure from 1976 was the