GNU bug report logs - #57390
[PATCH 0/3] gnu: Add harmonist-sdl.

Previous Next

Package: guix-patches;

Reported by: Cairn <cairn <at> pm.me>

Date: Wed, 24 Aug 2022 18:03:01 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Cairn <cairn <at> pm.me>
To: 57390 <at> debbugs.gnu.org
Cc: Cairn <cairn <at> pm.me>
Subject: [bug#57390] [PATCH 3/3] gnu: Add harmonist-sdl.
Date: Wed, 24 Aug 2022 18:06:51 +0000
* gnu/packages/games.scm (harmonist-sdl): New variable.
---
 gnu/packages/games.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 7f5d59cce1..6e8e695c02 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -73,6 +73,7 @@
 ;;; Copyright © 2022 zamfofex <zamfofex <at> twdb.moe>
 ;;; Copyright © 2022 Gabriel Arazas <foo.dogsquared <at> gmail.com>
 ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
+;;; Copyright © 2022 Cairn <cairn <at> pm.me>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -9531,6 +9532,22 @@ (define-public harmonist
 on items and player adaptability for character progression.")
     (license license:isc)))
 
+(define-public harmonist-sdl
+  (package
+   (inherit harmonist)
+   (name "harmonist-sdl")
+   (native-inputs
+    (modify-inputs (package-native-inputs harmonist)
+      (append pkg-config)))
+   (inputs
+    (modify-inputs (package-inputs harmonist)
+      (append go-github-com-anaseto-gruid-sdl)))
+   (arguments
+    (substitute-keyword-arguments (package-arguments harmonist)
+      ((#:build-flags flags ''())
+       `(append '("--tags" "sdl")
+                ,flags))))))
+
 (define-public drascula
   (package
     (name "drascula")
-- 
2.37.2






This bug report was last modified 96 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.