gnu: tome4: Improve package style.
* gnu/packages/games.scm (tome4)[inputs]: Remove labels. Sort alphabetically. [arguments]: Use G-expressions. [description]: Remove useless sentence. Change-Id: I144ae26dc03b5c49d5069e8722873437e6fde04d
parent
1b354d785c
commit
571ee7903c
|
@ -7338,21 +7338,24 @@ Crowther & Woods, its original authors, in 1995. It has been known as
|
|||
(native-inputs
|
||||
(list unzip))
|
||||
(inputs
|
||||
`(("sdl-union" ,(sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf)))
|
||||
("glu" ,glu)
|
||||
("premake4" ,premake4)
|
||||
("openal" ,openal)
|
||||
("vorbis" ,libvorbis)
|
||||
("luajit" ,luajit)))
|
||||
(list glu
|
||||
libvorbis
|
||||
luajit
|
||||
openal
|
||||
premake4
|
||||
(sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf))))
|
||||
(arguments
|
||||
`(#:make-flags
|
||||
(list (string-append "CC=" ,(cc-for-target))
|
||||
(list
|
||||
#:tests? #false ;no test
|
||||
#:make-flags
|
||||
#~(list (string-append "CC=" #$(cc-for-target))
|
||||
"config=release")
|
||||
;; XXX: Building in parallel occasionally causes this build failure:
|
||||
;; ../src/luajit2/src/host/buildvm.c:73:10: fatal error: buildvm_arch.h:
|
||||
;; No such file or directory
|
||||
#:parallel-build? #f
|
||||
#:phases (modify-phases %standard-phases
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(delete 'bootstrap)
|
||||
(replace 'configure
|
||||
(lambda _
|
||||
|
@ -7363,7 +7366,6 @@ Crowther & Woods, its original authors, in 1995. It has been known as
|
|||
(string-append
|
||||
(search-input-directory inputs "/include/SDL2")
|
||||
":" (or (getenv "CPATH") "")))))
|
||||
(delete 'check)
|
||||
;; premake doesn't provide install target
|
||||
(replace 'install
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
|
@ -7374,17 +7376,17 @@ Crowther & Woods, its original authors, in 1995. It has been known as
|
|||
(documents (string-append out "/share/doc"))
|
||||
(pixmaps (string-append out "/share/pixmaps"))
|
||||
(icon "te4-icon.png")
|
||||
(data (string-append out "/share/" ,name))
|
||||
(data (string-append out "/share/" #$name))
|
||||
(applications (string-append
|
||||
out "/share/applications"))
|
||||
(unzip (string-append
|
||||
(assoc-ref inputs "unzip") "/bin/unzip"))
|
||||
(wrapper (string-append bin "/" ,name)))
|
||||
(wrapper (string-append bin "/" #$name)))
|
||||
;; icon
|
||||
(mkdir-p pixmaps)
|
||||
(invoke unzip "-j"
|
||||
(string-append
|
||||
"game/engines/te4-" ,version ".teae")
|
||||
"game/engines/te4-" #$version ".teae")
|
||||
(string-append
|
||||
"data/gfx/" icon) "-d" pixmaps)
|
||||
;; game executable
|
||||
|
@ -7416,10 +7418,10 @@ Crowther & Woods, its original authors, in 1995. It has been known as
|
|||
;; launcher
|
||||
(mkdir-p applications)
|
||||
(make-desktop-entry-file
|
||||
(string-append applications "/" ,name ".desktop")
|
||||
(string-append applications "/" #$name ".desktop")
|
||||
#:name "ToME4"
|
||||
#:comment ,synopsis
|
||||
#:exec ,name
|
||||
#:comment #$synopsis
|
||||
#:exec #$name
|
||||
#:icon icon
|
||||
#:categories '("Game" "RolePlaying"))))))))
|
||||
(home-page "https://te4.org")
|
||||
|
@ -7427,9 +7429,7 @@ Crowther & Woods, its original authors, in 1995. It has been known as
|
|||
combat and advanced character building. Play as one of many unique races and
|
||||
classes in the lore-filled world of Eyal, exploring random dungeons, facing
|
||||
challenging battles, and developing characters with your own tailored mix of
|
||||
abilities and powers. With a modern graphical and customisable interface,
|
||||
intuitive mouse control, streamlined mechanics and deep, challenging combat,
|
||||
Tales of Maj’Eyal offers engaging roguelike gameplay for the 21st century.")
|
||||
abilities and powers.")
|
||||
(license license:gpl3+)))
|
||||
|
||||
(define-public quakespasm
|
||||
|
|
Reference in New Issue