Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: games-emulation/dosbox-x/
Date: Thu, 16 Mar 2023 08:42:00
Message-Id: 1678911756.e55cf39750ddcb46926c182f35710c9556db75a2.flow@gentoo
1 commit: e55cf39750ddcb46926c182f35710c9556db75a2
2 Author: Yuan Liao <liaoyuan <AT> gmail <DOT> com>
3 AuthorDate: Wed Mar 15 19:03:20 2023 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 15 20:22:36 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e55cf397
7
8 games-emulation/dosbox-x: Always depend on media-libs/libsdl2[alsa]
9
10 Closes: https://bugs.gentoo.org/901303
11 Signed-off-by: Yuan Liao <liaoyuan <AT> gmail.com>
12
13 .../{dosbox-x-2022.12.26.ebuild => dosbox-x-2022.12.26-r1.ebuild} | 7 ++++++-
14 games-emulation/dosbox-x/dosbox-x-9999.ebuild | 7 ++++++-
15 2 files changed, 12 insertions(+), 2 deletions(-)
16
17 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
18 similarity index 94%
19 rename from games-emulation/dosbox-x/dosbox-x-2022.12.26.ebuild
20 rename to games-emulation/dosbox-x/dosbox-x-2022.12.26-r1.ebuild
21 index 065a583ee..688fc4f58 100644
22 --- a/games-emulation/dosbox-x/dosbox-x-2022.12.26.ebuild
23 +++ b/games-emulation/dosbox-x/dosbox-x-2022.12.26-r1.ebuild
24 @@ -42,9 +42,14 @@ BDEPEND="
25 # desktop, but (at least on GNOME) the program does not launch in a movable
26 # and resizable window; whereas with media-libs/libsdl2[X], it does. Thus,
27 # unconditionally require media-libs/libsdl2[X] for better user experience.
28 +#
29 +# DOSBox-X works with multiple audio backends of SDL 2 but requires at least
30 +# one available backend (https://bugs.gentoo.org/901303). Unconditionally
31 +# depending on media-libs/libsdl2[alsa] to satisfy this requirement since
32 +# this ebuild already unconditionally pulls in media-libs/alsa-lib.
33 RDEPEND="
34 media-libs/alsa-lib
35 - media-libs/libsdl2[X,opengl?,sound,threads,video]
36 + media-libs/libsdl2[X,alsa,opengl?,sound,threads,video]
37 media-libs/sdl2-net
38 net-libs/libpcap
39 sys-libs/zlib
40
41 diff --git a/games-emulation/dosbox-x/dosbox-x-9999.ebuild b/games-emulation/dosbox-x/dosbox-x-9999.ebuild
42 index 065a583ee..688fc4f58 100644
43 --- a/games-emulation/dosbox-x/dosbox-x-9999.ebuild
44 +++ b/games-emulation/dosbox-x/dosbox-x-9999.ebuild
45 @@ -42,9 +42,14 @@ BDEPEND="
46 # desktop, but (at least on GNOME) the program does not launch in a movable
47 # and resizable window; whereas with media-libs/libsdl2[X], it does. Thus,
48 # unconditionally require media-libs/libsdl2[X] for better user experience.
49 +#
50 +# DOSBox-X works with multiple audio backends of SDL 2 but requires at least
51 +# one available backend (https://bugs.gentoo.org/901303). Unconditionally
52 +# depending on media-libs/libsdl2[alsa] to satisfy this requirement since
53 +# this ebuild already unconditionally pulls in media-libs/alsa-lib.
54 RDEPEND="
55 media-libs/alsa-lib
56 - media-libs/libsdl2[X,opengl?,sound,threads,video]
57 + media-libs/libsdl2[X,alsa,opengl?,sound,threads,video]
58 media-libs/sdl2-net
59 net-libs/libpcap
60 sys-libs/zlib