From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:44512) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCcPX-0008Sg-NK for guix-patches@gnu.org; Fri, 13 Mar 2020 00:59:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCcPW-0004sE-I0 for guix-patches@gnu.org; Fri, 13 Mar 2020 00:59:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52041) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jCcPW-0004rp-DO for guix-patches@gnu.org; Fri, 13 Mar 2020 00:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jCcPW-00007h-C6 for guix-patches@gnu.org; Fri, 13 Mar 2020 00:59:02 -0400 Subject: [bug#40048] Add barrage game Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:43981) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCcPF-0008SX-Az for guix-patches@gnu.org; Fri, 13 Mar 2020 00:58:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCcPD-0003pw-Lj for guix-patches@gnu.org; Fri, 13 Mar 2020 00:58:44 -0400 Received: from mout01.posteo.de ([185.67.36.65]:42856) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jCcPC-0003jo-WE for guix-patches@gnu.org; Fri, 13 Mar 2020 00:58:43 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id DC17716005C for ; Fri, 13 Mar 2020 05:58:39 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 48dtkk5Xgnz6tm7 for ; Fri, 13 Mar 2020 05:58:38 +0100 (CET) From: Alberto EFG Date: Thu, 12 Mar 2020 22:58:30 -0600 Message-ID: <87r1xwj1ft.fsf@posteo.mx> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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: 40048@debbugs.gnu.org --=-=-= Content-Type: text/plain Hello. My second patch, I tried to avoid the same mistakes of the last one. Everything seems to work. guix size is around 800 MB Please let me know of any mistakes I made :) --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-barrage.patch Content-Transfer-Encoding: quoted-printable >From 74e954b5ef5caee3634be2067f32541a0f05c294 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 barrage. * gnu/packages/games.scm (barrage): New variable. --- gnu/packages/games.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 322e309591..7581a429f8 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -46,6 +46,7 @@ ;;; Copyright =C2=A9 2019, 2020 Timotej Lazar ;;; Copyright =C2=A9 2019 Josh Holland ;;; Copyright =C2=A9 2017, 2019 Hartmut Goebel +;;; Copyright =C2=A9 2020 Alberto Eleuterio Flores Guerrero ;;; ;;; This file is part of GNU Guix. ;;; @@ -10157,3 +10158,34 @@ best human chess grandmasters. It can be used wit= h UCI-compatible GUIs like ChessX.") (home-page "https://stockfishchess.org/") (license license:gpl3+))) + +(define-public barrage + (package + (name "barrage") + (version "1.0.5") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/lgames/barrage/" + "barrage-" version ".tar.gz")) + (sha256 + (base32 "0139wxyrir10cbkvkjn548xgmp84wax8mfwk80yxbxlcdamrg257")))) + (build-system gnu-build-system) + (inputs + `(("sdl" ,sdl) + ("sdl-mixer" ,sdl-mixer) + ("hicolor-icon-theme" ,hicolor-icon-theme))) + (arguments + `(#:configure-flags + (list + (string-append "CFLAGS=3D" + "-I" (assoc-ref %build-inputs "sdl-mixer") + "/include/SDL")))) + (home-page "http://lgames.sourceforge.net/Barrage/") + (synopsis "Violent point-and-click shooting game with nice effects") + (description "Barrage is a rather destructive action game that + puts you on a shooting range with the objective to hit as many dummy + targets as possible within 3 minutes. You control a gun that may either + fire small or large grenades at soldiers, jeeps and tanks. + Targets are fast pace.") + (license license:gpl2+))) --=20 2.25.1 --=-=-=--