mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: cataclysm-dda: Update to 0.E.
* gnu/packages/games.scm (cataclysm-dda): Update to 0.E.
This commit is contained in:
parent
448e072555
commit
b8f5b436ec
1 changed files with 56 additions and 56 deletions
|
@ -398,61 +398,61 @@ canyons and wait for the long I-shaped block to clear four rows at a time.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public cataclysm-dda
|
(define-public cataclysm-dda
|
||||||
(let ((commit "9c732a5de48928691ab863d3ab275ca7b0e522fc"))
|
(package
|
||||||
(package
|
(name "cataclysm-dda")
|
||||||
(name "cataclysm-dda")
|
(version "0.E")
|
||||||
(version "0.D")
|
(source
|
||||||
(source (origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/CleverRaven/Cataclysm-DDA.git")
|
(url "https://github.com/CleverRaven/Cataclysm-DDA.git")
|
||||||
(commit commit)))
|
(commit version)))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0pbi0fw37zimzdklfj58s1ql0wlqq7dy6idkcsib3hn910ajaxan"))
|
||||||
"00zzhx1mh1qjq668cga5nbrxp2qk6b82j5ak65skhgnlr6ii4ysc"))
|
(file-name (git-file-name name version))))
|
||||||
(file-name (git-file-name name version))))
|
(build-system gnu-build-system)
|
||||||
(build-system gnu-build-system)
|
(arguments
|
||||||
(arguments
|
'(#:make-flags
|
||||||
'(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
||||||
"USE_HOME_DIR=1" "DYNAMIC_LINKING=1" "RELEASE=1"
|
"USE_HOME_DIR=1" "DYNAMIC_LINKING=1" "RELEASE=1"
|
||||||
"LOCALIZE=1" "LANGUAGES=all")
|
"LOCALIZE=1" "LANGUAGES=all")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
(add-after 'build 'build-tiles
|
(add-after 'build 'build-tiles
|
||||||
(lambda* (#:key make-flags outputs #:allow-other-keys)
|
(lambda* (#:key make-flags outputs #:allow-other-keys)
|
||||||
;; Change prefix directory and enable tile graphics and sound.
|
;; Change prefix directory and enable tile graphics and sound.
|
||||||
(apply invoke "make" "TILES=1" "SOUND=1"
|
(apply invoke "make" "TILES=1" "SOUND=1"
|
||||||
(string-append "PREFIX="
|
(string-append "PREFIX="
|
||||||
(assoc-ref outputs "tiles"))
|
(assoc-ref outputs "tiles"))
|
||||||
(cdr make-flags))))
|
(cdr make-flags))))
|
||||||
(add-after 'install 'install-tiles
|
(add-after 'install 'install-tiles
|
||||||
(lambda* (#:key make-flags outputs #:allow-other-keys)
|
(lambda* (#:key make-flags outputs #:allow-other-keys)
|
||||||
(apply invoke "make" "install" "TILES=1" "SOUND=1"
|
(apply invoke "make" "install" "TILES=1" "SOUND=1"
|
||||||
(string-append "PREFIX="
|
(string-append "PREFIX="
|
||||||
(assoc-ref outputs "tiles"))
|
(assoc-ref outputs "tiles"))
|
||||||
(cdr make-flags)))))
|
(cdr make-flags)))))
|
||||||
;; TODO: Add libtap++ from https://github.com/cbab/libtappp as a native
|
;; TODO: Add libtap++ from https://github.com/cbab/libtappp as a native
|
||||||
;; input in order to support tests.
|
;; input in order to support tests.
|
||||||
#:tests? #f))
|
#:tests? #f))
|
||||||
(outputs '("out"
|
(outputs '("out"
|
||||||
"tiles")) ; For tile graphics and sound support.
|
"tiles")) ;for tile graphics and sound support
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("gettext" ,gettext-minimal)
|
`(("gettext" ,gettext-minimal)
|
||||||
("pkg-config" ,pkg-config)))
|
("pkg-config" ,pkg-config)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("freetype" ,freetype)
|
`(("freetype" ,freetype)
|
||||||
("libogg" ,libogg)
|
("libogg" ,libogg)
|
||||||
("libvorbis" ,libvorbis)
|
("libvorbis" ,libvorbis)
|
||||||
("ncurses" ,ncurses)
|
("ncurses" ,ncurses)
|
||||||
("sdl2" ,sdl2)
|
("sdl2" ,sdl2)
|
||||||
("sdl2-image" ,sdl2-image)
|
("sdl2-image" ,sdl2-image)
|
||||||
("sdl2-ttf" ,sdl2-ttf)
|
("sdl2-ttf" ,sdl2-ttf)
|
||||||
("sdl2-mixer" ,sdl2-mixer)))
|
("sdl2-mixer" ,sdl2-mixer)))
|
||||||
(home-page "https://cataclysmdda.org/")
|
(home-page "https://cataclysmdda.org/")
|
||||||
(synopsis "Survival horror roguelike video game")
|
(synopsis "Survival horror roguelike video game")
|
||||||
(description
|
(description
|
||||||
"Cataclysm: Dark Days Ahead (or \"DDA\" for short) is a roguelike set
|
"Cataclysm: Dark Days Ahead (or \"DDA\" for short) is a roguelike set
|
||||||
in a post-apocalyptic world. Struggle to survive in a harsh, persistent,
|
in a post-apocalyptic world. Struggle to survive in a harsh, persistent,
|
||||||
procedurally generated world. Scavenge the remnants of a dead civilization
|
procedurally generated world. Scavenge the remnants of a dead civilization
|
||||||
for food, equipment, or, if you are lucky, a vehicle with a full tank of gas
|
for food, equipment, or, if you are lucky, a vehicle with a full tank of gas
|
||||||
|
@ -460,7 +460,7 @@ to get you out of Dodge. Fight to defeat or escape from a wide variety of
|
||||||
powerful monstrosities, from zombies to giant insects to killer robots and
|
powerful monstrosities, from zombies to giant insects to killer robots and
|
||||||
things far stranger and deadlier, and against the others like yourself, that
|
things far stranger and deadlier, and against the others like yourself, that
|
||||||
want what you have.")
|
want what you have.")
|
||||||
(license license:cc-by-sa3.0))))
|
(license license:cc-by-sa3.0)))
|
||||||
|
|
||||||
(define-public corsix-th
|
(define-public corsix-th
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue