From: Kei Kebreau <kei@openmailbox.org>
To: guix-devel@gnu.org
Subject: [PATCH] gnu: Add warzone2100.
Date: Wed, 15 Jun 2016 21:39:36 -0400 [thread overview]
Message-ID: <87wplpewtj.fsf@openmailbox.org> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 50 bytes --]
This is one of the games dependent on quesoglc!
[-- Attachment #1.2: 0001-gnu-Add-warzone2100.patch --]
[-- Type: text/plain, Size: 2958 bytes --]
From 24da9bb0a8b021d3be00a94bc11ef6a6cf2d26a0 Mon Sep 17 00:00:00 2001
From: Kei Kebreau <kei@openmailbox.org>
Date: Wed, 15 Jun 2016 20:33:00 -0400
Subject: [PATCH] gnu: Add warzone2100.
* gnu/packages/games.scm (warzone2100): New variable.
---
gnu/packages/games.scm | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index b0bf4e3..046b9be 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -2396,3 +2396,55 @@ Super Game Boy, BS-X Satellaview, and Sufami Turbo.")
your way through an underground cave system in search of the Grue. Can you
capture it and get out alive?")
(license license:agpl3+)))
+
+(define-public warzone2100
+ (package
+ (name "warzone2100")
+ (version "3.1.5")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/" name
+ "/releases/" version "/" name "-" version
+ ".tar.xz"))
+ (sha256
+ (base32
+ "0hm49i2knvvg3wlnryv7h4m84s3qa7jfyym5yy6365sx8wzcrai1"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#: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)))))
+ (native-inputs `(("pkg-config" ,pkg-config)))
+ (inputs `(("fontconfig" ,fontconfig)
+ ("font-dejavu" ,font-dejavu)
+ ("freetype" ,freetype)
+ ("fribidi" ,fribidi)
+ ("glew" ,glew)
+ ("libtheora" ,libtheora)
+ ("libvorbis" ,libvorbis)
+ ("libxrandr" ,libxrandr)
+ ("openal" ,openal)
+ ("physfs" ,physfs)
+ ("qt", qt-4)
+ ("quesoglc" ,quesoglc)
+ ("sdl-union" ,(sdl-union))
+ ("zip" ,zip)
+ ("unzip" ,unzip)))
+ (home-page "http://wz2100.net")
+ (synopsis "3D Real-time strategy and real-time tactics game")
+ (description
+ "Warzone 2100 offers campaign, multi-player, and single-player skirmish
+modes. An extensive tech tree with over 400 different technologies, combined
+with the unit design system, allows for a wide variety of possible units and
+tactics.")
+ ; Everything is GPLv2+ unless otherwise specified in COPYING.NONGPL
+ (license (list license:bsd-3
+ license:cc0
+ license:cc-by-sa3.0
+ license:expat
+ license:gpl2+
+ license:lgpl2.1+))))
--
2.8.3
[-- Attachment #1.3: Type: text/plain, Size: 44 bytes --]
--
Kei (GPG Key: 4096R/E6A5EE3C19467A0D)
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
next reply other threads:[~2016-06-16 1:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-16 1:39 Kei Kebreau [this message]
2016-06-17 18:12 ` [PATCH] gnu: Add warzone2100 Leo Famulari
2016-06-18 15:17 ` Kei Kebreau
2016-06-20 17:35 ` Leo Famulari
2016-06-20 22:48 ` Kei Kebreau
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=87wplpewtj.fsf@openmailbox.org \
--to=kei@openmailbox.org \
--cc=guix-devel@gnu.org \
/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).