commit:     b88d0de5681c2987e7f65cc5e5fa16b73187f02a
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 19 11:48:25 2020 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Jul 19 11:49:52 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b88d0de5

games-engines/scummvm: Allow dependency on GLES 1/2 instead of OpenGL

I'm slightly unsure about this but there seems little point in forcing
one API at build time when it can switch at runtime. It's not clear
whether GLES support is needed at build time to be able to use it at
runtime.

Closes: https://bugs.gentoo.org/731776
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-engines/scummvm/scummvm-2.1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-engines/scummvm/scummvm-2.1.2.ebuild 
b/games-engines/scummvm/scummvm-2.1.2.ebuild
index 2eb60298d28..5f7022f1055 100644
--- a/games-engines/scummvm/scummvm-2.1.2.ebuild
+++ b/games-engines/scummvm/scummvm-2.1.2.ebuild
@@ -25,7 +25,7 @@ RDEPEND="
        mp3? ( media-libs/libmad )
        mpeg2? ( media-libs/libmpeg2 )
        net? ( media-libs/sdl2-net )
-       opengl? ( virtual/opengl )
+       opengl? ( || ( virtual/opengl media-libs/mesa[gles2] 
media-libs/mesa[gles1] ) )
        png? ( media-libs/libpng:0 )
        speech? ( app-accessibility/speech-dispatcher )
        truetype? ( media-libs/freetype:2 )

Reply via email to