mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 07:57:43 +00:00
package/sdl2_mixer: add optional fluidsynth dependency
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
330adae4ac
commit
9dca735e48
@ -12,9 +12,7 @@ SDL2_MIXER_LICENSE_FILES = COPYING.txt
|
|||||||
SDL2_MIXER_INSTALL_STAGING = YES
|
SDL2_MIXER_INSTALL_STAGING = YES
|
||||||
SDL2_MIXER_DEPENDENCIES = sdl2 host-pkgconf
|
SDL2_MIXER_DEPENDENCIES = sdl2 host-pkgconf
|
||||||
|
|
||||||
SDL2_MIXER_CONF_OPTS = \
|
SDL2_MIXER_CONF_OPTS = --disable-music-mp3
|
||||||
--disable-music-midi-fluidsynth \
|
|
||||||
--disable-music-mp3
|
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_FLAC),y)
|
ifeq ($(BR2_PACKAGE_FLAC),y)
|
||||||
SDL2_MIXER_CONF_OPTS += --enable-music-flac
|
SDL2_MIXER_CONF_OPTS += --enable-music-flac
|
||||||
@ -23,6 +21,13 @@ else
|
|||||||
SDL2_MIXER_CONF_OPTS += --disable-music-flac
|
SDL2_MIXER_CONF_OPTS += --disable-music-flac
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_FLUIDSYNTH),y)
|
||||||
|
SDL2_MIXER_CONF_OPTS += --enable-music-midi-fluidsynth
|
||||||
|
SDL2_MIXER_DEPENDENCIES += fluidsynth
|
||||||
|
else
|
||||||
|
SDL2_MIXER_CONF_OPTS += --disable-music-midi-fluidsynth
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBMODPLUG),y)
|
ifeq ($(BR2_PACKAGE_LIBMODPLUG),y)
|
||||||
SDL2_MIXER_CONF_OPTS += --enable-music-mod-modplug
|
SDL2_MIXER_CONF_OPTS += --enable-music-mod-modplug
|
||||||
SDL2_MIXER_DEPENDENCIES += libmodplug
|
SDL2_MIXER_DEPENDENCIES += libmodplug
|
||||||
|
Loading…
x
Reference in New Issue
Block a user