media-libs/sdl2-mixer: avoid dlopen() usage

Not particularly useful on gentoo, and can cause problems
with some usage wrt bug #950965.

Feel it's not overly worth re-stabilizing over esp. given
previous stable had the same behaviour, so straight-to-stable.
Did try all USE for any glaring issues.

Also do mpg123 -> mpg123-base, this does not need the mpg123
command + output plugins and it actually links with -base now.

Closes: https://bugs.gentoo.org/950965
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2025-03-09 23:26:40 -04:00
parent 7b3425809c
commit a48aaaebaa
@@ -40,7 +40,7 @@ RDEPEND="
modplug? ( media-libs/libmodplug[${MULTILIB_USEDEP}] )
xmp? ( media-libs/libxmp )
)
mp3? ( media-sound/mpg123[${MULTILIB_USEDEP}] )
mp3? ( media-sound/mpg123-base[${MULTILIB_USEDEP}] )
opus? ( media-libs/opusfile )
vorbis? (
stb? ( dev-libs/stb )
@@ -54,6 +54,7 @@ DEPEND="${RDEPEND}"
multilib_src_configure() {
local mycmakeargs=(
-DSDL2MIXER_DEPS_SHARED=no # aka, no dlopen() (bug #950965)
-DSDL2MIXER_CMD=yes
-DSDL2MIXER_WAVE=$(usex wav)
-DSDL2MIXER_MOD=$(usex mod)