commit:     e55cf39750ddcb46926c182f35710c9556db75a2
Author:     Yuan Liao <liaoyuan <AT> gmail <DOT> com>
AuthorDate: Wed Mar 15 19:03:20 2023 +0000
Commit:     Yuan Liao <liaoyuan <AT> gmail <DOT> com>
CommitDate: Wed Mar 15 20:22:36 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e55cf397

games-emulation/dosbox-x: Always depend on media-libs/libsdl2[alsa]

Closes: https://bugs.gentoo.org/901303
Signed-off-by: Yuan Liao <liaoyuan <AT> gmail.com>

 .../{dosbox-x-2022.12.26.ebuild => dosbox-x-2022.12.26-r1.ebuild}  | 7 ++++++-
 games-emulation/dosbox-x/dosbox-x-9999.ebuild                      | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/games-emulation/dosbox-x/dosbox-x-2022.12.26.ebuild 
b/games-emulation/dosbox-x/dosbox-x-2022.12.26-r1.ebuild
similarity index 94%
rename from games-emulation/dosbox-x/dosbox-x-2022.12.26.ebuild
rename to games-emulation/dosbox-x/dosbox-x-2022.12.26-r1.ebuild
index 065a583ee..688fc4f58 100644
--- a/games-emulation/dosbox-x/dosbox-x-2022.12.26.ebuild
+++ b/games-emulation/dosbox-x/dosbox-x-2022.12.26-r1.ebuild
@@ -42,9 +42,14 @@ BDEPEND="
 # desktop, but (at least on GNOME) the program does not launch in a movable
 # and resizable window; whereas with media-libs/libsdl2[X], it does.  Thus,
 # unconditionally require media-libs/libsdl2[X] for better user experience.
+#
+# DOSBox-X works with multiple audio backends of SDL 2 but requires at least
+# one available backend (https://bugs.gentoo.org/901303).  Unconditionally
+# depending on media-libs/libsdl2[alsa] to satisfy this requirement since
+# this ebuild already unconditionally pulls in media-libs/alsa-lib.
 RDEPEND="
        media-libs/alsa-lib
-       media-libs/libsdl2[X,opengl?,sound,threads,video]
+       media-libs/libsdl2[X,alsa,opengl?,sound,threads,video]
        media-libs/sdl2-net
        net-libs/libpcap
        sys-libs/zlib

diff --git a/games-emulation/dosbox-x/dosbox-x-9999.ebuild 
b/games-emulation/dosbox-x/dosbox-x-9999.ebuild
index 065a583ee..688fc4f58 100644
--- a/games-emulation/dosbox-x/dosbox-x-9999.ebuild
+++ b/games-emulation/dosbox-x/dosbox-x-9999.ebuild
@@ -42,9 +42,14 @@ BDEPEND="
 # desktop, but (at least on GNOME) the program does not launch in a movable
 # and resizable window; whereas with media-libs/libsdl2[X], it does.  Thus,
 # unconditionally require media-libs/libsdl2[X] for better user experience.
+#
+# DOSBox-X works with multiple audio backends of SDL 2 but requires at least
+# one available backend (https://bugs.gentoo.org/901303).  Unconditionally
+# depending on media-libs/libsdl2[alsa] to satisfy this requirement since
+# this ebuild already unconditionally pulls in media-libs/alsa-lib.
 RDEPEND="
        media-libs/alsa-lib
-       media-libs/libsdl2[X,opengl?,sound,threads,video]
+       media-libs/libsdl2[X,alsa,opengl?,sound,threads,video]
        media-libs/sdl2-net
        net-libs/libpcap
        sys-libs/zlib

Reply via email to