From: Alberto EFG <albertoefg@posteo.mx>
To: 40035@debbugs.gnu.org
Subject: [bug#40035] Add widelands game
Date: Thu, 12 Mar 2020 21:14:11 -0600 [thread overview]
Message-ID: <87k13pkku4.fsf@posteo.mx> (raw)
In-Reply-To: <87imj9skzr.fsf@nicolasgoaziou.fr>
[-- Attachment #1: Type: text/plain, Size: 107 bytes --]
I added all the changes. The synopsis is slightly different than
requested, because of character length.
[-- Attachment #2: 0001-gnu-Add-widelands.patch --]
[-- Type: text/x-patch, Size: 3248 bytes --]
From f8b1cf1bbfe49ab9ae683a89bbeda23b363689fa Mon Sep 17 00:00:00 2001
From: Alberto Eleuterio Flores Guerrero <barbanegra+guix@posteo.mx>
Date: Wed, 11 Mar 2020 21:50:14 -0600
Subject: [PATCH] gnu: Add widelands.
* gnu/packages/games.scm (widelands): New variable.
---
gnu/packages/games.scm | 53 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 322e309591..eb61341794 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -46,6 +46,7 @@
;;; Copyright © 2019, 2020 Timotej Lazar <timotej.lazar@araneo.si>
;;; Copyright © 2019 Josh Holland <josh@inv.alid.pw>
;;; Copyright © 2017, 2019 Hartmut Goebel <h.goebel@crazy-compilers.com>
+;;; Copyright © 2020 Alberto Eleuterio Flores Guerrero <barbanegra+guix@posteo.mx>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -10157,3 +10158,55 @@ best human chess grandmasters. It can be used with UCI-compatible GUIs like
ChessX.")
(home-page "https://stockfishchess.org/")
(license license:gpl3+)))
+
+(define-public widelands
+ (package
+ (name "widelands")
+ (version "20")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://launchpad.net/widelands/build20/build20/+download/"
+ name "-build" version ".tar.bz2"))
+ (sha256
+ (base32 "1cmwfwk7j6yi2pwmm4rm57s23sdzasqf53nx6567sdagqyc4sn9q"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:configure-flags
+ (let* ((out (assoc-ref %outputs "out"))
+ (share (string-append out "/share")))
+ (list "-DCMAKE_BUILD_TYPE=Release"
+ (string-append "-DCMAKE_INSTALL_PREFIX=" out "/bin")
+ (string-append "-DWL_INSTALL_BASEDIR=" share "/widelands")
+ (string-append "-DWL_INSTALL_DATADIR=" share "/widelands")
+ "-DOPTION_BUILD_WEBSITE_TOOLS=OFF"))))
+ (native-inputs
+ `(("gettext" ,gettext-minimal)
+ ("python" ,python)))
+ (inputs
+ `(("boost" ,boost)
+ ("glew" ,glew)
+ ("icu4c" ,icu4c)
+ ("libpng" ,libpng)
+ ("sdl" ,(sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf)))
+ ("zlib" ,zlib)))
+ (home-page "https://www.widelands.org/")
+ (synopsis "Real-time strategy game with singleplayer campaigns and
+ multiplayer mode")
+ (description
+ "Widelands is a strategy game aiming for gameplay similar to Settlers II by
+ BlueByte.
+
+ In this game, you start out on a small piece of land with nothing more than
+ a few of useful resources. Using those, you can build yourself an empire
+ with many thousands of inhabitants. On your way towards this goal, you will
+ have to build up an economic infrastructure, explore the lands around you
+ and face enemies who are trying to rule the world just like you do.")
+ (license (list
+ license:gpl2+
+ license:gpl3+
+ license:expat
+ license:zlib
+ license:silofl1.1
+ license:asl2.0
+ license:cc-by-sa3.0))))
--
2.25.1
next prev parent reply other threads:[~2020-03-13 3:15 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-12 4:29 [bug#40035] Add widelands game Alberto EFG
2020-03-12 14:31 ` Nicolas Goaziou
2020-03-13 3:14 ` Alberto EFG [this message]
2020-03-13 8:16 ` Nicolas Goaziou
2020-06-18 21:22 ` Nicolas Goaziou
2020-06-18 22:58 ` Jonathan Brielmaier
2020-06-19 7:01 ` Nicolas Goaziou
2020-06-21 6:33 ` Efraim Flashner
2020-06-19 12:09 ` Tobias Geerinckx-Rice via Guix-patches via
2020-06-19 18:59 ` Nicolas Goaziou
2020-06-19 20:46 ` Nicolas Goaziou
2020-06-19 21:14 ` Tobias Geerinckx-Rice via Guix-patches via
2020-06-19 21:55 ` Nicolas Goaziou
2020-06-30 15:50 ` bug#40035: " Nicolas Goaziou
2020-06-19 12:30 ` [bug#40035] " Tobias Geerinckx-Rice via Guix-patches via
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=87k13pkku4.fsf@posteo.mx \
--to=albertoefg@posteo.mx \
--cc=40035@debbugs.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).