gnu: sdl-mixer: Enable fluidsynth MIDI backend.

* gnu/packages/sdl.scm (sdl-mixer)[inputs]: Add fluidsynth and alphabetize.
[arguments]: Reformat.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This commit is contained in:
Timotej Lazar 2020-01-05 11:45:50 +01:00 committed by Danny Milosavljevic
parent 64941afcf9
commit 6fbf92ee78
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -262,20 +262,21 @@ WEBP, XCF, XPM, and XV.")
"0alrhqgm40p4c92s26mimg9cm1y7rzr6m0p49687jxd9g6130i0n")))) "0alrhqgm40p4c92s26mimg9cm1y7rzr6m0p49687jxd9g6130i0n"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(outputs '("out" "debug")) (outputs '("out" "debug"))
;; no check target (arguments
;; use libmad instead of smpeg `(#:tests? #f ; No check target.
;; explicitly link against shared libraries instead of dlopening them #:configure-flags
(arguments `(#:tests? #f '("--enable-music-mp3-mad-gpl" ; Use libmad instead of smpeg.
#:configure-flags '("--enable-music-mp3-mad-gpl" ;; Explicitly link against shared libraries instead of dlopening them.
"--disable-music-mod-shared" "--disable-music-flac-shared"
"--disable-music-fluidsynth-shared" "--disable-music-fluidsynth-shared"
"--disable-music-ogg-shared" "--disable-music-mod-shared"
"--disable-music-flac-shared"))) "--disable-music-ogg-shared")))
(inputs `(("libvorbis" ,libvorbis) (inputs
("libflac" ,flac) `(("fluidsynth" ,fluidsynth)
("libmad" ,libmad) ("libflac" ,flac)
("libmikmod" ,libmikmod))) ("libmad" ,libmad)
;; FIXME: Add libfluidsynth ("libmikmod" ,libmikmod)
("libvorbis" ,libvorbis)))
(propagated-inputs `(("sdl" ,sdl))) (propagated-inputs `(("sdl" ,sdl)))
(synopsis "SDL multi-channel audio mixer library") (synopsis "SDL multi-channel audio mixer library")
(description "SDL_mixer is a multi-channel audio mixer library for SDL. (description "SDL_mixer is a multi-channel audio mixer library for SDL.