gnu: warzone2100: Update to 4.3.3.

* gnu/packages/games.scm (warzone2100): Update to 4.3.3.
[native-inputs]: Remove old-style package labels.
[inputs]: Add opus. Remove old-style package labels.

Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
Kjartan Oli Agustsson 2023-03-07 13:33:07 +00:00 committed by Leo Famulari
parent 8d7090998e
commit 4f7ba4bee4
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -5267,7 +5267,7 @@ (define-public tennix
(define-public warzone2100 (define-public warzone2100
(package (package
(name "warzone2100") (name "warzone2100")
(version "4.0.1") (version "4.3.3")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -5275,7 +5275,7 @@ (define-public warzone2100
version version
"/warzone2100_src.tar.xz")) "/warzone2100_src.tar.xz"))
(sha256 (sha256
(base32 "1f8a4kflslsjl8jrryhwg034h1yc9y3y1zmllgww3fqkz3aj4xik")) (base32 "17p58wxwva0qp267hm1alas52jd9h74494wh01ahz880hscbjg1w"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(begin '(begin
@ -5312,31 +5312,32 @@ (define-public warzone2100
(string-append "iV_DrawTextRotated(\"Press ESC to exit.\", " (string-append "iV_DrawTextRotated(\"Press ESC to exit.\", "
"100, 100, 0.0f, font_regular);"))) "100, 100, 0.0f, font_regular);")))
#t))))) #t)))))
(native-inputs `(("asciidoc" ,asciidoc) (native-inputs (list asciidoc
("asciidoctor" ,ruby-asciidoctor) ruby-asciidoctor
("gettext" ,gettext-minimal) gettext-minimal
("pkg-config" ,pkg-config) pkg-config
("unzip" ,unzip) unzip
;; 7z is used to create .zip archive, not `zip' as in version 3.2.*. ;; 7z is used to create .zip archive, not `zip' as in version 3.2.*.
("p7zip" ,p7zip))) p7zip))
(inputs `(("curl" ,curl) (inputs (list opus
("fontconfig" ,fontconfig) curl
("freetype" ,freetype) fontconfig
("glew" ,glew) freetype
("harfbuzz" ,harfbuzz) glew
("libtheora" ,libtheora) harfbuzz
("libvorbis" ,libvorbis) libtheora
("libxrandr" ,libxrandr) libvorbis
("libsodium" ,libsodium) libxrandr
("miniupnpc" ,miniupnpc) libsodium
("openal" ,openal) miniupnpc
("physfs" ,physfs) openal
("qtbase" ,qtbase-5) physfs
("qtscript" ,qtscript) qtbase-5
("openssl" ,openssl) qtscript
("sdl2" ,sdl2) openssl
("sqlite" ,sqlite) sdl2
("utfcpp" ,utfcpp))) sqlite
utfcpp))
(home-page "https://wz2100.net") (home-page "https://wz2100.net")
(synopsis "3D Real-time strategy and real-time tactics game") (synopsis "3D Real-time strategy and real-time tactics game")
(description (description