1 |
commit: 3a6cf0fad8a57e0ddf138a70d17998722924d511 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 30 12:45:12 2019 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 30 12:46:28 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a6cf0fa |
7 |
|
8 |
dev-python/PyQt5: fix build with USE="gles2" |
9 |
|
10 |
Bug: https://bugs.gentoo.org/635502 |
11 |
Thanks-to: Quentin Minster <quentin <AT> minster.io> |
12 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
13 |
Signed-off-by: Michael Palimaka <kensington <AT> gentoo.org> |
14 |
|
15 |
dev-python/PyQt5/PyQt5-5.12.1.ebuild | 1 + |
16 |
1 file changed, 1 insertion(+) |
17 |
|
18 |
diff --git a/dev-python/PyQt5/PyQt5-5.12.1.ebuild b/dev-python/PyQt5/PyQt5-5.12.1.ebuild |
19 |
index 37381dcdb82..909fa142cd2 100644 |
20 |
--- a/dev-python/PyQt5/PyQt5-5.12.1.ebuild |
21 |
+++ b/dev-python/PyQt5/PyQt5-5.12.1.ebuild |
22 |
@@ -128,6 +128,7 @@ src_configure() { |
23 |
$(usex declarative '' --no-qml-plugin) |
24 |
$(pyqt_use_enable designer) |
25 |
$(usex designer '' --no-designer-plugin) |
26 |
+ $(usex gles2 '--disable-feature PyQt_Desktop_OpenGL') |
27 |
$(pyqt_use_enable gui) |
28 |
$(pyqt_use_enable gui $(use gles2 && echo _QOpenGLFunctions_ES2 || echo _QOpenGLFunctions_{2_0,2_1,4_1_Core})) |
29 |
$(pyqt_use_enable help) |