commit: db46d9942a9171aeaba5ddb6968a7391d763d259 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Aug 27 02:46:11 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Aug 27 02:48:16 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db46d994
media-libs/openal: fix automagic sndio dependency Closes: https://bugs.gentoo.org/809314 Signed-off-by: Sam James <sam <AT> gentoo.org> .../openal/{openal-1.21.1-r1.ebuild => openal-1.21.1-r2.ebuild} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/media-libs/openal/openal-1.21.1-r1.ebuild b/media-libs/openal/openal-1.21.1-r2.ebuild similarity index 93% rename from media-libs/openal/openal-1.21.1-r1.ebuild rename to media-libs/openal/openal-1.21.1-r2.ebuild index 049eff8c67e..23e407a521c 100644 --- a/media-libs/openal/openal-1.21.1-r1.ebuild +++ b/media-libs/openal/openal-1.21.1-r2.ebuild @@ -34,7 +34,7 @@ RDEPEND=" dev-qt/qtwidgets:5 ) sdl? ( media-libs/libsdl2[${MULTILIB_USEDEP}] ) - sndio? ( media-sound/sndio[${MULTILIB_USEDEP}] ) + sndio? ( media-sound/sndio:=[${MULTILIB_USEDEP}] ) " DEPEND="${RDEPEND} oss? ( virtual/os-headers )" @@ -54,7 +54,8 @@ src_configure() { -DALSOFT_REQUIRE_PORTAUDIO=$(usex portaudio) -DALSOFT_REQUIRE_PULSEAUDIO=$(usex pulseaudio) -DALSOFT_REQUIRE_SDL2=$(usex sdl) - -DALSOFT_REQUIRE_SNDIO=$(usex sndio) + # See bug #809314 for getting both options for sndio + -DALSOFT_{BACKEND,REQUIRE}_SNDIO=$(usex sndio) -DALSOFT_UTILS=$(multilib_is_native_abi && echo "ON" || echo "OFF") -DALSOFT_NO_CONFIG_UTIL=$(usex qt5 "$(multilib_is_native_abi && echo "OFF" || echo "ON")" ON) -DALSOFT_EXAMPLES=OFF