[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: supertuxkart: Update to 1.2.
From: |
guix-commits |
Subject: |
01/02: gnu: supertuxkart: Update to 1.2. |
Date: |
Mon, 21 Sep 2020 03:16:02 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit c1e73d074c72d4427dde2c60ab47abeebec474a2
Author: Raphaël Mélotte <raphael.melotte@mind.be>
AuthorDate: Thu Sep 17 18:58:05 2020 +0200
gnu: supertuxkart: Update to 1.2.
* gnu/packages/games.scm (supertuxkart): Update to 1.2.
[source]: Update snippet, some of the previously bundled libraries are
gone. Also update URL.
[arguments]: Remove unneeded configure flags.
[inputs]: Add sdl2.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/games.scm | 20 +++++++-------------
1 file changed, 7 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 80d1659..d04f702 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -3464,15 +3464,15 @@ This game is based on the GPL version of the famous
game TuxRacer.")
(define-public supertuxkart
(package
(name "supertuxkart")
- (version "1.1")
+ (version "1.2")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/supertuxkart/SuperTuxKart/"
- version "/supertuxkart-" version "-src.tar.xz"))
+ version "/SuperTuxKart-" version "-src.tar.xz"))
(sha256
(base32
- "1s0ai07g3sswck9mr0142989mrgzzq1njc1qxk5als5b245jpc79"))
+ "0dvx56hmy6wdhl7m9dw8zc1n3jqfp05gnxl6zs1rbfdyzl5dybh5"))
(modules '((guix build utils)))
(snippet
;; Delete bundled library sources
@@ -3480,12 +3480,9 @@ This game is based on the GPL version of the famous game
TuxRacer.")
;; Supertuxkart uses modified versions of the Irrlicht engine
;; and the bullet library. The developers gave an explanation
;; here: http://forum.freegamedev.net/viewtopic.php?f=17&t=3906
- ;; FIXME: try to unbundle angelscript and libraqm
+ ;; FIXME: try to unbundle angelscript, libmcpp and libraqm
(for-each delete-file-recursively
- '("lib/zlib"
- "lib/libpng"
- "lib/jpeglib"
- "lib/glew"
+ '("lib/glew"
"lib/wiiuse"
"lib/enet"))
#t))))
@@ -3494,19 +3491,16 @@ This game is based on the GPL version of the famous
game TuxRacer.")
`(#:tests? #f ; no check target
#:configure-flags
(list "-DUSE_WIIUSE=0"
- ;; Do not use the bundled zlib, glew and enet.
- "-DNO_IRR_COMPILE_WITH_ZLIB_=TRUE"
"-DUSE_SYSTEM_GLEW=TRUE"
"-DUSE_SYSTEM_ENET=TRUE"
;; In order to use the system ENet library, IPv6 support (added in
;; SuperTuxKart version 1.1) must be disabled.
"-DUSE_IPV6=FALSE"
;; FIXME: needs libopenglrecorder
- "-DBUILD_RECORDER=0"
- ;; Irrlicht returns an integer instead of a boolean
- "-DCMAKE_C_FLAGS=-fpermissive")))
+ "-DBUILD_RECORDER=0")))
(inputs
`(("glew" ,glew)
+ ("sdl2" ,sdl2)
("zlib" ,zlib)
("openal" ,openal)
("libvorbis" ,libvorbis)