From: Ricardo Wurmus <rekado@elephly.net>
To: 26418@debbugs.gnu.org
Cc: Ricardo Wurmus <rekado@elephly.net>
Subject: bug#26418: [PATCH] gnu: Add freegish.
Date: Sun, 9 Apr 2017 13:33:36 +0200 [thread overview]
Message-ID: <20170409113336.26331-1-rekado@elephly.net> (raw)
* gnu/packages/games.scm (freegish): New variable.
---
gnu/packages/games.scm | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index a09ea3e11..bc4a243e9 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -3458,3 +3458,54 @@ starting a decryption sequence to reveal the original plaintext characters.")
game, where you control the armies of one of seven different factions: Tech,
Magic, Egypt, Indians, Norsemen, Persian or Romans.")
(license license:gpl2+)))
+
+(define-public freegish
+ (let ((commit "8795cd7adc95957883f2d3465eb9036a774667a7")
+ (revision "1"))
+ (package
+ (name "freegish")
+ (version (string-append "0-" revision "." (string-take commit 9)))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/freegish/freegish.git")
+ (commit commit)))
+ (sha256
+ (base32
+ "1p1zf5qqagmcpi1db2bs02cnalpy3qiymp6yzan7k1bhmv859gsx"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:tests? #f ; no tests included
+ #:configure-flags
+ (list "-DCMAKE_INSTALL_FHS=ON")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'set-DATAPATH
+ (lambda* (#:key outputs #:allow-other-keys)
+ (substitute* "CMakeLists.txt"
+ (("^option\\(INSTALL_FHS" line)
+ (string-append "add_definitions(-DDATAPATH=\""
+ (assoc-ref outputs "out") "/share/freegish\")\n"
+ line)))
+ #t)))))
+ (inputs
+ `(("sdl-union" ,(sdl-union (list sdl sdl-mixer)))
+ ("openal" ,openal)
+ ("libvorbis" ,libvorbis)
+ ("libogg" ,libogg)
+ ("mesa" ,mesa)
+ ("libpng" ,libpng)
+ ("zlib" ,zlib)))
+ (home-page "https://github.com/freegish/freegish")
+ (synopsis "Side-scrolling physics platformer with a ball of tar")
+ (description "In FreeGish you control Gish, a ball of tar who lives
+happily with his girlfriend Brea, until one day a mysterious dark creature
+emerges from a sewer hole and pulls her below ground.")
+ ;; The audio files in the "music" directory are licensed under CC-BY-NC,
+ ;; but they are not installed. The textures are available under the
+ ;; Expat license. All other assets (including levels) are covered under
+ ;; CC-BY-SA or public domain. The source code is under GPLv2+.
+ (license (list license:gpl2+
+ license:expat
+ license:public-domain
+ license:cc-by-sa3.0)))))
--
2.12.2
next reply other threads:[~2017-04-09 11:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-09 11:33 Ricardo Wurmus [this message]
2017-04-09 15:43 ` bug#26418: [PATCH] gnu: Add freegish Marius Bakke
2017-04-09 20:15 ` Ricardo Wurmus
2017-04-09 21:32 ` Ricardo Wurmus
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170409113336.26331-1-rekado@elephly.net \
--to=rekado@elephly.net \
--cc=26418@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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.