dev-python/PyQt5: fix build with USE="gles2"

Bug: https://bugs.gentoo.org/635502
Thanks-to: Quentin Minster <quentin@minster.io>
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Michael Palimaka <kensington@gentoo.org>
This commit is contained in:
Michael Palimaka
2019-04-30 22:45:12 +10:00
parent 236d29d377
commit 3a6cf0fad8

View File

@@ -128,6 +128,7 @@ src_configure() {
$(usex declarative '' --no-qml-plugin)
$(pyqt_use_enable designer)
$(usex designer '' --no-designer-plugin)
$(usex gles2 '--disable-feature PyQt_Desktop_OpenGL')
$(pyqt_use_enable gui)
$(pyqt_use_enable gui $(use gles2 && echo _QOpenGLFunctions_ES2 || echo _QOpenGLFunctions_{2_0,2_1,4_1_Core}))
$(pyqt_use_enable help)