mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-libs/efl: rework opengl-gles2 logic
- 'opengl' is barely supported by upstream, and es-egl will provide
similar experience. Even if they're compiled in, hwaccel can be
disabled from the settings.
Closes: https://bugs.gentoo.org/757339
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
@@ -33,6 +33,7 @@ REQUIRED_USE="${LUA_REQUIRED_USE}
|
||||
drm? ( wayland )
|
||||
examples? ( eet svg )
|
||||
ibus? ( glib )
|
||||
opengl? ( X )
|
||||
pulseaudio? ( sound )
|
||||
xim? ( X )
|
||||
xpresent? ( X )"
|
||||
@@ -50,6 +51,7 @@ RDEPEND="${LUA_DEPS}
|
||||
sys-libs/zlib
|
||||
virtual/jpeg
|
||||
X? (
|
||||
!opengl? ( media-libs/mesa[egl(+),gles2] )
|
||||
media-libs/freetype
|
||||
x11-libs/libX11
|
||||
x11-libs/libXScrnSaver
|
||||
@@ -221,6 +223,8 @@ src_configure() {
|
||||
emesonargs+=( -D opengl=es-egl )
|
||||
elif ! use wayland && use opengl; then
|
||||
emesonargs+=( -D opengl=full )
|
||||
elif ! use wayland && use X && ! use opengl; then
|
||||
emesonargs+=( -D opengl=es-egl )
|
||||
else
|
||||
emesonargs+=( -D opengl=none )
|
||||
fi
|
||||
Reference in New Issue
Block a user