From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:47974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hG24e-0004WI-7o for guix-patches@gnu.org; Mon, 15 Apr 2019 09:55:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hG24d-00068x-0g for guix-patches@gnu.org; Mon, 15 Apr 2019 09:55:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49000) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hG24c-00068n-Pt for guix-patches@gnu.org; Mon, 15 Apr 2019 09:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hG24c-0007NW-OB for guix-patches@gnu.org; Mon, 15 Apr 2019 09:55:02 -0400 Subject: [bug#35288] [PATCH 3/3] gnu: Add alex4. Resent-Message-ID: From: Kei Kebreau Date: Mon, 15 Apr 2019 09:53:48 -0400 Message-Id: <20190415135348.31901-2-kkebreau@posteo.net> In-Reply-To: <20190415135348.31901-1-kkebreau@posteo.net> References: <20190415135348.31901-1-kkebreau@posteo.net> MIME-Version: 1.0 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: 35288@debbugs.gnu.org Cc: Kei Kebreau * gnu/packages/games.scm (alex4): New variable. --- gnu/packages/games.scm | 50 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 0b93409c76..ee8be07efe 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -237,6 +237,56 @@ enemy, ally, weapon and mission types. Features include simulated 4D texturing, mouse and joystick control, and original music.") (license license:gpl2))) +(define-public alex4 + (package + (name "alex4") + (version "1.2-alpha") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/carstene1ns/alex4/archive/" + version ".tar.gz")) + (sha256 + (base32 "0jj1g3v1a6lyfwp5g2ly0n9z65ryqck8jxvzr01kaqjj3lsfkrhg")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no check target + #:make-flags + (list "-Csrc" + "CC=gcc" + "CFLAGS=-D_FILE_OFFSET_BITS=64" + (string-append "DATADIR=" (assoc-ref %outputs "out") + "/share/" ,name) + (string-append "PREFIX=" (assoc-ref %outputs "out"))) + #:phases + (modify-phases %standard-phases + (replace 'configure + (lambda _ + (substitute* '("src/main.c" + "src/shooter.c") + (("fcos") "fixcos") + (("fmul") "fixmul") + (("fsin") "fixsin")) + #t)) + (add-after 'install 'install-data + (lambda* (#:key outputs #:allow-other-keys) + (let ((share (string-append (assoc-ref outputs "out") + "/share/" ,name))) + (install-file "alex4.ini" share) + #t)))))) + (inputs + `(("allegro" ,allegro-4) + ("dumb" ,dumb-allegro4))) + (home-page "http://allegator.sourceforge.net/") + (synopsis "Retro platform game") + (description + "Guide Alex the Allegator through the jungle in order to save his +girlfriend Lola from evil humans who want to make a pair of shoes out of her. +Plenty of classic platforming in four nice colors guaranteed! + +The game includes a built-in editor so you can design and share your own maps.") + (license license:gpl2+))) + (define-public armagetron-advanced (package (name "armagetron-advanced") -- 2.21.0