diff options
| author | Tobias Geerinckx-Rice <me@tobias.gr> | 2024-09-08 02:00:00 +0200 |
|---|---|---|
| committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2024-09-08 02:00:00 +0200 |
| commit | ee64bcfb796ef36db4b63f79540627fb25f3320a (patch) | |
| tree | 360eefab8c1bfdd0c872a10e83221976c4afe44d | |
| parent | 6078dd42d2c5ff3b4298a6e4b2192d7eb216c8ba (diff) | |
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
| -rw-r--r-- | gnu/packages/games.scm | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index fe3337c5f8a..ea3f0b7b8b1 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm | |||
| @@ -488,19 +488,28 @@ Doom clone shooter game.") | |||
| 488 | (define-public armagetronad | 488 | (define-public armagetronad |
| 489 | (package | 489 | (package |
| 490 | (name "armagetronad") | 490 | (name "armagetronad") |
| 491 | (version "0.2.9.1.1") | 491 | (version "0.2.9.2.3") |
| 492 | (source (origin | 492 | (source (origin |
| 493 | (method url-fetch) | 493 | (method url-fetch) |
| 494 | (uri (string-append "mirror://sourceforge/armagetronad/stable/" | 494 | (uri (string-append "mirror://sourceforge/armagetronad/stable/" |
| 495 | version "/armagetronad-" version ".tbz")) | 495 | version "/armagetronad-" version ".tbz")) |
| 496 | (sha256 | 496 | (sha256 |
| 497 | (base32 | 497 | (base32 |
| 498 | "0cpxvzbssyf45fmanp1d6l992wln8zkjx4z2flgx27fg1rqdw5zn")))) | 498 | "0a6rlp2lj5bp7pg1yf8brjyb3mw7nqp3amj19wvz3xni21bbc31k")))) |
| 499 | (build-system gnu-build-system) | 499 | (build-system gnu-build-system) |
| 500 | (arguments | 500 | (arguments |
| 501 | (list #:configure-flags | 501 | (list #:configure-flags |
| 502 | #~(list "--disable-games" ;don't nest everything in ‘games/’ | 502 | #~(list "--disable-games" ;don't nest everything in ‘games/’ |
| 503 | "--disable-uninstall"))) ;pointless (and broken) in Guix | 503 | "--disable-uninstall") ;pointless (and broken) in Guix |
| 504 | #:phases | ||
| 505 | #~(modify-phases %standard-phases | ||
| 506 | (add-after 'unpack 'omit-broken-symlinks | ||
| 507 | ;; v0.2.9.2.0 added relative_path() which I think broke | ||
| 508 | ;; install_link(). It now creates a broken armagetronad-master | ||
| 509 | ;; symlink that causes the 'validate-runpath phase to fail. | ||
| 510 | (lambda _ | ||
| 511 | (substitute* "batch/sysinstall.in" | ||
| 512 | (("^install_link .*BINDIR.*") ""))))))) | ||
| 504 | (native-inputs (list pkg-config)) | 513 | (native-inputs (list pkg-config)) |
| 505 | (inputs (list libxml2 | 514 | (inputs (list libxml2 |
| 506 | (sdl-union (list sdl sdl-image sdl-mixer)) | 515 | (sdl-union (list sdl sdl-image sdl-mixer)) |
