From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:52100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4xLu-0005Pd-19 for guix-patches@gnu.org; Fri, 15 Mar 2019 20:39:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h4xI3-0001nn-3O for guix-patches@gnu.org; Fri, 15 Mar 2019 20:35:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60363) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h4xI2-0001nf-MB for guix-patches@gnu.org; Fri, 15 Mar 2019 20:35:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h4xI2-0008Ep-Hs for guix-patches@gnu.org; Fri, 15 Mar 2019 20:35:06 -0400 Subject: [bug#34878] [PATCH] gnu: Add edgar. Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:44238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4vw9-0007Ry-Ib for guix-patches@gnu.org; Fri, 15 Mar 2019 19:08:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h4vw6-00015F-IF for guix-patches@gnu.org; Fri, 15 Mar 2019 19:08:24 -0400 Received: from pictor.uberspace.de ([95.143.172.207]:56982) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h4vw4-00012t-TF for guix-patches@gnu.org; Fri, 15 Mar 2019 19:08:21 -0400 From: nee Message-ID: Date: Sat, 16 Mar 2019 00:08:15 +0100 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------99391307DE079A88793C20FD" Content-Language: en-GB 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: 34878@debbugs.gnu.org This is a multi-part message in MIME format. --------------99391307DE079A88793C20FD Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit --------------99391307DE079A88793C20FD Content-Type: text/x-patch; name="0001-gnu-Add-edgar.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0001-gnu-Add-edgar.patch" =46rom df6cac40e56957b8ad9177fa5e0ee925b875bbc0 Mon Sep 17 00:00:00 2001 From: nee Date: Fri, 15 Mar 2019 23:04:15 +0100 Subject: [PATCH] gnu: Add edgar. * gnu/packages/games.scm (edgar): New variable. --- gnu/packages/games.scm | 48 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 46b58e352c..5ce7d0dd9e 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -25,7 +25,7 @@ ;;; Copyright =C2=A9 2017 Adonay "adfeno" Felipe Nogueira ;;; Copyright =C2=A9 2017, 2018 Arun Isaac ;;; Copyright =C2=A9 2017, 2018, 2019 Tobias Geerinckx-Rice -;;; Copyright =C2=A9 2017 nee +;;; Copyright =C2=A9 2017, 2019 nee ;;; Copyright =C2=A9 2017 Cl=C3=A9ment Lassieur ;;; Copyright =C2=A9 2017 Marius Bakke ;;; Copyright =C2=A9 2017, 2018 Rutger Helling @@ -6276,3 +6276,49 @@ game field is extended to 4D space, which has to f= illed up by the gamer with 4D hyper cubes.") (license license:gpl3))) =20 +(define-public edgar + (package + (name "edgar") + (version "1.30") + (source + (origin + (method url-fetch) + (uri + (string-append "https://github.com/riksweeney/edgar/releases/dow= nload/" + version "/edgar-" version "-1.tar.gz")) + (sha256 + (base32 + "0bhbs33dg0nb8wqlh6px1jj41j05f89ngdqwdkffabmjk7wq5isx")))) + (build-system gnu-build-system) + (arguments '(#:tests? #f ; there are no tests + #:make-flags + (list "CC=3Dgcc" + (string-append "PREFIX=3D" (assoc-ref %outputs "o= ut")) + (string-append "BIN_DIR=3D" (assoc-ref %outputs "= out") "/bin/")) + #:phases + (modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'fix-env + (lambda* (#:key inputs #:allow-other-keys) + (setenv "CPATH" (string-append (assoc-ref inputs = "sdl") + "/include/SDL/")) + #t))))) + (inputs `(("sdl" ,sdl) + ("sdl-img" ,sdl-image) + ("sdl-mixer" ,sdl-mixer) + ("sdl-ttf" ,sdl-ttf) + ("zlib" ,zlib))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("autoconf" ,autoconf) + ("automake" ,automake) + ("gnu-gettext" ,gnu-gettext) + ("libtool" ,libtool) + ("which" ,which))) + (synopsis "2d action platformer game") + (description "The Legend of Edgar is a 2D platform game with a persi= stent world. +When Edgar's father fails to return home after venturing out one dark an= d stormy night, +Edgar fears the worst: he has been captured by the evil sorcerer who liv= es in +a fortress beyond the forbidden swamp.") + (home-page "https://www.parallelrealities.co.uk/games/edgar/") + (license license:gpl2+))) --=20 2.20.1 --------------99391307DE079A88793C20FD--