From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:51894) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCamu-00031Z-Lb for guix-patches@gnu.org; Thu, 12 Mar 2020 23:15:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCamt-0003Qh-Ak for guix-patches@gnu.org; Thu, 12 Mar 2020 23:15:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52025) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jCamr-0003OB-V6 for guix-patches@gnu.org; Thu, 12 Mar 2020 23:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jCamr-0005u8-Ph for guix-patches@gnu.org; Thu, 12 Mar 2020 23:15:01 -0400 Subject: [bug#40035] Add widelands game Resent-Message-ID: References: <87o8t2gpqx.fsf@posteo.mx> <87imj9skzr.fsf@nicolasgoaziou.fr> From: Alberto EFG In-reply-to: <87imj9skzr.fsf@nicolasgoaziou.fr> Date: Thu, 12 Mar 2020 21:14:11 -0600 Message-ID: <87k13pkku4.fsf@posteo.mx> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40035@debbugs.gnu.org --=-=-= Content-Type: text/plain I added all the changes. The synopsis is slightly different than requested, because of character length. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-widelands.patch Content-Transfer-Encoding: quoted-printable >From f8b1cf1bbfe49ab9ae683a89bbeda23b363689fa Mon Sep 17 00:00:00 2001 From: Alberto Eleuterio Flores Guerrero 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 =C2=A9 2019, 2020 Timotej Lazar ;;; Copyright =C2=A9 2019 Josh Holland ;;; Copyright =C2=A9 2017, 2019 Hartmut Goebel +;;; Copyright =C2=A9 2020 Alberto Eleuterio Flores Guerrero ;;; ;;; This file is part of GNU Guix. ;;; @@ -10157,3 +10158,55 @@ best human chess grandmasters. It can be used wit= h 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/build2= 0/+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=3DRelease" + (string-append "-DCMAKE_INSTALL_PREFIX=3D" out "/bin") + (string-append "-DWL_INSTALL_BASEDIR=3D" share "/widelan= ds") + (string-append "-DWL_INSTALL_DATADIR=3D" share "/widelan= ds") + "-DOPTION_BUILD_WEBSITE_TOOLS=3DOFF")))) + (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 emp= ire + with many thousands of inhabitants. On your way towards this goal, yo= u 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)))) --=20 2.25.1 --=-=-=--