commit:     8942e2c9cd190804d907cdeaeed9b3e23fc3c56e
Author:     Ralph Sennhauser <sera <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  8 06:16:24 2014 +0000
Commit:     Ralph Sennhauser <sera <AT> gentoo <DOT> org>
CommitDate: Wed Oct  8 06:16:24 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=dev/sera.git;a=commit;h=8942e2c9

efl-1.11.2: uses sdl2

---
 dev-libs/efl/efl-1.11.2.ebuild | 8 ++++++--
 1 file 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

Reply via email to