From: Michał Górny <mgorny@gentoo.org>
Date: Sun, 15 Sep 2019 09:18:41 +0000 (+0200)
Subject: games-emulation/mupen64plus-core: Depend on sdl2[gles?]
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b3c02bbc8f09abcd959d6c5e51c9936aa3253aa9;p=gentoo.git

games-emulation/mupen64plus-core: Depend on sdl2[gles?]

Closes: https://bugs.gentoo.org/654542
Signed-off-by: Michał Górny <mgorny@gentoo.org>
---

diff --git a/games-emulation/mupen64plus-core/mupen64plus-core-2.5.9.ebuild b/games-emulation/mupen64plus-core/mupen64plus-core-2.5.9.ebuild
index ca45a085896b..a6144ccc365b 100644
--- a/games-emulation/mupen64plus-core/mupen64plus-core-2.5.9.ebuild
+++ b/games-emulation/mupen64plus-core/mupen64plus-core-2.5.9.ebuild
@@ -18,6 +18,7 @@ IUSE="debugger gles2 lirc new-dynarec opencv +osd cpu_flags_x86_sse"
 RDEPEND="media-libs/libpng:0=
 	media-libs/libsdl2:0=[joystick,opengl,video]
 	sys-libs/zlib:0=[minizip]
+	gles2? ( media-libs/libsdl2:0[gles] )
 	lirc? ( app-misc/lirc:0 )
 	opencv? ( media-libs/opencv:= )
 	osd? (