* [bug#29800] [PATCH] gnu: Add meandmyshadow.
2017-12-21 15:22 [bug#29800] [PATCH] gnu: Add meandmyshadow Ricardo Wurmus
@ 2017-12-21 12:03 ` Eric Bavier
2017-12-22 6:57 ` bug#29800: " Ricardo Wurmus
0 siblings, 1 reply; 3+ messages in thread
From: Eric Bavier @ 2017-12-21 12:03 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: 29800
On Thu, 21 Dec 2017 16:22:54 +0100
Ricardo Wurmus <rekado@elephly.net> wrote:
> * gnu/packages/games.scm (meandmyshadow): New variable.
Fun game. Looks good, builds and runs fine by me.
`~Eric
^ permalink raw reply [flat|nested] 3+ messages in thread
* [bug#29800] [PATCH] gnu: Add meandmyshadow.
@ 2017-12-21 15:22 Ricardo Wurmus
2017-12-21 12:03 ` Eric Bavier
0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Wurmus @ 2017-12-21 15:22 UTC (permalink / raw)
To: 29800; +Cc: Ricardo Wurmus
* gnu/packages/games.scm (meandmyshadow): New variable.
---
gnu/packages/games.scm | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index c494d0beb..2b1bddb2f 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -354,6 +354,56 @@ played. Freedoom complements the Doom engine with free levels, artwork, sound
effects and music to make a completely free game.")
(license license:bsd-3)))
+(define-public meandmyshadow
+ (package
+ (name "meandmyshadow")
+ (version "0.4")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/meandmyshadow/"
+ version "/meandmyshadow-" version
+ "-src.tar.gz"))
+ (sha256
+ (base32
+ "1dpb7s32b2psj5w3nr5kqibib8nndi86mw8gxp4hmxwrfiisf86d"))))
+ (build-system cmake-build-system)
+ (arguments
+ '(#:tests? #f ; there are no tests
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'set-sdl'paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "cmake/Modules/FindSDL_gfx.cmake"
+ (("/usr/local/include/SDL")
+ (string-append (assoc-ref inputs "sdl")
+ "/include/SDL")))
+ ;; Because SDL provides lib/libX11.so.6 we need to explicitly
+ ;; link with libX11, even though we're using the GL backend.
+ (substitute* "CMakeLists.txt"
+ (("\\$\\{X11_LIBRARIES\\}") "-lX11"))
+ )))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("sdl" ,(sdl-union (list sdl
+ sdl-image
+ sdl-gfx
+ sdl-mixer
+ sdl-ttf)))
+ ("libx11" ,libx11) ; needed by sdl's libX11
+ ("libarchive" ,libarchive)
+ ("openssl" ,openssl)
+ ("mesa" ,mesa)
+ ("glu" ,glu)
+ ("curl" ,curl)))
+ (home-page "http://meandmyshadow.sourceforge.net/")
+ (synopsis "Puzzle/platform game")
+ (description "Me and My Shadow is a puzzle/platform game in which you try
+to reach the exit by solving puzzles. Spikes, moving blocks, fragile blocks
+and much more stand between you and the exit. Record your moves and let your
+shadow mimic them to reach blocks you couldn't reach alone.")
+ (license license:gpl3+)))
+
(define-public knights
(package
(name "knights")
--
2.15.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#29800: [PATCH] gnu: Add meandmyshadow.
2017-12-21 12:03 ` Eric Bavier
@ 2017-12-22 6:57 ` Ricardo Wurmus
0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2017-12-22 6:57 UTC (permalink / raw)
To: Eric Bavier; +Cc: 29800-done
Eric Bavier <ericbavier@centurylink.net> writes:
> On Thu, 21 Dec 2017 16:22:54 +0100
> Ricardo Wurmus <rekado@elephly.net> wrote:
>
>> * gnu/packages/games.scm (meandmyshadow): New variable.
>
> Fun game. Looks good, builds and runs fine by me.
Thanks for checking!
Pushed to master with commit 5145001a1.
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-12-22 6:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-21 15:22 [bug#29800] [PATCH] gnu: Add meandmyshadow Ricardo Wurmus
2017-12-21 12:03 ` Eric Bavier
2017-12-22 6:57 ` bug#29800: " Ricardo Wurmus
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).