In this case, USE=egl was not enabling additional support but enabled-
instead-of GLX. Rather than complicating things with REQUIRED_USE, build
with EGL unconditionally as the use of GLX in context of Wayland is
questionable.
Gentoo-bug: 627758
Package-Manager: Portage-2.3.8, Repoman-2.3.3
<name>Gentoo Qt Project</name>
</maintainer>
<use>
- <flag name="egl">Use EGL instead of GLX to manage OpenGL contexts</flag>
<flag name="qml">Build QML/QtQuick bindings</flag>
<flag name="wayland-compositor">Build Qt compositor for wayland</flag>
</use>
KEYWORDS="amd64 arm hppa ~ppc ppc64 x86"
fi
-IUSE="egl qml wayland-compositor xcomposite"
+IUSE="qml wayland-compositor xcomposite"
DEPEND="
>=dev-libs/wayland-1.4.0
~dev-qt/qtcore-${PV}
- ~dev-qt/qtgui-${PV}[egl=]
- media-libs/mesa[egl?]
+ ~dev-qt/qtgui-${PV}[egl]
+ media-libs/mesa[egl]
>=x11-libs/libxkbcommon-0.2.0
wayland-compositor? (
qml? ( ~dev-qt/qtdeclarative-${PV} )
KEYWORDS="amd64 arm ~arm64 ~hppa ppc ppc64 x86"
fi
-IUSE="egl xcomposite"
+IUSE="xcomposite"
DEPEND="
>=dev-libs/wayland-1.4.0
~dev-qt/qtcore-${PV}
~dev-qt/qtdeclarative-${PV}
- ~dev-qt/qtgui-${PV}[egl=]
- media-libs/mesa[egl?]
+ ~dev-qt/qtgui-${PV}[egl]
+ media-libs/mesa[egl]
>=x11-libs/libxkbcommon-0.2.0
xcomposite? (
x11-libs/libX11