Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/openal/
Date: Fri, 27 Aug 2021 02:48:32
Message-Id: 1630032496.db46d9942a9171aeaba5ddb6968a7391d763d259.sam@gentoo
1 commit: db46d9942a9171aeaba5ddb6968a7391d763d259
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 27 02:46:11 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 27 02:48:16 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db46d994
7
8 media-libs/openal: fix automagic sndio dependency
9
10 Closes: https://bugs.gentoo.org/809314
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 .../openal/{openal-1.21.1-r1.ebuild => openal-1.21.1-r2.ebuild} | 5 +++--
14 1 file changed, 3 insertions(+), 2 deletions(-)
15
16 diff --git a/media-libs/openal/openal-1.21.1-r1.ebuild b/media-libs/openal/openal-1.21.1-r2.ebuild
17 similarity index 93%
18 rename from media-libs/openal/openal-1.21.1-r1.ebuild
19 rename to media-libs/openal/openal-1.21.1-r2.ebuild
20 index 049eff8c67e..23e407a521c 100644
21 --- a/media-libs/openal/openal-1.21.1-r1.ebuild
22 +++ b/media-libs/openal/openal-1.21.1-r2.ebuild
23 @@ -34,7 +34,7 @@ RDEPEND="
24 dev-qt/qtwidgets:5
25 )
26 sdl? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
27 - sndio? ( media-sound/sndio[${MULTILIB_USEDEP}] )
28 + sndio? ( media-sound/sndio:=[${MULTILIB_USEDEP}] )
29 "
30 DEPEND="${RDEPEND}
31 oss? ( virtual/os-headers )"
32 @@ -54,7 +54,8 @@ src_configure() {
33 -DALSOFT_REQUIRE_PORTAUDIO=$(usex portaudio)
34 -DALSOFT_REQUIRE_PULSEAUDIO=$(usex pulseaudio)
35 -DALSOFT_REQUIRE_SDL2=$(usex sdl)
36 - -DALSOFT_REQUIRE_SNDIO=$(usex sndio)
37 + # See bug #809314 for getting both options for sndio
38 + -DALSOFT_{BACKEND,REQUIRE}_SNDIO=$(usex sndio)
39 -DALSOFT_UTILS=$(multilib_is_native_abi && echo "ON" || echo "OFF")
40 -DALSOFT_NO_CONFIG_UTIL=$(usex qt5 "$(multilib_is_native_abi && echo "OFF" || echo "ON")" ON)
41 -DALSOFT_EXAMPLES=OFF