commit:     3a6cf0fad8a57e0ddf138a70d17998722924d511
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 30 12:45:12 2019 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Tue Apr 30 12:46:28 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a6cf0fa

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

Bug: https://bugs.gentoo.org/635502
Thanks-to: Quentin Minster <quentin <AT> minster.io>
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Michael Palimaka <kensington <AT> gentoo.org>

 dev-python/PyQt5/PyQt5-5.12.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/PyQt5/PyQt5-5.12.1.ebuild 
b/dev-python/PyQt5/PyQt5-5.12.1.ebuild
index 37381dcdb82..909fa142cd2 100644
--- a/dev-python/PyQt5/PyQt5-5.12.1.ebuild
+++ b/dev-python/PyQt5/PyQt5-5.12.1.ebuild
@@ -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)

Reply via email to