summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/efl/efl-1.11.2.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-libs/efl/efl-1.11.2.ebuild b/dev-libs/efl/efl-1.11.2.ebuild
index c83b6ba..e406c26 100644
--- a/dev-libs/efl/efl-1.11.2.ebuild
+++ b/dev-libs/efl/efl-1.11.2.ebuild
@@ -68,8 +68,7 @@ COMMON_DEP="
)
scim? ( app-i18n/scim )
sdl? (
- >=media-libs/libsdl-1.2.0:0[opengl?]
- gles? ( >=media-libs/libsdl-1.2.0:0[opengl] )
+ >=media-libs/libsdl-2.0.0:0[opengl?,gles?]
)
systemd? ( sys-apps/systemd )
tiff? ( media-libs/tiff:0 )
@@ -128,6 +127,11 @@ src_configure() {
einfo "You enabled both USE=opengl and USE=gles, using opengl"
elif use gles; then
config+=( --with-opengl=es )
+ if use sdl; then
+ config+=( --with-opengl=none )
+ ewarn "You enabled both USE=sdl and USE=gles which isn't currently supported."
+ ewarn "Disabling gl for all backends."
+ fi
else
config+=( --with-opengl=none )
fi