gnu: armagetronad: Update to 0.2.9.2.3.

* gnu/packages/games.scm (armagetronad): Update to 0.2.9.2.3.
[arguments]: Add a new 'omit-broken-symlinks phase.

Change-Id: I2283e27facdccfb28034434253a2a3b079ceb4c4
This commit is contained in:
Tobias Geerinckx-Rice 2024-09-08 02:00:00 +02:00
parent 6078dd42d2
commit ee64bcfb79
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79

View File

@ -488,19 +488,28 @@ Doom clone shooter game.")
(define-public armagetronad
(package
(name "armagetronad")
(version "0.2.9.1.1")
(version "0.2.9.2.3")
(source (origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/armagetronad/stable/"
version "/armagetronad-" version ".tbz"))
(sha256
(base32
"0cpxvzbssyf45fmanp1d6l992wln8zkjx4z2flgx27fg1rqdw5zn"))))
"0a6rlp2lj5bp7pg1yf8brjyb3mw7nqp3amj19wvz3xni21bbc31k"))))
(build-system gnu-build-system)
(arguments
(list #:configure-flags
#~(list "--disable-games" ;don't nest everything in games/
"--disable-uninstall"))) ;pointless (and broken) in Guix
#~(list "--disable-games" ;don't nest everything in games/
"--disable-uninstall") ;pointless (and broken) in Guix
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'omit-broken-symlinks
;; v0.2.9.2.0 added relative_path() which I think broke
;; install_link(). It now creates a broken armagetronad-master
;; symlink that causes the 'validate-runpath phase to fail.
(lambda _
(substitute* "batch/sysinstall.in"
(("^install_link .*BINDIR.*") "")))))))
(native-inputs (list pkg-config))
(inputs (list libxml2
(sdl-union (list sdl sdl-image sdl-mixer))