add a variant to Qt for make dependency on mesa swlwctable

This commit is contained in:
Luigi Calori 2016-02-10 14:58:00 +01:00
parent f729cf621a
commit fe8aca630c

View File

@ -23,6 +23,7 @@ class Qt(Package):
version('3.3.8b', '9f05b4125cfe477cc52c9742c3c09009', version('3.3.8b', '9f05b4125cfe477cc52c9742c3c09009',
url="http://download.qt.io/archive/qt/3/qt-x11-free-3.3.8b.tar.gz") url="http://download.qt.io/archive/qt/3/qt-x11-free-3.3.8b.tar.gz")
variant('mesa', default=False, description='depend on mesa')
# Add patch for compile issues with qt3 found with use in the OpenSpeedShop project # Add patch for compile issues with qt3 found with use in the OpenSpeedShop project
variant('krellpatch', default=False, description="build with openspeedshop based patch.") variant('krellpatch', default=False, description="build with openspeedshop based patch.")
patch('qt3krell.patch', when='@3.3.8b+krellpatch') patch('qt3krell.patch', when='@3.3.8b+krellpatch')
@ -48,7 +49,7 @@ class Qt(Package):
# depends_on("icu4c") # depends_on("icu4c")
# OpenGL hardware acceleration # OpenGL hardware acceleration
depends_on("mesa", when='@4:') depends_on("mesa", when='@4:+mesa')
depends_on("libxcb") depends_on("libxcb")