summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2022-01-07 08:36:16 +0200
committerJoonas Niilola <juippis@gentoo.org>2022-01-07 09:36:57 +0200
commitcd97b7bdf959f23b2985e4e2febb848d4ce7291f (patch)
tree852dc8e2874f6eedb24e4986fc9e3168b7c8cc56 /dev-libs
parentdev-embedded/arduino: version bump (1.8.19) (diff)
downloadgentoo-cd97b7bdf959f23b2985e4e2febb848d4ce7291f.tar.gz
gentoo-cd97b7bdf959f23b2985e4e2febb848d4ce7291f.tar.bz2
gentoo-cd97b7bdf959f23b2985e4e2febb848d4ce7291f.zip
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>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/efl/efl-1.26.1-r1.ebuild (renamed from dev-libs/efl/efl-1.26.1.ebuild)4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-libs/efl/efl-1.26.1.ebuild b/dev-libs/efl/efl-1.26.1-r1.ebuild
index 2ffe8a53d6e6..8528716bda38 100644
--- a/dev-libs/efl/efl-1.26.1.ebuild
+++ b/dev-libs/efl/efl-1.26.1-r1.ebuild
@@ -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