From patchwork Fri Mar 13 03:14:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alberto EFG X-Patchwork-Id: 20663 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id CA0BD27BBEA; Fri, 13 Mar 2020 03:15:12 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 3924627BBE4 for ; Fri, 13 Mar 2020 03:15:12 +0000 (GMT) Received: from localhost ([::1]:53172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCan1-00031z-Mb for patchwork@mira.cbaines.net; Thu, 12 Mar 2020 23:15:11 -0400 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 X-Loop: help-debbugs@gnu.org Subject: [bug#40035] Add widelands game Resent-From: Alberto EFG Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 13 Mar 2020 03:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40035 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 40035@debbugs.gnu.org Received: via spool by 40035-submit@debbugs.gnu.org id=B40035.158406927422645 (code B ref 40035); Fri, 13 Mar 2020 03:15:01 +0000 Received: (at 40035) by debbugs.gnu.org; 13 Mar 2020 03:14:34 +0000 Received: from localhost ([127.0.0.1]:57998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jCamK-0005t1-7u for submit@debbugs.gnu.org; Thu, 12 Mar 2020 23:14:34 -0400 Received: from mout02.posteo.de ([185.67.36.66]:54163) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jCamH-0005sf-NH for 40035@debbugs.gnu.org; Thu, 12 Mar 2020 23:14:27 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 35D4D2400E6 for <40035@debbugs.gnu.org>; Fri, 13 Mar 2020 04:14:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.mx; s=2017; t=1584069259; bh=4ElRH7BYtBz28lAeTP6WfcE0tlFXPEEN4iLjuNoEsrQ=; h=From:To:Subject:Date:From; b=COSvp4X8stc4QCb10hQ/V/5sNlzHFvrbBOK+5mJqh7Onq/H4Zl2znGySXzzHYe2rX hDl1pu4I2DAAHJchNzckYtVMUNsKNDKt5SitxcPWDPRhzp7m5SmRePDi0Ep2R1XF76 kkOiaO7I7rFSbOv7blj0Yz6RBwvWP8s46nJBJLZoIGDrBsWJwk4B6U6lC56mHnxV/8 xmBoMAqWOmXKREq3lTunwnwMpkU/vJtpYkoXKX77PKzRzsgV1yHKb0QSLNBHjvqBM/ XRKSz6wJ6nO5YiJj9MhN+gKdLbTeehN02JqJ43/rQZSZ2td51hBqkJhn7JYpnFUYLo gzNDISHMwzP8Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 48drQL0YBvz9rxH for <40035@debbugs.gnu.org>; Fri, 13 Mar 2020 04:14:17 +0100 (CET) References: <87o8t2gpqx.fsf@posteo.mx> <87imj9skzr.fsf@nicolasgoaziou.fr> User-agent: mu4e 1.2.0; emacs 26.3 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 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches I added all the changes. The synopsis is slightly different than requested, because of character length. 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 © 2019, 2020 Timotej Lazar ;;; Copyright © 2019 Josh Holland ;;; Copyright © 2017, 2019 Hartmut Goebel +;;; Copyright © 2020 Alberto Eleuterio Flores Guerrero ;;; ;;; 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