From af881b8c2edf8896cb563648b2164410b331ccbc Mon Sep 17 00:00:00 2001 From: healther Date: Thu, 7 Jun 2018 17:50:05 +0200 Subject: fix qt@5.8: build on systems without wayland (#8417) * fix qt@5.8: build on systems without wayland Change-Id: I56b83208edd46f50e003d82c071e296e905bfb15 * add links Change-Id: Ia16fc20632690340f33df77fbdcb1a166d49cedc * move 5.8 comparison into 5.7 configure block Change-Id: I7dc606beeb5b5bf4e8263bc50d28de6591633c99 --- var/spack/repos/builtin/packages/qt/package.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/var/spack/repos/builtin/packages/qt/package.py b/var/spack/repos/builtin/packages/qt/package.py index a9ce442966..6bcc16a6bf 100644 --- a/var/spack/repos/builtin/packages/qt/package.py +++ b/var/spack/repos/builtin/packages/qt/package.py @@ -378,6 +378,12 @@ class Qt(Package): '-skip', 'webglplugin', ]) + if self.version > Version('5.8'): + # relies on a system installed wayland, i.e. no spack package yet + # https://wayland.freedesktop.org/ubuntu16.04.html + # https://wiki.qt.io/QtWayland + config_args.extend(['-skip', 'wayland']) + configure('-no-eglfs', '-no-directfb', '-{0}gtk'.format('' if '+gtk' in self.spec else 'no-'), -- cgit v1.2.3-70-g09d2