mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
package/mpg123: add sdl2 support
mpg123 supports (and prefers) SDL2 as well for the sdl backends since 1.26.9 with:792615f651So support that here as well. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit53c2c0903d) Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
41fbe94c70
commit
faa3db1e32
@@ -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