1 |
commit: d50b874f3b3d2c69e613bda5b7f8bac32c1c759c |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 29 18:35:12 2021 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 29 18:35:12 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d50b874f |
7 |
|
8 |
games-emulation/dosbox-staging: add missing flag for libslirp support |
9 |
|
10 |
This is used in this new version for Ethernet emulation |
11 |
|
12 |
Closes: https://bugs.gentoo.org/830229 |
13 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
14 |
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> |
15 |
|
16 |
games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild | 4 +++- |
17 |
games-emulation/dosbox-staging/metadata.xml | 1 + |
18 |
2 files changed, 4 insertions(+), 1 deletion(-) |
19 |
|
20 |
diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild b/games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild |
21 |
index 652dbe698a9a..35528cd3b10a 100644 |
22 |
--- a/games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild |
23 |
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild |
24 |
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/dosbox-staging/dosbox-staging/archive/v${PV}.tar.gz |
25 |
LICENSE="GPL-2+" |
26 |
SLOT="0" |
27 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
28 |
-IUSE="+alsa debug dynrec +fluidsynth mt-32 network opengl test" |
29 |
+IUSE="+alsa debug dynrec +fluidsynth mt-32 network opengl slirp test" |
30 |
|
31 |
RESTRICT="!test? ( test )" |
32 |
|
33 |
@@ -24,6 +24,7 @@ RDEPEND="alsa? ( media-libs/alsa-lib ) |
34 |
mt-32? ( media-libs/munt-mt32emu ) |
35 |
network? ( media-libs/sdl2-net ) |
36 |
opengl? ( virtual/opengl ) |
37 |
+ slirp? ( net-libs/libslirp ) |
38 |
media-libs/libpng:0= |
39 |
media-libs/libsdl2[joystick,opengl?,video,X] |
40 |
media-libs/opusfile |
41 |
@@ -58,6 +59,7 @@ src_configure() { |
42 |
$(meson_use mt-32 use_mt32emu) |
43 |
$(meson_use network use_sdl2_net) |
44 |
$(meson_use opengl use_opengl) |
45 |
+ $(meson_use slirp use_slirp) |
46 |
$(meson_feature test unit_tests) |
47 |
) |
48 |
meson_src_configure |
49 |
|
50 |
diff --git a/games-emulation/dosbox-staging/metadata.xml b/games-emulation/dosbox-staging/metadata.xml |
51 |
index 639809d4af9f..f4c7e89956af 100644 |
52 |
--- a/games-emulation/dosbox-staging/metadata.xml |
53 |
+++ b/games-emulation/dosbox-staging/metadata.xml |
54 |
@@ -11,6 +11,7 @@ |
55 |
<flag name="mt-32">use <pkg>media-libs/munt-mt32emu</pkg> for MT-32 emulation</flag> |
56 |
<flag name="network">Enable networking features (modem, ipx)</flag> |
57 |
<flag name="opus">Support compressed audio tracks (.opus) used with CDROM images</flag> |
58 |
+ <flag name="slirp">Enable Ethernet emulation using <pkg>net-libs/libslirp</pkg></flag> |
59 |
</use> |
60 |
<upstream> |
61 |
<remote-id type="github">dosbox-staging/dosbox-staging</remote-id> |