unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* bug#26435: [PATCH] gnu: Add cdogs-sdl.
@ 2017-04-10 19:39 Ricardo Wurmus
  2017-04-11  3:42 ` Leo Famulari
  0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Wurmus @ 2017-04-10 19:39 UTC (permalink / raw)
  To: 26435; +Cc: Ricardo Wurmus

* gnu/packages/games.scm (cdogs-sdl): New variable.
---
 gnu/packages/games.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index ed04239c6..71f35e2fe 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -3515,3 +3515,40 @@ emerges from a sewer hole and pulls her below ground.")
                      license:expat
                      license:public-domain
                      license:cc-by-sa3.0)))))
+
+(define-public cdogs-sdl
+  (package
+    (name "cdogs-sdl")
+    (version "0.6.4")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/cxong/cdogs-sdl/"
+                                  "archive/" version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "08c3y8ijimx6mp0gm90abz4lsnbflqka519q2v0id0096vsc2pxn"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:configure-flags
+       (list (string-append "-DCDOGS_DATA_DIR="
+                            (assoc-ref %outputs "out")
+                            "/share/cdogs-sdl/"))))
+    (inputs
+     `(("sdl2" ,sdl2)
+       ("sdl2-image" ,sdl2-image)
+       ("sdl2-mixer" ,sdl2-mixer)))
+    (home-page "http://cxong.github.io/cdogs-sdl/")
+    (synopsis "Classic overhead run-and-gun game")
+    (description "C-Dogs SDL is a classic overhead run-and-gun game,
+supporting up to 4 players in co-op and deathmatch modes.  Customize your
+player, choose from many weapons, and blast, slide and slash your way through
+over 100 user-created campaigns.")
+    ;; GPLv2+ for code (includes files under BSD-2 and BSD-3),
+    ;; CC0/CC-BY/CC-BY-SA for assets.
+    (license (list license:gpl2+
+                   license:bsd-2
+                   license:bsd-3
+                   license:cc0
+                   license:cc-by3.0
+                   license:cc-by-sa3.0))))
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#26435: [PATCH] gnu: Add cdogs-sdl.
  2017-04-10 19:39 bug#26435: [PATCH] gnu: Add cdogs-sdl Ricardo Wurmus
@ 2017-04-11  3:42 ` Leo Famulari
  2017-04-11  7:43   ` Ricardo Wurmus
  0 siblings, 1 reply; 3+ messages in thread
From: Leo Famulari @ 2017-04-11  3:42 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 26435

On Mon, Apr 10, 2017 at 09:39:12PM +0200, Ricardo Wurmus wrote:
> * gnu/packages/games.scm (cdogs-sdl): New variable.

Looks good!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#26435: [PATCH] gnu: Add cdogs-sdl.
  2017-04-11  3:42 ` Leo Famulari
@ 2017-04-11  7:43   ` Ricardo Wurmus
  0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2017-04-11  7:43 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 26435-done


Leo Famulari <leo@famulari.name> writes:

> On Mon, Apr 10, 2017 at 09:39:12PM +0200, Ricardo Wurmus wrote:
>> * gnu/packages/games.scm (cdogs-sdl): New variable.
>
> Looks good!

Thanks.  Pushed to master with f0f7bf95a.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-04-11  7:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-10 19:39 bug#26435: [PATCH] gnu: Add cdogs-sdl Ricardo Wurmus
2017-04-11  3:42 ` Leo Famulari
2017-04-11  7:43   ` Ricardo Wurmus

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).