1 |
commit: 97be1a0e3c8281aff774a128fcd50ea9f8540670 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 5 09:58:26 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 5 09:58:26 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97be1a0e |
7 |
|
8 |
games-engines/scummvm: Added "net" USE flag for optional cloud support |
9 |
|
10 |
Package-Manager: Portage-2.3.78, Repoman-2.3.17 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
games-engines/scummvm/metadata.xml | 1 + |
14 |
games-engines/scummvm/scummvm-2.1.0.ebuild | 5 +++-- |
15 |
2 files changed, 4 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/games-engines/scummvm/metadata.xml b/games-engines/scummvm/metadata.xml |
18 |
index e71c4a5e17b..5ccc7bb685e 100644 |
19 |
--- a/games-engines/scummvm/metadata.xml |
20 |
+++ b/games-engines/scummvm/metadata.xml |
21 |
@@ -8,6 +8,7 @@ |
22 |
<use> |
23 |
<flag name="fluidsynth">compile with support for fluidsynth</flag> |
24 |
<flag name="mpeg2">enable mpeg2 codec for cutscenes</flag> |
25 |
+ <flag name="net">enable cloud support via <pkg>media-libs/sdl2-net</pkg></flag> |
26 |
<flag name="speech">enable text-to-speech support through <pkg>app-accessibility/speech-dispatcher</pkg></flag> |
27 |
<flag name="unsupported">enable unsupported and/or broken game engines (you're on your own)</flag> |
28 |
</use> |
29 |
|
30 |
diff --git a/games-engines/scummvm/scummvm-2.1.0.ebuild b/games-engines/scummvm/scummvm-2.1.0.ebuild |
31 |
index 4df7865efa7..fa2a0700ccc 100644 |
32 |
--- a/games-engines/scummvm/scummvm-2.1.0.ebuild |
33 |
+++ b/games-engines/scummvm/scummvm-2.1.0.ebuild |
34 |
@@ -11,12 +11,11 @@ SRC_URI="https://scummvm.org/frs/scummvm/${PV}/${P}.tar.xz" |
35 |
LICENSE="GPL-2+ LGPL-2.1 BSD GPL-3-with-font-exception" |
36 |
SLOT="0" |
37 |
KEYWORDS="~amd64 ~x86" |
38 |
-IUSE="a52 aac alsa debug flac fluidsynth jpeg lua mpeg2 mp3 opengl png speech theora truetype unsupported vorbis zlib" |
39 |
+IUSE="a52 aac alsa debug flac fluidsynth jpeg lua mpeg2 mp3 net opengl png speech theora truetype unsupported vorbis zlib" |
40 |
RESTRICT="test" # it only looks like there's a test there #77507 |
41 |
|
42 |
RDEPEND=" |
43 |
>=media-libs/libsdl2-2.0.0[sound,joystick,video] |
44 |
- media-libs/sdl2-net |
45 |
a52? ( media-libs/a52dec ) |
46 |
aac? ( media-libs/faad2 ) |
47 |
alsa? ( media-libs/alsa-lib ) |
48 |
@@ -25,6 +24,7 @@ RDEPEND=" |
49 |
jpeg? ( virtual/jpeg:0 ) |
50 |
mp3? ( media-libs/libmad ) |
51 |
mpeg2? ( media-libs/libmpeg2 ) |
52 |
+ net? ( media-libs/sdl2-net ) |
53 |
opengl? ( virtual/opengl ) |
54 |
png? ( media-libs/libpng:0 ) |
55 |
speech? ( app-accessibility/speech-dispatcher ) |
56 |
@@ -84,6 +84,7 @@ src_configure() { |
57 |
$(use_enable lua) |
58 |
$(use_enable mp3 mad) |
59 |
$(use_enable mpeg2) |
60 |
+ $(use_enable net sdlnet) |
61 |
$(use_enable png) |
62 |
$(use_enable speech tts) |
63 |
$(use_enable theora theoradec) |