From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:37619) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iiHYe-0006Hy-HC for guix-patches@gnu.org; Fri, 20 Dec 2019 07:39:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iiHYd-0001lf-08 for guix-patches@gnu.org; Fri, 20 Dec 2019 07:39:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40023) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iiHYc-0001kZ-Ow for guix-patches@gnu.org; Fri, 20 Dec 2019 07:39:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iiHYc-0003rk-KI for guix-patches@gnu.org; Fri, 20 Dec 2019 07:39:02 -0500 Subject: [bug#38687] [PATCH] gnu: Add libtcod. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:35992) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iiHYP-0005qc-Iv for guix-patches@gnu.org; Fri, 20 Dec 2019 07:38:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iiHYN-000149-Nu for guix-patches@gnu.org; Fri, 20 Dec 2019 07:38:49 -0500 Received: from devianza.investici.org ([198.167.222.108]:34729) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iiHYN-0000pW-46 for guix-patches@gnu.org; Fri, 20 Dec 2019 07:38:47 -0500 From: Giacomo Leidi Date: Fri, 20 Dec 2019 13:37:39 +0100 Message-Id: <20191220123739.18081-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: 38687@debbugs.gnu.org Cc: Giacomo Leidi * gnu/packages/game-development.scm (libtcod): New variable. --- gnu/packages/game-development.scm | 39 +++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-develo= pment.scm index febe15fa57..b5c4ff9ca7 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -17,6 +17,7 @@ ;;; Copyright =C2=A9 2019 Pierre Neidhardt ;;; Copyright =C2=A9 2019 Leo Prikler ;;; Copyright =C2=A9 2019 Jethro Cao +;;; Copyright =C2=A9 2019 Giacomo Leidi ;;; ;;; This file is part of GNU Guix. ;;; @@ -1904,3 +1905,41 @@ projects.") hardware from multiple vendors without requiring that applications have specific knowledge of the hardware they are targeting.") (license license:bsd-3))) + +(define-public libtcod + (package + (name "libtcod") + (version "1.15.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/libtcod/libtcod.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0pzr8ajmbqvh43ldjajx962xirj3rf8ayh344p6mqlrmb8gxrfr5"))= )) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'change-to-build-dir + (lambda _ + (chdir "buildsys/autotools") + (patch-shebang "get_version.py") + #t))))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + ("python" ,python) + ("pkg-config" ,pkg-config) + ("sdl2" ,sdl2) + ("zlib" ,zlib))) + (home-page "https://github.com/libtcod/libtcod") + (synopsis "Library specifically designed for writing roguelikes") + (description + "libtcod is a free, fast, portable and uncomplicated API for roguel= ike +developers providing an advanced true color console, input, and lots of = other +utilities frequently used in roguelikes.") + (license license:bsd-3))) --=20 2.24.1