andreas pushed a commit to branch games-updates in repository guix. commit 6b45f239da99afc5d69b2da5097539fede794e3d Author: Adam Faiz via Guix-patches via <guix-patc...@gnu.org> AuthorDate: Fri Feb 14 16:23:31 2025 +0800
gnu: Add sdl2-mixer-x. * gnu/packages/sdl.scm (sdl2-mixer-x): New variable. Signed-off-by: Steve George <st...@futurile.net> Change-Id: Ifaf85f98d7beb8861c3b99a012d8b77ab17e2129 --- gnu/packages/sdl.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) 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")