summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-11-05 10:58:26 +0100
committerLars Wendler <polynomial-c@gentoo.org>2019-11-05 10:58:26 +0100
commit97be1a0e3c8281aff774a128fcd50ea9f8540670 (patch)
tree2f5b8c77eb96efa38da56258ee39d02ab85e8e53 /games-engines/scummvm
parentsci-visualization/gnuplot: amd64 stable wrt bug #699352 (diff)
downloadgentoo-97be1a0e3c8281aff774a128fcd50ea9f8540670.tar.gz
gentoo-97be1a0e3c8281aff774a128fcd50ea9f8540670.tar.bz2
gentoo-97be1a0e3c8281aff774a128fcd50ea9f8540670.zip
games-engines/scummvm: Added "net" USE flag for optional cloud support
Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'games-engines/scummvm')
-rw-r--r--games-engines/scummvm/metadata.xml1
-rw-r--r--games-engines/scummvm/scummvm-2.1.0.ebuild5
2 files changed, 4 insertions, 2 deletions
diff --git a/games-engines/scummvm/metadata.xml b/games-engines/scummvm/metadata.xml
index e71c4a5e17bb..5ccc7bb685e0 100644
--- a/games-engines/scummvm/metadata.xml
+++ b/games-engines/scummvm/metadata.xml
@@ -8,6 +8,7 @@
<use>
<flag name="fluidsynth">compile with support for fluidsynth</flag>
<flag name="mpeg2">enable mpeg2 codec for cutscenes</flag>
+ <flag name="net">enable cloud support via <pkg>media-libs/sdl2-net</pkg></flag>
<flag name="speech">enable text-to-speech support through <pkg>app-accessibility/speech-dispatcher</pkg></flag>
<flag name="unsupported">enable unsupported and/or broken game engines (you're on your own)</flag>
</use>
diff --git a/games-engines/scummvm/scummvm-2.1.0.ebuild b/games-engines/scummvm/scummvm-2.1.0.ebuild
index 4df7865efa74..fa2a0700cccb 100644
--- a/games-engines/scummvm/scummvm-2.1.0.ebuild
+++ b/games-engines/scummvm/scummvm-2.1.0.ebuild
@@ -11,12 +11,11 @@ SRC_URI="https://scummvm.org/frs/scummvm/${PV}/${P}.tar.xz"
LICENSE="GPL-2+ LGPL-2.1 BSD GPL-3-with-font-exception"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="a52 aac alsa debug flac fluidsynth jpeg lua mpeg2 mp3 opengl png speech theora truetype unsupported vorbis zlib"
+IUSE="a52 aac alsa debug flac fluidsynth jpeg lua mpeg2 mp3 net opengl png speech theora truetype unsupported vorbis zlib"
RESTRICT="test" # it only looks like there's a test there #77507
RDEPEND="
>=media-libs/libsdl2-2.0.0[sound,joystick,video]
- media-libs/sdl2-net
a52? ( media-libs/a52dec )
aac? ( media-libs/faad2 )
alsa? ( media-libs/alsa-lib )
@@ -25,6 +24,7 @@ RDEPEND="
jpeg? ( virtual/jpeg:0 )
mp3? ( media-libs/libmad )
mpeg2? ( media-libs/libmpeg2 )
+ net? ( media-libs/sdl2-net )
opengl? ( virtual/opengl )
png? ( media-libs/libpng:0 )
speech? ( app-accessibility/speech-dispatcher )
@@ -84,6 +84,7 @@ src_configure() {
$(use_enable lua)
$(use_enable mp3 mad)
$(use_enable mpeg2)
+ $(use_enable net sdlnet)
$(use_enable png)
$(use_enable speech tts)
$(use_enable theora theoradec)