gnu: cdogs-sdl: Update to commit bab20313.

Fixes <https://bugs.gnu.org/30623>.

* gnu/packages/games.scm (cdogs-sdl): Update to commit
bab2031369b9ea2dbeb7eedbde10a43dd8ca83db.
[source]: Use git-fetch.
This commit is contained in:
宋文武 2018-03-20 21:11:00 +08:00
parent c56739df6b
commit 32745b71e1
No known key found for this signature in database
GPG Key ID: 26525665AE727D37
1 changed files with 37 additions and 33 deletions

View File

@ -3539,42 +3539,46 @@ emerges from a sewer hole and pulls her below ground.")
license:cc-by-sa3.0))))) license:cc-by-sa3.0)))))
(define-public cdogs-sdl (define-public cdogs-sdl
(package ;; XXX: Use version 0.6.7 when it's available.
(name "cdogs-sdl") (let ((commit "bab2031369b9ea2dbeb7eedbde10a43dd8ca83db")
(version "0.6.6") (revision "1"))
(source (origin (package
(method url-fetch) (name "cdogs-sdl")
(uri (string-append "https://github.com/cxong/cdogs-sdl/" (version (git-version "0.6.6" revision commit))
"archive/" version ".tar.gz")) (source (origin
(file-name (string-append name "-" version ".tar.gz")) (method git-fetch)
(sha256 (uri (git-reference
(base32 (url "https://github.com/cxong/cdogs-sdl.git")
"08gbx6vqqir48xs6qdfa4kv70gj4j96wzs90pg7qldfasxz34ljm")))) (commit commit)))
(build-system cmake-build-system) (file-name (git-file-name name version))
(arguments (sha256
`(#:configure-flags (base32
(list (string-append "-DCDOGS_DATA_DIR=" "09sfqhrrffhvxbhigvrxfmai52w01w3f9kjmixjhqvqlkhn77c9n"))))
(assoc-ref %outputs "out") (build-system cmake-build-system)
"/share/cdogs-sdl/")))) (arguments
(inputs `(#:configure-flags
`(("mesa" ,mesa) (list (string-append "-DCDOGS_DATA_DIR="
("sdl2" ,sdl2) (assoc-ref %outputs "out")
("sdl2-image" ,sdl2-image) "/share/cdogs-sdl/"))))
("sdl2-mixer" ,sdl2-mixer))) (inputs
(home-page "https://cxong.github.io/cdogs-sdl/") `(("mesa" ,mesa)
(synopsis "Classic overhead run-and-gun game") ("sdl2" ,sdl2)
(description "C-Dogs SDL is a classic overhead run-and-gun game, ("sdl2-image" ,sdl2-image)
("sdl2-mixer" ,sdl2-mixer)))
(home-page "https://cxong.github.io/cdogs-sdl/")
(synopsis "Classic overhead run-and-gun game")
(description "C-Dogs SDL is a classic overhead run-and-gun game,
supporting up to 4 players in co-op and deathmatch modes. Customize your supporting up to 4 players in co-op and deathmatch modes. Customize your
player, choose from many weapons, and blast, slide and slash your way through player, choose from many weapons, and blast, slide and slash your way through
over 100 user-created campaigns.") over 100 user-created campaigns.")
;; GPLv2+ for code (includes files under BSD-2 and BSD-3), ;; GPLv2+ for code (includes files under BSD-2 and BSD-3),
;; CC0/CC-BY/CC-BY-SA for assets. ;; CC0/CC-BY/CC-BY-SA for assets.
(license (list license:gpl2+ (license (list license:gpl2+
license:bsd-2 license:bsd-2
license:bsd-3 license:bsd-3
license:cc0 license:cc0
license:cc-by3.0 license:cc-by3.0
license:cc-by-sa3.0)))) license:cc-by-sa3.0)))))
(define-public kiki (define-public kiki
(package (package