gnu: supertuxkart: Update to 1.4.

* gnu/packages/games.scm (supertuxkart): Update to 1.4.
  [snippet]: Unbundle mcpp.
  [arguments]: Enable recorder.
  [inputs]: Add libopenglrecorder.
  [native-inputs]: Add mcpp and python.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Sughosha 2023-02-02 12:13:28 +01:00 committed by Ludovic Courtès
parent daad1dedd7
commit f944fa718d
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -4082,7 +4082,7 @@ (define-public exult
(define-public supertuxkart
(package
(name "supertuxkart")
(version "1.3")
(version "1.4")
(source
(origin
(method url-fetch)
@ -4091,7 +4091,7 @@ (define-public supertuxkart
version "/SuperTuxKart-" version "-src.tar.xz"))
(sha256
(base32
"1z9z13zarv28h4jrmjna5hr6m9266pm7c2kgiwhqls01k06ypazf"))
"00qg5i9y4i5gdiiq1dbfsgp7dwj60zb5lkgi2d9p3x5s34j3k44q"))
(modules '((guix build utils)))
(snippet
;; Delete bundled library sources
@ -4099,10 +4099,11 @@ (define-public supertuxkart
;; 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, libmcpp and libraqm
;; FIXME: try to unbundle angelscript and libraqm
(for-each delete-file-recursively
'("lib/dnsc"
"lib/enet"
"lib/mcpp"
"lib/mojoal"
"lib/wiiuse"))
#t))))
@ -4115,15 +4116,14 @@ (define-public supertuxkart
"-DUSE_CRYPTO_OPENSSL=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")))
"-DUSE_IPV6=FALSE")))
(inputs
`(("curl" ,curl)
("freetype" ,freetype)
("fribidi" ,fribidi)
("glew" ,glew)
("harfbuzz" ,harfbuzz)
("libopenglrecorder" ,libopenglrecorder)
("libvorbis" ,libvorbis)
("libx11" ,libx11)
("libxrandr" ,libxrandr)
@ -4137,8 +4137,7 @@ (define-public supertuxkart
("enet" ,enet)
("libjpeg" ,libjpeg-turbo)
("openssl" ,openssl)))
(native-inputs
(list pkg-config))
(native-inputs (list mcpp pkg-config python))
(home-page "https://supertuxkart.net/Main_Page")
(synopsis "3D kart racing game")
(description "SuperTuxKart is a 3D kart racing game, with a focus on