From 408dfc8e863c00f950d7b084dc92f3b912e03c03 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Fri, 4 Aug 2017 09:36:02 -0500 Subject: Qt: disable OpenGL support by default (#4962) * Qt: disable OpenGL support by default * Fix qt+opengl build --- var/spack/repos/builtin/packages/qt/package.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/var/spack/repos/builtin/packages/qt/package.py b/var/spack/repos/builtin/packages/qt/package.py index 89e821b68f..e872a53013 100644 --- a/var/spack/repos/builtin/packages/qt/package.py +++ b/var/spack/repos/builtin/packages/qt/package.py @@ -53,8 +53,6 @@ class Qt(Package): # OpenSpeedShop project variant('krellpatch', default=False, description="Build with openspeedshop based patch.") - variant('mesa', default=False, - description="Depend on mesa.") variant('gtk', default=False, description="Build with gtkplus.") variant('webkit', default=False, @@ -65,7 +63,7 @@ class Qt(Package): description="Build with D-Bus support.") variant('phonon', default=False, description="Build with phonon support.") - variant('opengl', default=True, + variant('opengl', default=False, description="Build with OpenGL support.") patch('qt3krell.patch', when='@3.3.8b+krellpatch') @@ -109,7 +107,7 @@ class Qt(Package): depends_on("python", when='@5.7.0:', type='build') # OpenGL hardware acceleration - depends_on("mesa", when='@4:+mesa') + depends_on("mesa", when='@4:+opengl') depends_on("libxcb", when=sys.platform != 'darwin') depends_on("libx11", when=sys.platform != 'darwin') -- cgit v1.2.3-60-g2f50