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