sci-visualization/paraview: add -gles2 USE depend
authorChris White <cwprogram@live.com>
Tue, 6 Dec 2016 08:43:40 +0000 (00:43 -0800)
committerMatthias Maier <tamiko@gentoo.org>
Thu, 26 Jan 2017 19:06:12 +0000 (13:06 -0600)
After some research on a compilation error with the
package maintainer it was determined that the
build errors caused by having qtgui and qtopengl
compiled with gles2 USE enabled were enough to
warrant forcing a negated USE dep on both packages
in the ebuild.

Verified amd64 compilation without gles2 enabled qt
packages
Verified complaints when attempting to emerge the
package with gles2 enabled qt packages

sci-visualization/paraview/paraview-5.1.2-r1.ebuild

index 54d6d17e56a34a3c244f8a8b4e7e76961ecd6952..00a491d5e029c3e4356264f51c1f0c3605b1347e 100644 (file)
@@ -48,7 +48,7 @@ RDEPEND="
        coprocessing? (
                plugins? (
                        dev-python/PyQt5
-                       dev-qt/qtgui:5
+                       dev-qt/qtgui:5[-gles2]
                )
        )
        ffmpeg? ( virtual/ffmpeg )
@@ -66,9 +66,9 @@ RDEPEND="
        )
        qt5? (
                dev-qt/designer:5
-               dev-qt/qtgui:5
+               dev-qt/qtgui:5[-gles2]
                dev-qt/qthelp:5
-               dev-qt/qtopengl:5
+               dev-qt/qtopengl:5[-gles2]
                dev-qt/qtsql:5
                dev-qt/qttest:5
                dev-qt/qtwebkit:5