~ruther/guix-local

398deec53b0b6a27bd52a97ec1a60fa25d940331 — 宋文武 4 months ago 4385c33
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
1 files changed, 14 insertions(+), 22 deletions(-)

M gnu/packages/games.scm
M gnu/packages/games.scm => gnu/packages/games.scm +14 -22
@@ 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