diff options
| author | 宋文武 <iyzsong@member.fsf.org> | 2025-10-04 14:50:27 +0800 |
|---|---|---|
| committer | 宋文武 <iyzsong@member.fsf.org> | 2025-10-04 15:08:15 +0800 |
| commit | 398deec53b0b6a27bd52a97ec1a60fa25d940331 (patch) | |
| tree | fdf68ba6ea8959885bc6a3c7683f9735d3330631 | |
| parent | 4385c33d8da3b0553bb6afc013bb395ae49f94ad (diff) | |
gnu: chocolate-doom: Update to 3.1.1.
* gnu/packages/games.scm (chocolate-doom): Update to 3.1.1.
[source]: Switch to git-fetch.
[native-inputs]: Add automake and autoconf.
[arguments]: Remove configure-flags. Add bootstrap phase.
(crispy-doom): Remove native-inputs and arguments customizations.
Change-Id: I15c3dc9725c67b482220559c0df67bbbe3c149f5
| -rw-r--r-- | gnu/packages/games.scm | 36 |
1 files changed, 14 insertions, 22 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 6d3266da2b..402b022679 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -9438,23 +9438,26 @@ online.") (define-public chocolate-doom (package (name "chocolate-doom") - (version "3.0.1") + (version "3.1.1") (source (origin - (method url-fetch) - (uri (string-append "https://www.chocolate-doom.org/downloads/" - version - "/chocolate-doom-" - version - ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/chocolate-doom/chocolate-doom") + (commit (string-append "chocolate-doom-" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 - "1iy8rx7kjvi1zjiw4zh77szzmd1sgpqajvbhprh1sj93fhbxcdfl")))) + (base32 "0xpribvacbma7l6138wizhcl2b0kyn05jwdkspw176zl7v3k1bn1")))) (build-system gnu-build-system) (arguments - `(#:configure-flags (list "CFLAGS=-fcommon"))) + (list + #:phases + #~(modify-phases %standard-phases + (replace 'bootstrap + ;; The bundled autogen.sh script unconditionally runs ./configure. + (lambda _ (invoke "autoreconf" "-vif")))))) (inputs (list sdl2-net sdl2-mixer sdl2)) (native-inputs - (list pkg-config)) + (list automake autoconf pkg-config)) (synopsis "Doom source port preserving the look, feel, and bugs of vanilla Doom") (description @@ -9483,17 +9486,6 @@ affect gameplay).") (file-name (git-file-name name version)) (sha256 (base32 "0lpib7dg1ygnjw1yjamfiybhkly4lp42r4lawskbjslfyjafm4ic")))) - (native-inputs - (append - (package-native-inputs chocolate-doom) - `(("automake" ,automake) - ("autoreconf" ,autoconf)))) - (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'bootstrap - ;; The bundled autogen.sh script unconditionally runs ./configure. - (lambda _ (invoke "autoreconf" "-vif")))))) (synopsis "Limit-removing enhanced-resolution Doom source port based on Chocolate Doom") (description |
