unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Felix Gruber <felgru@posteo.net>
To: 48441@debbugs.gnu.org
Cc: Felix Gruber <felgru@posteo.net>
Subject: [bug#48441] [PATCH] gnu: Add schiffbruch.
Date: Sat, 15 May 2021 13:45:40 +0000	[thread overview]
Message-ID: <20210515134540.44089-1-felgru@posteo.net> (raw)

* gnu/packages/games.scm (schiffbruch): New variable.
---
 gnu/packages/games.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 731c0cbc4a..37065dec09 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -60,6 +60,7 @@
 ;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at>
 ;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
 ;;; Copyright © 2021 David Pflug <david@pflug.io>
+;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -12472,3 +12473,38 @@ game FPS.")
 implemented using ncurses user interface.  An SDL graphical version is also
 available.")
     (license license:gpl3+)))
+
+(define-public schiffbruch
+  (package
+    (name "schiffbruch")
+    (version "1.2.1-git-e41916d")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/sandsmark/Schiffbruch")
+             ; There haven't been any releases for several years, so
+             ; I've taken the most recent commit from the master branch
+             ; that didn't fail to build (the last commit gave me a compile
+             ; error).
+             (commit "e41916d15d87749c82c5005cbb42d1bb079b43d9")))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0lg3rqacrapf6c4sxi12cm9bmg43mlbclway1zxcm848pi1xkzwv"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:tests? #f ; no tests
+       #:build-type "Release"))
+    (native-inputs
+     `(("gcc" ,gcc-11)))  ; need C++20-compatible compiler
+    (inputs
+     `(("sfml" ,sfml)))
+    (home-page "https://github.com/sandsmark/Schiffbruch/")
+    (synopsis "Pixelart survival game")
+    (description
+     "Schiffbruch is a mix of building, strategy and adventure and gets played
+with a two-dimensional view.  The game deals with the consequences of a ship
+wreckage.  You're stranded on a desert island and have to survive.  In order to
+do so you need to explore the island, find food, build a shelter and try to
+get attention, so you get found.")
+    (license (list license:cc-by4.0))))
-- 
2.30.2





             reply	other threads:[~2021-05-15 13:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-15 13:45 Felix Gruber [this message]
2021-05-19 21:15 ` bug#48441: [PATCH] gnu: Add schiffbruch Ludovic Courtès

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=20210515134540.44089-1-felgru@posteo.net \
    --to=felgru@posteo.net \
    --cc=48441@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).