Subject: bug#26595: lugaru

From: Julien Lepiller <[email-masked]>
Date: Sun, 30 Apr 2017 14:45:17 +0200

Hi, here is an updated patch.

>From bece8280bf6216e73a6625648ffe2f67bad40d30 Mon Sep 17 00:00:00 2001
From: Julien Lepiller <[email-masked]>
Date: Fri, 21 Apr 2017 21:30:03 +0200
Subject: [PATCH] gnu: Add lugaru.

* gnu/packages/games.scm (lugaru): 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 b31bb93db..1e694d3c7 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -3941,3 +3941,39 @@ fabulous Orb of Zot.")
                    license:expat
                    license:zlib
                    license:asl2.0))))
+
+(define-public lugaru
+  (package
+    (name "lugaru")
+    (version "1.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://bitbucket.org/osslugaru/lugaru/downloads/"
+                                  name "-" version ".tar.xz"))
+              (sha256
+               (base32
+                "15zgcshy22q51rm72zi6y9z7qlgnz5iw3gczjdlir4bqmxy4gspk"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:configure-flags
+       (list "-DSYSTEM_INSTALL=ON")
+       #:tests? #f))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("sdl2" ,sdl2)
+       ("glu" ,glu)
+       ("libjpeg" ,libjpeg-turbo)
+       ("libpng" ,libpng)
+       ("openal" ,openal)
+       ("vorbis" ,libvorbis)
+       ("zlib" ,zlib)))
+    (home-page "https://osslugaru.gitlab.io")
+    (synopsis "Cross-platform third-person action game")
+    (description "The main character, Turner, is an anthropomorphic rebel bunny
+rabbit with impressive combat skills.  In his quest to find those responsible
+for slaughtering his village, he uncovers a far-reaching conspiracy involving
+the corrupt leaders of the rabbit republic and the starving wolves from a
+nearby den.  Turner takes it upon himself to fight against their plot and save
+his fellow rabbits from slavery.")
+    (license (list license:gpl2+ license:cc-by-sa3.0))))
-- 
2.12.2