gnu: endless-sky: Update to 0.9.16.1, use new package style.
* gnu/packages/games.scm (endless-sky): Update to 0.9.16.1. [arguments]: Use G-expressions. Drop #:scons to use the default version. [inputs]: Remove labels. Add util-linux:lib. Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
parent
fd83edf8a1
commit
0e392dc35c
|
@ -8275,7 +8275,7 @@ (define-public quadrapassel
|
||||||
(define-public endless-sky
|
(define-public endless-sky
|
||||||
(package
|
(package
|
||||||
(name "endless-sky")
|
(name "endless-sky")
|
||||||
(version "0.9.14")
|
(version "0.9.16.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -8284,18 +8284,17 @@ (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 "12iganf8dxiyrjznnabsarxjsr0h717j3k4mz15p0k67wxyahhmf"))))
|
(base32 "0cb2g1cb0mk6x9gq2x7n10rxlfhsq8wnssk068j6h80al3hhybly"))))
|
||||||
(build-system scons-build-system)
|
(build-system scons-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:scons ,scons-python2
|
(list #:scons-flags #~(list (string-append "PREFIX=" #$output))
|
||||||
#:scons-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
|
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'fix-paths
|
(add-after 'unpack 'fix-paths
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda _
|
||||||
;; Look for resources in the store directory.
|
;; Look for resources in the store directory.
|
||||||
(substitute* "source/Files.cpp"
|
(substitute* "source/Files.cpp"
|
||||||
(("/usr/local") (assoc-ref outputs "out")))
|
(("/usr/local") #$output))
|
||||||
;; Install game binary into %out/bin.
|
;; Install game binary into %out/bin.
|
||||||
(substitute* "SConstruct"
|
(substitute* "SConstruct"
|
||||||
(("games\"") "bin\""))))
|
(("games\"") "bin\""))))
|
||||||
|
@ -8303,12 +8302,13 @@ (define-public endless-sky
|
||||||
;; Use gcc-ar to support LTO.
|
;; Use gcc-ar to support LTO.
|
||||||
(lambda _ (setenv "AR" "gcc-ar"))))))
|
(lambda _ (setenv "AR" "gcc-ar"))))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("glew" ,glew)
|
(list glew
|
||||||
("libjpeg" ,libjpeg-turbo)
|
libjpeg-turbo
|
||||||
("libmad" ,libmad)
|
libmad
|
||||||
("libpng" ,libpng)
|
libpng
|
||||||
("openal" ,openal)
|
openal
|
||||||
("sdl2" ,sdl2)))
|
sdl2
|
||||||
|
`(,util-linux "lib"))) ; for libuuid
|
||||||
(home-page "https://endless-sky.github.io/")
|
(home-page "https://endless-sky.github.io/")
|
||||||
(synopsis "2D space trading and combat game")
|
(synopsis "2D space trading and combat game")
|
||||||
(description "Endless Sky is a 2D space trading and combat game. Explore
|
(description "Endless Sky is a 2D space trading and combat game. Explore
|
||||||
|
|
Loading…
Reference in a new issue