unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#42524] [PATCH] gnu: Add azimuth.
@ 2020-07-24 23:37 Hass, Trevor Stenten
  2020-07-25 10:57 ` bug#42524: " Oleg Pykhalov
  0 siblings, 1 reply; 2+ messages in thread
From: Hass, Trevor Stenten @ 2020-07-24 23:37 UTC (permalink / raw)
  To: 42524

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



[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-packages-games.scm-azimuth-New-variable.patch --]
[-- Type: text/x-patch; name="0001-gnu-packages-games.scm-azimuth-New-variable.patch", Size: 2431 bytes --]

From 9b2c4fe57162b0288083998f03cabb8221c7d117 Mon Sep 17 00:00:00 2001
From: Trevor Hass <thass@okstate.edu>
Date: Fri, 24 Jul 2020 18:22:56 -0500
Subject: [PATCH] * gnu/packages/games.scm (azimuth): New variable.

---
 gnu/packages/games.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 213acc6b9f..128a78460c 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -52,6 +52,7 @@
 ;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us>
 ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
+;;; Copyright © 2020 Trevor Hass <thass@okstate.edu>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -11667,3 +11668,40 @@ game.")  ;thanks to Debian for description
      "With PokerTH you can play the Texas holdem poker game, either against
 computer opponents or against real players online.")
     (license license:agpl3+)))
+
+(define-public azimuth
+  (package
+    (name "azimuth")
+    ;; Not marked as latest release, but it fixes a compiling issue
+    ;; and adds the install target.
+    (version "1.0.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/mdsteele/azimuth")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1znfvpmqiixd977jv748glk5zc4cmhw5813zp81waj07r9b0828r"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:test-target "test"
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure)            ; no configure script
+         ;; Build release version instead of debug version.
+         (add-after 'unpack 'set-release
+           (lambda _
+             (setenv "BUILDTYPE" "release") #t))
+         (add-after 'unpack 'fix-install ; set install directory
+           (lambda* (#:key outputs #:allow-other-keys)
+             (substitute* "Makefile" (("/usr") (assoc-ref outputs "out"))) #t)))))
+    (inputs `(("sdl" ,sdl)))
+    (home-page "https://mdsteele.games/azimuth/")
+    (synopsis "Metroidvania game with vector graphics")
+    (description
+     "Pilot your ship inside a planet to find and rescue the colonists trapped
+inside the Zenith Colony.")
+    (license license:gpl3+)))
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#42524: [PATCH] gnu: Add azimuth.
  2020-07-24 23:37 [bug#42524] [PATCH] gnu: Add azimuth Hass, Trevor Stenten
@ 2020-07-25 10:57 ` Oleg Pykhalov
  0 siblings, 0 replies; 2+ messages in thread
From: Oleg Pykhalov @ 2020-07-25 10:57 UTC (permalink / raw)
  To: Hass, Trevor Stenten; +Cc: 42524-done

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

Hi,

"Hass, Trevor Stenten" <thass@okstate.edu> writes:

> From 9b2c4fe57162b0288083998f03cabb8221c7d117 Mon Sep 17 00:00:00 2001
> From: Trevor Hass <thass@okstate.edu>
> Date: Fri, 24 Jul 2020 18:22:56 -0500
> Subject: [PATCH] * gnu/packages/games.scm (azimuth): New variable.

Should also put a “gnu: Add azimuth.” line in the Git message.

> ---
>  gnu/packages/games.scm | 38 ++++++++++++++++++++++++++++++++++++++
>  1 file changed, 38 insertions(+)
>
> diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
> index 213acc6b9f..128a78460c 100644
> --- a/gnu/packages/games.scm
> +++ b/gnu/packages/games.scm
> @@ -52,6 +52,7 @@

[…]

Runs great,  ;-)

Pushed to master.

Thanks,
Oleg.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-25 10:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-24 23:37 [bug#42524] [PATCH] gnu: Add azimuth Hass, Trevor Stenten
2020-07-25 10:57 ` bug#42524: " Oleg Pykhalov

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