summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qt5.inc
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2013-05-07 15:10:31 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2013-05-07 15:37:00 +0200
commited6e2f317fd0839f51d03aee4120b25a1e1d704c (patch)
tree44a6b749c5a2ba3587485c6fdc8f7d5a11af92ea /recipes-qt/qt5/qt5.inc
parent32165f04d49082773dbf6b78afe5506cba522f76 (diff)
downloadmeta-qt5-ed6e2f317fd0839f51d03aee4120b25a1e1d704c.tar.gz
qt5: move variables used only in qtbase to qtbase.inc
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qt5.inc')
-rw-r--r--recipes-qt/qt5/qt5.inc47
1 files changed, 1 insertions, 46 deletions
diff --git a/recipes-qt/qt5/qt5.inc b/recipes-qt/qt5/qt5.inc
index ee035dc5..2feeed62 100644
--- a/recipes-qt/qt5/qt5.inc
+++ b/recipes-qt/qt5/qt5.inc
@@ -1,4 +1,5 @@
1# Copyright (C) 2012 O.S. Systems Software LTDA. 1# Copyright (C) 2012 O.S. Systems Software LTDA.
2# Copyright (C) 2013 Martin Jansa <martin.jansa@gmail.com>
2 3
3inherit qmake5 4inherit qmake5
4 5
@@ -6,56 +7,10 @@ inherit qmake5
6ICU = "icu " 7ICU = "icu "
7ICU_powerpc = "pango" 8ICU_powerpc = "pango"
8 9
9DEPENDS += "virtual/libgl freetype jpeg libpng zlib openssl glib-2.0 ${ICU}"
10
11require qt5_arch.inc 10require qt5_arch.inc
12 11
13QT_MODULE ?= "${BPN}" 12QT_MODULE ?= "${BPN}"
14 13
15QT_DISTRO_FLAGS ?= "-no-accessibility -no-sm"
16QT_DISTRO_FLAGS_linuxstdbase = "-sm"
17
18# Some can be used only for certain QT_MODULEs, so define them here,
19# but add them to QT_CONFIG_FLAGS e.g. in qtbase.inc
20QT_SQL_DRIVER_FLAGS ?= "-no-sql-ibase -no-sql-mysql -no-sql-psql -no-sql-odbc -plugin-sql-sqlite"
21QT_GLFLAGS ?= ""
22QT_XML ?= "-xmlpatterns"
23QT_WEBKIT ?= "-webkit"
24QT_PHONON ?= "-phonon"
25QT_DBUS ?= "-qdbus"
26QT_MULTIMEDIA ?= "${@base_contains('DISTRO_FEATURES', 'pulseaudio', '-pulseaudio', '-no-pulseaudio', d)}"
27QT_MODULE_FLAGS ?= ""
28QT_NAS ?= "-no-nas-sound"
29QT_NIS ?= "-no-nis"
30QT_CUPS ?= "-no-cups"
31QT_STL ?= "-stl"
32QT_SYSTEM_LIBS ?= "-system-libjpeg -system-libpng -system-zlib"
33QT_TESTS ?= "-nomake tests"
34QT_EXAMPLES ?= "-nomake examples"
35QT_DEMOS ?= "-nomake demos"
36QT_RELEASE ?= "-release"
37
38QT_CONFIG_FLAGS += " \
39 ${QT_RELEASE} \
40 -reduce-relocations \
41 -shared \
42 -silent \
43 -glib \
44 -no-pch \
45 -no-rpath \
46 -pkg-config \
47 ${QT_SYSTEM_LIBS} \
48 ${QT_NIS} \
49 ${QT_CUPS} \
50 ${QT_SQL_DRIVER_FLAGS} \
51 ${QT_DISTRO_FLAGS} \
52 ${QT_MODULE_FLAGS} \
53 ${QT_GLFLAGS} \
54 ${QT_TESTS} \
55 ${QT_EXAMPLES} \
56 ${QT_DEMOS} \
57"
58
59SEPB = "${WORKDIR}/build" 14SEPB = "${WORKDIR}/build"
60B = "${SEPB}" 15B = "${SEPB}"
61 16