guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: pinball: Update to 0.3.20230219.


From: guix-commits
Subject: branch master updated: gnu: pinball: Update to 0.3.20230219.
Date: Thu, 04 May 2023 00:17:11 -0400

This is an automated email from the git hooks/post-receive script.

bavier pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new d71bbf2e7d gnu: pinball: Update to 0.3.20230219.
d71bbf2e7d is described below

commit d71bbf2e7d043b89477462cff0e00074339621d2
Author: Eric Bavier <bavier@posteo.net>
AuthorDate: Wed May 3 22:32:27 2023 -0500

    gnu: pinball: Update to 0.3.20230219.
    
    * gnu/packages/games.scm (pinball): Update to 0.3.20230219.
    [inputs]: Use sdl-union.
    [arguments]: Adjust configure flags.  Use gexps.  Remove debug outpu.
---
 gnu/packages/games.scm | 40 ++++++++++++++++++----------------------
 1 file changed, 18 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 27a52f66b6..4fb9775e8d 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -4951,7 +4951,7 @@ logging, so games can be viewed again.")
 (define-public pinball
   (package
     (name "pinball")
-    (version "0.3.20201218")
+    (version "0.3.20230219")
     (source
      (origin (method git-fetch)
              (uri (git-reference
@@ -4960,7 +4960,7 @@ logging, so games can be viewed again.")
              (file-name (git-file-name name version))
              (sha256
               (base32
-               "056jk98v6zlkrj9vjm06p0pmpnav1x658n6qw10v5klg5gr6ldf7"))
+               "02by4df9hgda5zhl9p3rwg0s4mlxdr0v8f8dk152vjp43p1wqvfp"))
              (patches (search-patches "pinball-system-ltdl.patch"))))
     (build-system gnu-build-system)
     (native-inputs
@@ -4969,27 +4969,23 @@ logging, so games can be viewed again.")
      (list glu
            libltdl
            mesa
-           sdl
-           sdl-image
-           sdl-mixer))
+           (sdl-union (list sdl2 sdl2-image sdl2-mixer))))
     (arguments
-     '(#:configure-flags
-       ;; Configure tries to use pkg-config, but falls short, so:
-       (list (string-append "CPPFLAGS=-I"
-                            (assoc-ref %build-inputs "sdl-image")
-                            "/include/SDL -I"
-                            (assoc-ref %build-inputs "sdl-mixer")
-                            "/include/SDL"))
-       #:phases
-       (modify-phases %standard-phases
-         (replace 'bootstrap
-           ;; The `bootstrap` script tries to call a script with
-           ;; `/usr/bin/make` in the shebang, but ultimately does the same as
-           ;; autoreconf would do, so just use that.
-           (lambda _
-             (symlink "README.md" "README")
-             (display (which "autoreconf")) (newline)
-             (invoke "autoreconf" "-vif"))))))
+     (list
+      #:configure-flags
+      ;; Configure tries to use pkg-config, but falls short, so:
+      #~(list (string-append "CPPFLAGS=-I"
+                             #$(this-package-input "sdl-union")
+                             "/include/SDL2"))
+      #:phases
+      #~(modify-phases %standard-phases
+          (replace 'bootstrap
+            ;; The `bootstrap` script tries to call a script with
+            ;; `/usr/bin/make` in the shebang, but ultimately does the same as
+            ;; autoreconf would do, so just use that.
+            (lambda _
+              (symlink "README.md" "README")
+              (invoke "autoreconf" "-vif"))))))
     (home-page "https://pinball.sourceforge.net";)
     (synopsis "Pinball simulator")
     (description "The Emilia Pinball Project is a pinball simulator.  There



reply via email to

[Prev in Thread] Current Thread [Next in Thread]