mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: sdl2-mixer: Fix configure flags.
Some configure options were renamed between SDL / SDL2 mixer; add new variants to the derived package. * gnu/packages/sdl.scm (sdl2-mixer)[arguments]: Fix flags to disable dynamic library loading. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This commit is contained in:
parent
36f1ba7bfe
commit
64941afcf9
1 changed files with 9 additions and 0 deletions
|
@ -415,6 +415,15 @@ (define-public sdl2-mixer
|
|||
#t))
|
||||
(sha256
|
||||
(base32 "0694vsz5bjkcdgfdra6x9fq8vpzrl8m6q96gh58df7065hw5mkxl"))))
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments sdl-mixer)
|
||||
((#:configure-flags flags)
|
||||
`(cons*
|
||||
;; These options were renamed in SDL2 mixer. Keeping the inherited
|
||||
;; variants produces a harmless warning.
|
||||
"--disable-music-mod-modplug-shared"
|
||||
"--disable-music-midi-fluidsynth-shared"
|
||||
,flags))))
|
||||
(inputs
|
||||
;; The default MOD library changed in SDL2 mixer.
|
||||
`(("libmodplug" ,libmodplug)
|
||||
|
|
Loading…
Reference in a new issue