Subject: [PATCH 1/1] gnu: supertuxkart: Update to 1.2

From: Raphaël Mélotte <[email-masked]>
Date: Thu, 17 Sep 2020 18:58:05 +0200

* gnu/packages/games.scm (supertuxkart): Update to 1.2
[source]: Update snippet, some of the previously bundled libraries are
gone. Also update URL.
[inputs]: Add sdl2

Signed-off-by: Raphaël Mélotte <[email-masked]>
---
 gnu/packages/games.scm | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index f6819873df..84e09b50f4 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -3459,15 +3459,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
@@ -3475,12 +3475,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))))
@@ -3502,6 +3499,7 @@ This game is based on the GPL version of the famous game TuxRacer.")
              "-DCMAKE_C_FLAGS=-fpermissive")))
     (inputs
      `(("glew" ,glew)
+       ("sdl2" ,sdl2)
        ("zlib" ,zlib)
        ("openal" ,openal)
        ("libvorbis" ,libvorbis)
-- 
2.28.0