dev-qt/qtwayland: Drop USE=egl

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
This commit is contained in:
Andreas Sturmlechner
2017-09-02 23:05:00 +02:00
parent 2e11c75f79
commit eadebaeb8c
3 changed files with 6 additions and 7 deletions

View File

@@ -6,7 +6,6 @@
<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>

View File

@@ -10,13 +10,13 @@ if [[ ${QT5_BUILD_TYPE} == release ]]; then
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} )

View File

@@ -10,14 +10,14 @@ if [[ ${QT5_BUILD_TYPE} == release ]]; then
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