mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
package/mpg123: add sdl2 support
mpg123 supports (and prefers) SDL2 as well for the sdl backends since 1.26.9
with:
792615f651
So support that here as well.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
bc2d04f30d
commit
53c2c0903d
@@ -64,10 +64,10 @@ MPG123_DEPENDENCIES += portaudio
|
||||
MPG123_CONF_ENV += LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs portaudio-2.0`"
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SDL),y)
|
||||
ifneq ($(BR2_PACKAGE_SDL)$(BR2_PACKAGE_SDL2),)
|
||||
MPG123_AUDIO += sdl
|
||||
MPG123_CONF_OPTS += --with-default-audio=sdl
|
||||
MPG123_DEPENDENCIES += sdl
|
||||
MPG123_DEPENDENCIES += $(if $(BR2_PACKAGE_SDL2),sdl2,sdl)
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
|
||||
|
||||
Reference in New Issue
Block a user