<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>
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 )
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 )
$(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)