guix_mirror_bot pushed a commit to branch master
in repository guix.

commit ef4998f465670c7df823274dd575fdf3608253f5
Author: Carlos Durán Domínguez <[email protected]>
AuthorDate: Sun Feb 22 15:24:52 2026 +0100

    gnu: solarus: Improve style.
    
    * gnu/packages/games.scm (solarus): Use G-expressions, fix indentation.
    [arguments]: Use G-expressions; reindent.
    [native-inputs]: Reindent.
    [inputs]: Refactor to modern style.
    
    Fixes: guix/guix#6231
    Change-Id: Ic648261523c951d0d91bbea67568114fd5741bad
    Signed-off-by: Liliana Marie Prikler <[email protected]>
---
 gnu/packages/games.scm | 61 +++++++++++++++++++++++++-------------------------
 1 file changed, 30 insertions(+), 31 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 6d1935f716..cf211a041f 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -3518,37 +3518,36 @@ corruption… You hope luck will be on your side!
         (base32 "0ny9dgqphjv2l39rff2621hnrzpf8qin8vmnv7jdz20azjk4m8id"))))
     (build-system cmake-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'disable-failing-tests
-           ;; The following tests fail reporting a missing "/dev/dri"
-           ;; file.
-           (lambda _
-             (substitute* "tests/cmake/AddTestMaps.cmake"
-               ((".*1200_create_shader_from_source.*" all)
-                (string-append "#" all))
-               ((".*1210_shader_scaling_factor.*" all)
-                (string-append "#" all)))
-             #t))
-         (add-before 'check 'set-home
-           ;; Tests fail without setting the following environment
-           ;; variables.
-           (lambda _
-             (setenv "HOME" (getcwd))
-             (setenv "XDG_RUNTIME_DIR" (getcwd))
-             #t)))))
-    (native-inputs
-     (list pkg-config qttools-5))
-    (inputs
-     `(("glm" ,glm)
-       ("libmodplug" ,libmodplug)
-       ("libogg" ,libogg)
-       ("libvorbis" ,libvorbis)
-       ("luajit" ,luajit)
-       ("openal" ,openal)
-       ("physfs" ,physfs)
-       ("qtbase" ,qtbase-5)
-       ("sdl2" ,(sdl-union (list sdl2 sdl2-image sdl2-ttf)))))
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'disable-failing-tests
+            ;; The following tests fail reporting a missing "/dev/dri"
+            ;; file.
+            (lambda _
+              (substitute* "tests/cmake/AddTestMaps.cmake"
+                ((".*1200_create_shader_from_source.*" all)
+                 (string-append "#" all))
+                ((".*1210_shader_scaling_factor.*" all)
+                 (string-append "#" all)))))
+          (add-before 'check 'set-home
+            ;; Tests fail without setting the following environment
+            ;; variables.
+            (lambda _
+              (setenv "HOME" (getcwd))
+              (setenv "XDG_RUNTIME_DIR" (getcwd)))))))
+    (native-inputs (list pkg-config qttools-5))
+    (inputs (list glm
+                  libmodplug
+                  libogg
+                  libvorbis
+                  luajit
+                  openal
+                  physfs
+                  qtbase-5
+                  sdl2
+                  sdl2-image
+                  sdl2-ttf))
     (home-page "https://www.solarus-games.org/";)
     (synopsis "Lightweight game engine for Action-RPGs")
     (description

Reply via email to