gnu: starfighter: Update to 2.0.0.2.

* gnu/packages/games.scm (starfighter): Update to 2.0.0.2.
[source]: Use 'git-fetch' and 'git-file-name'.
[native-inputs]: Add autoconf and automake.
[inputs]: Add pango and sdl2-ttf.
[home-page]: Update project home page.
master
Kei Kebreau 2019-07-17 22:48:58 -04:00
parent 193d20f351
commit 1fe84f5dd0
No known key found for this signature in database
GPG Key ID: E6A5EE3C19467A0D
1 changed files with 20 additions and 11 deletions

View File

@ -3264,24 +3264,33 @@ tactics.")
(define-public starfighter (define-public starfighter
(package (package
(name "starfighter") (name "starfighter")
(version "1.7") (version "2.0.0.2")
;; As recommended by the upstream maintainer, use the git source code
;; instead of the released source tarball until missing files in the tarball
;; are added. The 'url-fetch' method may be appropriate again after the
;; next update. See https://github.com/pr-starfighter/starfighter/issues/1
;; for more details.
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append (uri (git-reference
"mirror://savannah/starfighter/" (url "https://github.com/pr-starfighter/starfighter")
(version-major+minor version) "/" (commit (string-append "v" version))))
"starfighter-" version "-src.tar.gz")) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1646hpjq8bz2fkfkja1dah511hn7zd2r7da4w9c9blhad3p5732v")))) "0p81ywgm2dxjbpmbsgx4f2d83sy6lv3hinrr1vzprkf9viidqnd2"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) `(("autoconf" ,autoconf)
("automake" ,automake)
("pkg-config" ,pkg-config)))
(inputs (inputs
`(("sdl2" ,sdl2) `(("pango" ,pango)
("sdl2" ,sdl2)
("sdl2-image" ,sdl2-image) ("sdl2-image" ,sdl2-image)
("sdl2-mixer" ,sdl2-mixer))) ("sdl2-mixer" ,sdl2-mixer)
(home-page "http://starfighter.nongnu.org/") ("sdl2-ttf" ,sdl2-ttf)))
(home-page "https://pr-starfighter.github.io/")
(synopsis "2D scrolling shooter game") (synopsis "2D scrolling shooter game")
(description (description
"In the year 2579, the intergalactic weapons corporation, WEAPCO, has "In the year 2579, the intergalactic weapons corporation, WEAPCO, has