mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-14 07:00:32 -05:00
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>
This commit is contained in:
parent
0a38519694
commit
c1e73d074c
1 changed files with 7 additions and 13 deletions
|
@ -3464,15 +3464,15 @@ (define-public extremetuxracer
|
||||||
(define-public supertuxkart
|
(define-public supertuxkart
|
||||||
(package
|
(package
|
||||||
(name "supertuxkart")
|
(name "supertuxkart")
|
||||||
(version "1.1")
|
(version "1.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://sourceforge/supertuxkart/SuperTuxKart/"
|
(uri (string-append "mirror://sourceforge/supertuxkart/SuperTuxKart/"
|
||||||
version "/supertuxkart-" version "-src.tar.xz"))
|
version "/SuperTuxKart-" version "-src.tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1s0ai07g3sswck9mr0142989mrgzzq1njc1qxk5als5b245jpc79"))
|
"0dvx56hmy6wdhl7m9dw8zc1n3jqfp05gnxl6zs1rbfdyzl5dybh5"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
;; Delete bundled library sources
|
;; Delete bundled library sources
|
||||||
|
@ -3480,12 +3480,9 @@ (define-public supertuxkart
|
||||||
;; Supertuxkart uses modified versions of the Irrlicht engine
|
;; Supertuxkart uses modified versions of the Irrlicht engine
|
||||||
;; and the bullet library. The developers gave an explanation
|
;; and the bullet library. The developers gave an explanation
|
||||||
;; here: http://forum.freegamedev.net/viewtopic.php?f=17&t=3906
|
;; 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
|
(for-each delete-file-recursively
|
||||||
'("lib/zlib"
|
'("lib/glew"
|
||||||
"lib/libpng"
|
|
||||||
"lib/jpeglib"
|
|
||||||
"lib/glew"
|
|
||||||
"lib/wiiuse"
|
"lib/wiiuse"
|
||||||
"lib/enet"))
|
"lib/enet"))
|
||||||
#t))))
|
#t))))
|
||||||
|
@ -3494,19 +3491,16 @@ (define-public supertuxkart
|
||||||
`(#:tests? #f ; no check target
|
`(#:tests? #f ; no check target
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
(list "-DUSE_WIIUSE=0"
|
(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_GLEW=TRUE"
|
||||||
"-DUSE_SYSTEM_ENET=TRUE"
|
"-DUSE_SYSTEM_ENET=TRUE"
|
||||||
;; In order to use the system ENet library, IPv6 support (added in
|
;; In order to use the system ENet library, IPv6 support (added in
|
||||||
;; SuperTuxKart version 1.1) must be disabled.
|
;; SuperTuxKart version 1.1) must be disabled.
|
||||||
"-DUSE_IPV6=FALSE"
|
"-DUSE_IPV6=FALSE"
|
||||||
;; FIXME: needs libopenglrecorder
|
;; FIXME: needs libopenglrecorder
|
||||||
"-DBUILD_RECORDER=0"
|
"-DBUILD_RECORDER=0")))
|
||||||
;; Irrlicht returns an integer instead of a boolean
|
|
||||||
"-DCMAKE_C_FLAGS=-fpermissive")))
|
|
||||||
(inputs
|
(inputs
|
||||||
`(("glew" ,glew)
|
`(("glew" ,glew)
|
||||||
|
("sdl2" ,sdl2)
|
||||||
("zlib" ,zlib)
|
("zlib" ,zlib)
|
||||||
("openal" ,openal)
|
("openal" ,openal)
|
||||||
("libvorbis" ,libvorbis)
|
("libvorbis" ,libvorbis)
|
||||||
|
|
Loading…
Reference in a new issue