package/mpg123: add sdl2 support
PATCH 1/1 package/mpg123: add sdl2 support
mpg123 supports (and prefers) SDL2 as well for the sdl backends since 1.26.9 with:
https://github.com/madebr/mpg123/commit/792615f6512a0908081b5a2e98ca61f8677ed452
So support that here as well.
--- package/mpg123/mpg123.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
package/mpg123/mpg123.mk +2 -2
@@ -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)
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 8 lines · Peter Korsgaard
mpg123 supports (and prefers) SDL2 as well for the sdl backends since 1.26.9 with:
https://github.com/madebr/mpg123/commit/792615f6512a0908081b5a2e98ca61f8677ed452
So support that here as well.
Signed-off-by Peter Korsgaard <[email protected]>
Applied, thanks!
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Perale via buildroot
AppliedIn reply of:
Quoted 8 lines
mpg123 supports (and prefers) SDL2 as well for the sdl backends since 1.26.9 with:
https://github.com/madebr/mpg123/commit/792615f6512a0908081b5a2e98ca61f8677ed452
So support that here as well.
Signed-off-by Peter Korsgaard <[email protected]>
Applied to 2025.02.x & 2025.11.x. Thanks
Quoted 28 lines
--- package/mpg123/mpg123.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)package/mpg123/mpg123.mk +2
-2@@ -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)Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot