From 81e0fb91fff6f9ae51e6992dd0be68d0ba68da5d Mon Sep 17 00:00:00 2001 From: Sughosha Date: Thu, 2 Feb 2023 12:13:28 +0100 Subject: [PATCH 3/3] 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. --- gnu/packages/games.scm | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index f85e9333f7..f0f3ede821 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -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 -- 2.39.1