gnu: endless-sky: Update to 0.9.14.

* gnu/packages/games.scm (endless-sky): Update to 0.9.14.
[arguments]: Add 'use-gcc-ar phase to support LTO used by the new version.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Timotej Lazar 2021-08-04 12:49:30 +02:00 committed by Nicolas Goaziou
parent 8b4a654ab9
commit 79eb05f84f
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -8351,7 +8351,7 @@ (define-public quadrapassel
(define-public endless-sky (define-public endless-sky
(package (package
(name "endless-sky") (name "endless-sky")
(version "0.9.12") (version "0.9.14")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -8360,7 +8360,7 @@ (define-public endless-sky
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "18nkl4s3r5sy3sd9lhbdg9160c7fggklklprx0d5azifc8g6k0wj")))) (base32 "12iganf8dxiyrjznnabsarxjsr0h717j3k4mz15p0k67wxyahhmf"))))
(build-system scons-build-system) (build-system scons-build-system)
(arguments (arguments
`(#:scons ,scons-python2 `(#:scons ,scons-python2
@ -8382,7 +8382,10 @@ (define-public endless-sky
"Environment(ENV = os.environ)") "Environment(ENV = os.environ)")
;; Install into %out/bin ;; Install into %out/bin
(("games\"") "bin\"")) (("games\"") "bin\""))
#t))))) #t))
(add-before 'build 'use-gcc-ar
;; Use gcc-ar to support LTO.
(lambda _ (setenv "AR" "gcc-ar"))))))
(inputs (inputs
`(("glew" ,glew) `(("glew" ,glew)
("libjpeg" ,libjpeg-turbo) ("libjpeg" ,libjpeg-turbo)