Subject: [PATCH] gnu: Add woof-doom.

From: Andrew Wong <[email-masked]>
Date: Sat, 18 Jan 2025 00:46:03 -0500

* gnu/packages/games.scm (woof-doom): New variable.

Change-Id: I77cfa0fd2f2a20d6eee5d0339b9673899bb0ecad
---
This patch adds the Woof! source port for Doom.
 gnu/packages/games.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 3d71a7cf8b..0b63371bb8 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -8708,6 +8708,42 @@ (define-public crispy-doom
 original.")
     (home-page "https://www.chocolate-doom.org/wiki/index.php/Crispy_Doom")))
 
+(define-public woof-doom
+  (package
+    (name "woof-doom")
+    (version "15.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/fabiangreffrath/woof")
+             (commit (string-append "woof_" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1y21g1h6vlsqyimjh8acfj8r2zyib26m9b7vf66hp4ma4zxh6mxd"))))
+    (build-system cmake-build-system)
+    (arguments (list #:tests? #f))
+    (native-inputs (list python))
+    (inputs (list sdl2
+                  sdl2-net
+                  openal
+                  libsndfile
+                  libebur128
+                  yyjson
+                  fluidsynth
+                  libxmp))
+    (home-page "https://github.com/fabiangreffrath/woof")
+    (synopsis "MBF-style Doom source port targeted at modern systems")
+    (description
+     "Woof! is a continuation of the ``MBF'' lineage of Doom source ports, with modern
+features such as dynamic resolution scaling, uncapped framerates,
+adjustable field of view, 3D audio with HRTF and 7.1 surround sound
+support, and modern gamepad features including rumble, gyro, and flick
+stick support. Supports the new MBF21 format, as well as the MUSINFO,
+UMAPINFO, DEHEXTRA, and DSDHacked specifictions.")
+    (license license:gpl2+)))
+
+
 (define xonotic-data
   (package
     (name "xonotic-data")

base-commit: 87045f0982bd7aebb07b380cbf322651227546f4
-- 
2.47.1