summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Faiz via Guix-patches via <guix-patches@gnu.org>2025-02-14 16:23:31 +0800
committerChristopher Baines <mail@cbaines.net>2025-05-16 07:06:50 +0100
commit79623b91eee06e5a94b5678f2687c65829574a1e (patch)
tree0cbd2566d3fe22f0aa5da5e312f2e7a235e037d5
parentd42a7e4b0a5783532cdfb239e0846fe3b61b227a (diff)
gnu: Add sdl2-mixer-x.
* gnu/packages/sdl.scm (sdl2-mixer-x): New variable. Signed-off-by: Steve George <steve@futurile.net> Change-Id: Ifaf85f98d7beb8861c3b99a012d8b77ab17e2129
-rw-r--r--gnu/packages/sdl.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index 567f2615e7..ee6c1d11fd 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -660,6 +660,29 @@ directory.")
(append flac fluidsynth libmodplug libvorbis mpg123 opusfile)))
(properties '((upstream-name . "SDL2_mixer")))))
+(define-public sdl2-mixer-x
+ (package
+ (inherit sdl2-mixer)
+ (name "sdl2-mixer-x")
+ (version "2.6.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/WohlSoft/SDL-Mixer-X")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "17l0l89q4az6lmmvpqpymjgs64nc52r140301dcf54vsh76mzd2c"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list #:tests? #f ;no tests
+ #:configure-flags
+ #~(list "-DBUILD_SHARED_LIBS=ON")))
+ (synopsis "This package is a fork of SDL mixer")
+ (description "A fork of SDL mixer with the goal of fixing various issues
+and supporting more audio formats.")))
+
(define-public sdl2-net
(package (inherit sdl-net)
(name "sdl2-net")