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 @@ def configure(self, spec, prefix): '-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'])