gnu: dhewm3: Update to 1.5.4.

* gnu/packages/game-development.scm: (dhewm3): Update to 1.5.4.
[arguments]: Set configure flags for 32-bit builds.

Change-Id: I8db801b099910e60e85d0da7ddcc77654205107f
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
James Smith 2024-09-04 20:37:26 -07:00 committed by Liliana Marie Prikler
parent 6340cefd39
commit 0e0d9bc91f
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -3092,7 +3092,7 @@ (define-public warsow-qfusion
(define-public dhewm3
(package
(name "dhewm3")
(version "1.5.3")
(version "1.5.4")
(source (origin
(method git-fetch)
(uri (git-reference (url "https://github.com/dhewm/dhewm3")
@ -3100,10 +3100,15 @@ (define-public dhewm3
(file-name (git-file-name name version))
(sha256
(base32
"1zbwhrngmgb0969izmxididyx892qk7591aa9mbigakw6dvmlm84"))))
"16cvf78a7q00bkf74waj6gss09y4iqn3zl9srsfg6i7336gjm2wn"))))
(build-system cmake-build-system)
(arguments
(list #:tests? #f ; No tests.
#:configure-flags
;; Needed to fix 32bit builds.
#~(if (not #$(target-64bit?))
(list "-DCMAKE_CXX_FLAGS=-D_FILE_OFFSET_BITS=64")
'())
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'change-to-build-dir