From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44228) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1edKVM-0002HY-04 for guix-patches@gnu.org; Sun, 21 Jan 2018 13:38:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1edKVI-0001xE-Ds for guix-patches@gnu.org; Sun, 21 Jan 2018 13:38:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:57694) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1edKVI-0001x6-9C for guix-patches@gnu.org; Sun, 21 Jan 2018 13:38:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1edKVG-0005e6-Ep for guix-patches@gnu.org; Sun, 21 Jan 2018 13:38:02 -0500 Subject: [bug#30196] [PATCH 1/2] gnu: Add wesnoth-server. References: <20180121183348.29317-1-arunisaac@systemreboot.net> In-Reply-To: <20180121183348.29317-1-arunisaac@systemreboot.net> Resent-Message-ID: From: Arun Isaac Date: Mon, 22 Jan 2018 00:07:12 +0530 Message-Id: <20180121183713.29457-1-arunisaac@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: 30196@debbugs.gnu.org * gnu/packages/games.scm (wesnoth-server): New variable. --- gnu/packages/games.scm | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 1213d87a5..5fb4be8e3 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -25,7 +25,7 @@ ;;; Copyright © 2016 Jan Nieuwenhuizen ;;; Copyright © 2016 Steve Webber ;;; Copyright © 2017 Adonay "adfeno" Felipe Nogueira -;;; Copyright © 2017 Arun Isaac +;;; Copyright © 2017, 2018 Arun Isaac ;;; Copyright © 2017 Tobias Geerinckx-Rice ;;; Copyright © 2017 nee ;;; Copyright © 2017 Clément Lassieur @@ -1801,6 +1801,28 @@ experience and advance levels, and are carried over from one scenario to the next campaign.") (license license:gpl2+))) +(define-public wesnoth-server + (package + (inherit wesnoth) + (name "wesnoth-server") + (inputs + `(("boost" ,boost) + ("sdl-net" ,sdl-net))) + (arguments + (append + (substitute-keyword-arguments (package-arguments wesnoth) + ((#:configure-flags configure-flags) + `(append ,configure-flags (list "-DENABLE_GAME=OFF")))) + `(#:phases + (modify-phases %standard-phases + (add-after 'install 'delete-data + (lambda* (#:key outputs #:allow-other-keys) + (delete-file-recursively (string-append (assoc-ref outputs "out") + "/share/wesnoth")))))))) + (synopsis "Dedicated Battle for Wesnoth server") + (description "This package contains a dedicated server for The Battle for +Wesnoth."))) + (define-public dosbox (package (name "dosbox") -- 2.15.1