summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSinan <sbulutw@gmail.com>2019-08-29 10:24:17 -0700
committerAdam J. Stewart <ajstewart426@gmail.com>2019-08-29 12:24:17 -0500
commit55099d89c16e3449cde98f63c3cbf7de9504e505 (patch)
tree3857bbde8ba8bbe55d659c2b6576787db602348d
parentc8b613d261e6ec6619e0c00c1bc5c65379ceebb7 (diff)
downloadspack-55099d89c16e3449cde98f63c3cbf7de9504e505.tar.gz
spack-55099d89c16e3449cde98f63c3cbf7de9504e505.tar.bz2
spack-55099d89c16e3449cde98f63c3cbf7de9504e505.tar.xz
spack-55099d89c16e3449cde98f63c3cbf7de9504e505.zip
Qt@4.8.7: fix build issue due to +phonon variant, disable phonon backend (#12579)
* fix build issue that shows up with +phonon variant, disable phonon backend gstreamer until it is setup * provide in code explanation
-rw-r--r--var/spack/repos/builtin/packages/qt/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/qt/package.py b/var/spack/repos/builtin/packages/qt/package.py
index 20f24e2f2c..20e453a31b 100644
--- a/var/spack/repos/builtin/packages/qt/package.py
+++ b/var/spack/repos/builtin/packages/qt/package.py
@@ -426,6 +426,10 @@ class Qt(Package):
'-arch', str(spec.architecture.target),
])
+ # Disable phonon backend until gstreamer is setup as dependency
+ if '+phonon' in self.spec:
+ config_args.append('-no-phonon-backend')
+
if '~examples' in self.spec:
config_args.extend(['-nomake', 'demos'])