summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuciana Fujii Pontello <luciana@fujii.eti.br>2013-05-06 09:14:36 (GMT)
committerLuciana Fujii Pontello <luciana@fujii.eti.br>2013-05-08 12:52:32 (GMT)
commit56d17e312d45a3b9f6a691e41417a9f38a72cd5d (patch)
tree3b882021ad30045908a77f582ff3294775a4fed6
parent4e00fc457cbe5355a2cd4a8e88c6bdaaae7c46c2 (diff)
downloadcerbero-56d17e312d45a3b9f6a691e41417a9f38a72cd5d.tar.gz
cerbero-56d17e312d45a3b9f6a691e41417a9f38a72cd5d.tar.xz
qt5: Only build xcb for linux
-rw-r--r--recipes/qt5/qt5.recipe8
1 files changed, 5 insertions, 3 deletions
diff --git a/recipes/qt5/qt5.recipe b/recipes/qt5/qt5.recipe
index 67cefb5..d0e3556 100644
--- a/recipes/qt5/qt5.recipe
+++ b/recipes/qt5/qt5.recipe
@@ -16,7 +16,7 @@ class Recipe(recipe.Recipe):
configure_tpl = "rm -r qtwebkit qtwebkit-examples-and-demos && " \
"./configure -prefix %(prefix)s "\
"%(options)s"
- configure_options = "-confirm-license -qt-xcb -opensource -nomake tests " \
+ configure_options = "-confirm-license -opensource -nomake tests " \
"-optimized-qmake " \
"-docdir '$CERBERO_PREFIX/share/qt5/doc' "\
"-headerdir '$CERBERO_PREFIX/include/qt5' " \
@@ -117,9 +117,11 @@ class Recipe(recipe.Recipe):
def prepare(self):
if self.config.target_platform == Platform.WINDOWS:
- self.configure_options += '-platform win32-g++ -c++11 -opengl desktop '\
+ self.configure_options += '-platform win32-g++ -c++11 -opengl desktop -no-xcb '\
'-xplatform win32-g++ -device-option CROSS_COMPILE=x86_64-w64-mingw32- '
# self.new_env['OSTYPE'] = 'msys'
if self.config.target_platform == Platform.DARWIN:
- self.configure_options += '-platform macx-g++ -no-xcb '
+ self.configure_options += '-platform macx-g++ -no-xcb -no-framework '
+ if self.config.target_platform == Platform.LINUX:
+ self.configure_options += '-qt-xcb '