I would like to try out GLES2 on my system with KF 5. Unfortunately the kwin ebuild won't let me. - dev-qt/qtgui-5.3.0::qt has the following constraints: 'egl? ( evdev opengl ) eglfs? ( egl ) gles2? ( opengl ) kms? ( egl gles2 )' So if I want "egl" and "gles2" I need "opengl", too. - kde-base/kwin-9999::kde has the following constraints: 'exactly-one-of ( gles2 opengl )' dev-qt/qtgui:5[gles2=,opengl=] So to enable gles2 in kwin, opengl has to be deactivated, and because kwin wnats qtgui to have the exact settings opengl must be deactivated for qtgui, too, which is impossible, because USE="gles2" needs activated opengl in qtgui. This makes the gles2 USE flag for kwin and qtgui useless.
Thanks for testing, the GLES stuff is especially in need of it. I pushed a change that should address this, please reopen if there are any issues. http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=2dcb5507d39146f50c76aee7d9a2e39f1811985c
I think the same accounts for kde-frameworks/plasma-9999 : In the ebuild: -------- opengl? ( dev-qt/qtgui:5[opengl,-gles2] virtual/opengl ) -------- It should instead have the same dependencies as kwin (as far as i understand it) - Need dev-qt/qtgui:5[opengl,gles2=] and depend on virtual/opengl by default. But I am not completely sure about this. I will first try with USE="-opengl" on plasma-9999
Oh, and if plasma has an egl flag, it should depend on both media-libs/mesa[egl=] and dev-qt/qtgui:5[egl=], shouldn't it?
(In reply to Sven Eden from comment #2) > I think the same accounts for kde-frameworks/plasma-9999 : Plasma framework seems to handle a little differently: if(OPENGL_FOUND AND (${Qt5Gui_OPENGL_IMPLEMENTATION} STREQUAL "GL")) set(HAVE_GLX ${HAVE_X11}) else() set(HAVE_GLX 0) endif() versus kwin: if(OPENGL_FOUND AND (${Qt5Gui_OPENGL_IMPLEMENTATION} STREQUAL "GL")) set(KWIN_BUILD_OPENGL TRUE) message("Building KWin with OpenGL support") endif() if(OPENGLES_FOUND AND (${Qt5Gui_OPENGL_IMPLEMENTATION} STREQUAL "GLESv2")) set(KWIN_BUILD_OPENGLES TRUE) message("Building KWin with OpenGL ES 2 support") endif() t (In reply to Sven Eden from comment #3) > Oh, and if plasma has an egl flag, it should depend on both > media-libs/mesa[egl=] and dev-qt/qtgui:5[egl=], shouldn't it? There's a build option for this one, so it should work. Emphasis on *should*, it's not well tested so I can't vouch for it. :-)