gnu: openttd-gfx: Use new package style.
* gnu/packages/games.scm (openttd-gfx)[arguments]: Convert to list of G-Expressions. [native-inputs]: Drop labels.
This commit is contained in:
parent
a1acec2fe9
commit
2bae85d39b
1 changed files with 24 additions and 21 deletions
|
@ -4300,12 +4300,14 @@ engine. When you start it you will be prompted to download a graphics set.")
|
||||||
"0nhzlk6s73qvznm5fdwcs1b42g2plf26s5ag39fvck45zm7m48jk"))))
|
"0nhzlk6s73qvznm5fdwcs1b42g2plf26s5ag39fvck45zm7m48jk"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:make-flags (list (string-append "CC=" ,(cc-for-target))
|
(list
|
||||||
|
#:make-flags
|
||||||
|
#~(list (string-append "CC=" #$(cc-for-target))
|
||||||
(string-append "INSTALL_DIR="
|
(string-append "INSTALL_DIR="
|
||||||
(assoc-ref %outputs "out")
|
#$output
|
||||||
"/share/games/openttd/baseset/opengfx"))
|
"/share/games/openttd/baseset/opengfx"))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
(lambda _
|
(lambda _
|
||||||
;; Make sure HOME is writable for GIMP.
|
;; Make sure HOME is writable for GIMP.
|
||||||
|
@ -4323,12 +4325,13 @@ engine. When you start it you will be prompted to download a graphics set.")
|
||||||
;; to disable this test.
|
;; to disable this test.
|
||||||
#:tests? #f
|
#:tests? #f
|
||||||
#:parallel-build? #f))
|
#:parallel-build? #f))
|
||||||
(native-inputs `(("dos2unix" ,dos2unix)
|
(native-inputs
|
||||||
("gimp" ,gimp)
|
(list dos2unix
|
||||||
("grfcodec" ,grfcodec)
|
gimp
|
||||||
("nml" ,nml)
|
grfcodec
|
||||||
("which" ,which)
|
nml
|
||||||
("python" ,python)))
|
which
|
||||||
|
python))
|
||||||
(home-page "http://dev.openttdcoop.org/projects/opengfx")
|
(home-page "http://dev.openttdcoop.org/projects/opengfx")
|
||||||
(synopsis "Base graphics set for OpenTTD")
|
(synopsis "Base graphics set for OpenTTD")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in a new issue