Archived
1
0
Fork 0

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