lilyp pushed a commit to branch master
in repository guix.

commit c2759211fcc37e1a6cde904217a185e1a6097405
Author: Felix Gruber <[email protected]>
AuthorDate: Sat Nov 6 10:40:37 2021 +0000

    gnu: openttd-opengfx: Update to 7.1.
    
    * packages/games.scm (openttd-opengfx): Update to 7.1.
      [native-inputs]: Replace python-2 with python.
      [arguments]: Use cc-for-target.
    
    Signed-off-by: Liliana Marie Prikler <[email protected]>
---
 gnu/packages/games.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 70207c6..bcce16c 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -4324,7 +4324,7 @@ engine.  When you start it you will be prompted to 
download a graphics set.")
 (define openttd-opengfx
   (package
     (name "openttd-opengfx")
-    (version "0.6.1")
+    (version "7.1")
     (source
      (origin
        (method url-fetch)
@@ -4332,10 +4332,10 @@ engine.  When you start it you will be prompted to 
download a graphics set.")
                            version "/opengfx-" version "-source.tar.xz"))
        (sha256
         (base32
-         "0jgy8xv7r72m127qn09vr3rxhnbakl2990f7lldsk0d5d8n993vd"))))
+         "0nhzlk6s73qvznm5fdwcs1b42g2plf26s5ag39fvck45zm7m48jk"))))
     (build-system gnu-build-system)
     (arguments
-     '(#:make-flags (list "CC=gcc"
+     `(#:make-flags (list (string-append "CC=" ,(cc-for-target))
                           (string-append "INSTALL_DIR="
                                          (assoc-ref %outputs "out")
                                          
"/share/games/openttd/baseset/opengfx"))
@@ -4363,7 +4363,7 @@ engine.  When you start it you will be prompted to 
download a graphics set.")
                      ("grfcodec" ,grfcodec)
                      ("nml" ,nml)
                      ("which" ,which)
-                     ("python" ,python-2)))
+                     ("python" ,python)))
     (home-page "http://dev.openttdcoop.org/projects/opengfx";)
     (synopsis "Base graphics set for OpenTTD")
     (description

Reply via email to