emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#25924: closed ([PATCH] gnu: Add prboom-plus.)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#25924: closed ([PATCH] gnu: Add prboom-plus.)
Date: Thu, 16 Mar 2017 04:50:02 +0000

Your message dated Thu, 16 Mar 2017 00:49:15 -0400
with message-id <address@hidden>
and subject line Re: bug#25924: [PATCH] gnu: Add prboom-plus.
has caused the debbugs.gnu.org bug report #25924,
regarding [PATCH] gnu: Add prboom-plus.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
25924: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=25924
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: Add prboom-plus. Date: Wed, 1 Mar 2017 17:20:07 -0500
* gnu/packages/games.scm (prboom-plus): New variable.
---
 gnu/packages/games.scm | 51 +++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 50 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index d26669e68..19cdacaa8 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -19,7 +19,7 @@
 ;;; Copyright © 2016 Manolis Fragkiskos Ragkousis <address@hidden>
 ;;; Copyright © 2016, 2017 ng0 <address@hidden>
 ;;; Copyright © 2016 Albin Söderqvist <address@hidden>
-;;; Copyright © 2016 Kei Kebreau <address@hidden>
+;;; Copyright © 2016, 2017 Kei Kebreau <address@hidden>
 ;;; Copyright © 2016 Alex Griffin <address@hidden>
 ;;; Copyright © 2016 Efraim Flashner <address@hidden>
 ;;; Copyright © 2016 Jan Nieuwenhuizen <address@hidden>
@@ -73,6 +73,7 @@
   #:use-module (gnu packages libunwind)
   #:use-module (gnu packages haskell)
   #:use-module (gnu packages mp3)
+  #:use-module (gnu packages music)
   #:use-module (gnu packages icu4c)
   #:use-module (gnu packages image)
   #:use-module (gnu packages ncurses)
@@ -195,6 +196,54 @@ scriptable with Guile.")
 Chess).  It is similar to standard chess but this variant is far more 
complicated.")
     (license license:gpl3+)))
 
+
+(define-public prboom-plus
+  (package
+    (name "prboom-plus")
+    (version "2.5.1.4")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/" name "/" name "/"
+                                  version "/" name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "151v6nign86m1a2vqz27krsccpc9m4d1jax4y43v2fa82wfj9qp0"))
+              (modules '((guix build utils)))
+              (snippet
+               '(substitute* "src/version.c"
+                  (("__DATE__") "")
+                  (("__TIME__") "")))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:configure-flags '("--disable-cpu-opt")
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'set-paths 'set-sdl-paths
+           (lambda* (#:key inputs #:allow-other-keys)
+             (setenv "CPATH"
+                     (string-append (assoc-ref inputs "sdl-union")
+                                    "/include/SDL"))
+             #t))
+         (add-before 'configure 'set-gamesdir
+           (lambda _
+             (substitute* "src/Makefile.in"
+               (("gamesdir = .*$") "gamesdir = $(prefix)/bin\n"))
+             #t)))))
+    (inputs
+     `(("fluidsynth" ,fluidsynth)
+       ("glu" ,glu)
+       ("libmad" ,libmad)
+       ("libpng" ,libpng)
+       ("mesa" ,mesa)
+       ("pcre" ,pcre)
+       ("portmidi" ,portmidi)
+       ("sdl-union" ,(sdl-union (list sdl sdl-image sdl-mixer sdl-net)))))
+    (home-page "http://prboom-plus.sourceforge.net/";)
+    (synopsis "Version of the classic 3D shoot'em'up game Doom")
+    (description
+     "PrBoom+ is a Doom source port developed from the original PrBoom 
project.")
+    (license license:gpl2+)))
+
 (define-public xshogi
   (package
     (name "xshogi")
-- 
2.12.0




--- End Message ---
--- Begin Message --- Subject: Re: bug#25924: [PATCH] gnu: Add prboom-plus. Date: Thu, 16 Mar 2017 00:49:15 -0400 User-agent: Mutt/1.8.0 (2017-02-23)
On Wed, Mar 15, 2017 at 11:34:14PM -0400, Kei Kebreau wrote:
> Leo Famulari <address@hidden> writes:
> 
> > On Wed, Mar 01, 2017 at 05:20:07PM -0500, Kei Kebreau wrote:
> >> * gnu/packages/games.scm (prboom-plus): New variable.
> >
> > LGTM!
> 
> Pushed to master with some simplifications. Thanks for the review!
> 
> P.S. How do I close a bug entry? TIA :-)

Send a message to <address@hidden>, like this.

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]