added qt variants for pyqt to build (#2389)
This commit is contained in:
parent
a6db0bfae2
commit
96bc3ff8f6
2 changed files with 3 additions and 2 deletions
|
@ -39,7 +39,7 @@ class PyPyqt(Package):
|
||||||
|
|
||||||
# TODO: allow qt5 when conditional deps are supported.
|
# TODO: allow qt5 when conditional deps are supported.
|
||||||
# TODO: Fix version matching so that @4 works like @:4
|
# TODO: Fix version matching so that @4 works like @:4
|
||||||
depends_on('qt@:4')
|
depends_on('qt@:4+phonon+dbus')
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
python('configure.py',
|
python('configure.py',
|
||||||
|
|
|
@ -51,6 +51,7 @@ class Qt(Package):
|
||||||
variant('webkit', default=False, description="Build the Webkit extension")
|
variant('webkit', default=False, description="Build the Webkit extension")
|
||||||
variant('examples', default=False, description="Build examples.")
|
variant('examples', default=False, description="Build examples.")
|
||||||
variant('dbus', default=False, description="Build with D-Bus support.")
|
variant('dbus', default=False, description="Build with D-Bus support.")
|
||||||
|
variant('phonon', default=False, description="Build with phonon support.")
|
||||||
|
|
||||||
patch('qt3krell.patch', when='@3.3.8b+krellpatch')
|
patch('qt3krell.patch', when='@3.3.8b+krellpatch')
|
||||||
|
|
||||||
|
@ -179,7 +180,7 @@ def common_config_args(self):
|
||||||
if '~examples' in self.spec:
|
if '~examples' in self.spec:
|
||||||
config_args.extend(['-nomake', 'examples'])
|
config_args.extend(['-nomake', 'examples'])
|
||||||
|
|
||||||
if '@4' in self.spec:
|
if '@4' in self.spec and '~phonon' in self.spec:
|
||||||
config_args.append('-no-phonon')
|
config_args.append('-no-phonon')
|
||||||
|
|
||||||
if '+dbus' in self.spec:
|
if '+dbus' in self.spec:
|
||||||
|
|
Loading…
Reference in a new issue