mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
sdl_sound: add optional dependencies
Add the optional dependencies we have in BR (flac/speex/vorbis). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
@@ -15,6 +15,19 @@ ifneq ($(BR2_ENABLE_LOCALE),y)
|
|||||||
SDL_SOUND_DEPENDENCIES += libiconv
|
SDL_SOUND_DEPENDENCIES += libiconv
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# optional dependencies
|
||||||
|
ifeq ($(BR2_PACKAGE_FLAC),y)
|
||||||
|
SDL_SOUND_DEPENDENCIES += flac # is only used if ogg is also enabled
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBVORBIS),y)
|
||||||
|
SDL_SOUND_DEPENDENCIES += libvorbis
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_SPEEX),y)
|
||||||
|
SDL_SOUND_DEPENDENCIES += speex
|
||||||
|
endif
|
||||||
|
|
||||||
SDL_SOUND_CONF_OPT:=--with-sdl-prefix=$(STAGING_DIR)/usr \
|
SDL_SOUND_CONF_OPT:=--with-sdl-prefix=$(STAGING_DIR)/usr \
|
||||||
--with-sdl-exec-prefix=$(STAGING_DIR)/usr \
|
--with-sdl-exec-prefix=$(STAGING_DIR)/usr \
|
||||||
--disable-sdltest \
|
--disable-sdltest \
|
||||||
|
|||||||
Reference in New Issue
Block a user