unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add supertux.
@ 2016-08-01 18:28 nee
  2016-08-02  0:43 ` Leo Famulari
  0 siblings, 1 reply; 2+ messages in thread
From: nee @ 2016-08-01 18:28 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 85 bytes --]

Hello, if I did everything right, this should add the supertux 2D
platformer game.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-supertux.patch --]
[-- Type: text/x-patch; name="0001-gnu-Add-supertux.patch", Size: 1991 bytes --]

From 98589464a2314dbb4663e39aa63768d3feb960fc Mon Sep 17 00:00:00 2001
From: nee <nee.git@cock.li>
Date: Mon, 1 Aug 2016 19:30:47 +0200
Subject: [PATCH] gnu: Add supertux.

---
 gnu/packages/games.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index e98d627..e3ef5b2 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -2696,3 +2696,37 @@ with the \"Stamp\" tool within Tux Paint.")
     (description
      "Tux Paint Config is a graphical configuration editor for Tux Paint.")
     (license license:gpl2)))            ;no "or later" present
+
+(define-public supertux
+  (package
+   (name "supertux")
+   (version "0.4.0")
+   (source (origin
+            (method url-fetch)
+            (uri (string-append "https://github.com/SuperTux/supertux/releases/"
+                                "download/v" version
+                                "/supertux-" version ".tar.bz2"))
+            (sha256
+             (base32
+              "10ppmy6w77lxj8bdzjahc9bidgl4qgzr9rimn15rnqay84ydx3fi"))))
+   (arguments '(#:tests? #f
+                #:configure-flags '("-DINSTALL_SUBDIR_BIN=bin")))
+   (build-system cmake-build-system)
+   (inputs `(("sdl2" ,sdl2)
+             ("sdl2-image" ,sdl2-image)
+             ("sdl2-mixer" ,sdl2-mixer)
+             ("openal" ,openal)
+             ("mesa" ,mesa)
+             ("glew" ,glew)
+             ("libvorbis" ,libvorbis)
+             ("libogg" ,libogg)
+             ("physfs" ,physfs)
+             ("curl" ,curl)
+             ("boost" ,boost)))
+   (native-inputs `(("pkg-config" ,pkg-config)))
+   (synopsis "2D platformer game")
+   (description "SuperTux is a free classic 2D jump'n run sidescroller game
+in a style similar to the original Super Mario games covered under
+the GNU GPL.")
+   (home-page "https://supertuxproject.org/")
+   (license l:gpl3)))
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] gnu: Add supertux.
  2016-08-01 18:28 [PATCH] gnu: Add supertux nee
@ 2016-08-02  0:43 ` Leo Famulari
  0 siblings, 0 replies; 2+ messages in thread
From: Leo Famulari @ 2016-08-02  0:43 UTC (permalink / raw)
  To: nee; +Cc: guix-devel

On Mon, Aug 01, 2016 at 08:28:28PM +0200, nee wrote:
> Hello, if I did everything right, this should add the supertux 2D
> platformer game.

> Subject: [PATCH] gnu: Add supertux.

Thanks for this contribution!

The opening scene was too scary, I had to stop playing ;)

I looked at the source files in 'src/', and the license headers include
the text "version 3 of the License, or (at your option) any later
version". So, I changed the license from gpl3 to gpl3+ and pushed as
826a3ca22.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-02  0:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-01 18:28 [PATCH] gnu: Add supertux nee
2016-08-02  0:43 ` Leo Famulari

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).