diff mbox series

[meta-oe] libsdl2-mixer: use vorbisfile for vorbis

Message ID 20250421153004.3136-1-f_l_k@t-online.de
State Under Review
Headers show
Series [meta-oe] libsdl2-mixer: use vorbisfile for vorbis | expand

Commit Message

Markus Volk April 21, 2025, 3:30 p.m. UTC
By default libsdl2-mixer uses stb_vorbis and its implementation
cannot handle ogg/vorbis if the file contains skeleton metadata.
This unfortunately breaks at least dungeon_rush

Use vorbisfile instead to fix the problem

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.8.1.bb | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.8.1.bb b/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.8.1.bb
index 71d3dd7f90..ef205745a0 100644
--- a/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.8.1.bb
+++ b/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.8.1.bb
@@ -20,6 +20,8 @@  do_configure:prepend() {
 	touch ${STAGING_BINDIR}/wvtag
 }
 
+EXTRA_OECMAKE += "-DSDL2MIXER_VORBIS=VORBISFILE -DSDL2MIXER_VORBIS_VORBISFILE=ON"
+
 FILES:${PN} += "${datadir}/licenses"
 
 RDEPENDS:${PN} = "fluidsynth-bin wavpack-bin"