Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
<email>qt@gentoo.org</email>
<name>Gentoo Qt Project</name>
</maintainer>
- <use>
- <flag name="gles2">Use GLES 2.0 or later instead of full OpenGL</flag>
- </use>
<upstream>
<bugs-to>https://bugreports.qt.io/</bugs-to>
<doc>https://doc.qt.io/</doc>
KEYWORDS="arm"
fi
-IUSE="gles2"
+IUSE="gles2-only"
DEPEND="
~dev-qt/qtcore-${PV}
- ~dev-qt/qtgui-${PV}[gles2=]
- ~dev-qt/qtwidgets-${PV}[gles2=]
+ ~dev-qt/qtgui-${PV}[gles2-only=]
+ ~dev-qt/qtwidgets-${PV}[gles2-only=]
virtual/opengl
"
RDEPEND="${DEPEND}"
src_configure() {
local myconf=(
- -opengl $(usex gles2 es2 desktop)
+ -opengl $(usex gles2-only es2 desktop)
)
qt5-build_src_configure
}
KEYWORDS="amd64 ~arm arm64 ~hppa ppc ppc64 ~sparc x86"
fi
-IUSE="gles2"
+IUSE="gles2-only"
DEPEND="
~dev-qt/qtcore-${PV}
- ~dev-qt/qtgui-${PV}[gles2=]
- ~dev-qt/qtwidgets-${PV}[gles2=]
+ ~dev-qt/qtgui-${PV}[gles2-only=]
+ ~dev-qt/qtwidgets-${PV}[gles2-only=]
virtual/opengl
"
RDEPEND="${DEPEND}"
src_configure() {
local myconf=(
- -opengl $(usex gles2 es2 desktop)
+ -opengl $(usex gles2-only es2 desktop)
)
qt5-build_src_configure
}