From: Michael Palimaka Date: Tue, 30 Apr 2019 12:45:12 +0000 (+1000) Subject: dev-python/PyQt5: fix build with USE="gles2" X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=3a6cf0fad8a57e0ddf138a70d17998722924d511;p=gentoo.git dev-python/PyQt5: fix build with USE="gles2" Bug: https://bugs.gentoo.org/635502 Thanks-to: Quentin Minster Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Michael Palimaka --- diff --git a/dev-python/PyQt5/PyQt5-5.12.1.ebuild b/dev-python/PyQt5/PyQt5-5.12.1.ebuild index 37381dcdb825..909fa142cd2c 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)