unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Alberto EFG <albertoefg@posteo.mx>
To: 40048@debbugs.gnu.org
Subject: [bug#40048] Add barrage game
Date: Thu, 12 Mar 2020 22:58:30 -0600	[thread overview]
Message-ID: <87r1xwj1ft.fsf@posteo.mx> (raw)

[-- Attachment #1: Type: text/plain, Size: 177 bytes --]

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 :)


[-- Attachment #2: 0001-gnu-Add-barrage.patch --]
[-- Type: text/x-patch, Size: 2307 bytes --]

From 74e954b5ef5caee3634be2067f32541a0f05c294 Mon Sep 17 00:00:00 2001
From: Alberto Eleuterio Flores Guerrero <barbanegra+guix@posteo.mx>
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 © 2019, 2020 Timotej Lazar <timotej.lazar@araneo.si>
 ;;; Copyright © 2019 Josh Holland <josh@inv.alid.pw>
 ;;; Copyright © 2017, 2019 Hartmut Goebel <h.goebel@crazy-compilers.com>
+;;; Copyright © 2020 Alberto Eleuterio Flores Guerrero <barbanegra+guix@posteo.mx>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -10157,3 +10158,34 @@ best human chess grandmasters.  It can be used with 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="
+                       "-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+)))
-- 
2.25.1


             reply	other threads:[~2020-03-13  4:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-13  4:58 Alberto EFG [this message]
2020-03-13 20:46 ` [bug#40048] Add barrage game Nicolas Goaziou
2020-04-13 16:35 ` Vincent Legoll
2020-04-13 16:52   ` bug#40048: " Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r1xwj1ft.fsf@posteo.mx \
    --to=albertoefg@posteo.mx \
    --cc=40048@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).