unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Cairn via Guix-patches via <guix-patches@gnu.org>
To: 57390@debbugs.gnu.org
Cc: Cairn <cairn@pm.me>
Subject: [bug#57390] [PATCH 3/3] gnu: Add harmonist-sdl.
Date: Wed, 24 Aug 2022 18:06:51 +0000	[thread overview]
Message-ID: <20220824180646.29263-1-cairn@pm.me> (raw)
In-Reply-To: <20220824180118.28815-1-cairn@pm.me>

* 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@twdb.moe>
 ;;; Copyright © 2022 Gabriel Arazas <foo.dogsquared@gmail.com>
 ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2022 Cairn <cairn@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






      parent reply	other threads:[~2022-08-24 18:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-24 18:01 [bug#57390] [PATCH 0/3] gnu: Add harmonist-sdl Cairn via Guix-patches via
2022-08-24 18:05 ` [bug#57390] [PATCH 1/3] gnu: Add go-github-com-veandco-go-sdl2 Cairn via Guix-patches via
2022-08-24 18:06 ` [bug#57390] [PATCH 2/3] gnu: Add go-github-com-anaseto-gruid-sdl Cairn via Guix-patches via
2022-08-24 18:06 ` Cairn via Guix-patches via [this message]

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=20220824180646.29263-1-cairn@pm.me \
    --to=guix-patches@gnu.org \
    --cc=57390@debbugs.gnu.org \
    --cc=cairn@pm.me \
    /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).