diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2013-05-07 15:10:31 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-05-07 15:37:00 +0200 |
| commit | ed6e2f317fd0839f51d03aee4120b25a1e1d704c (patch) | |
| tree | 44a6b749c5a2ba3587485c6fdc8f7d5a11af92ea /recipes-qt/qt5/qt5.inc | |
| parent | 32165f04d49082773dbf6b78afe5506cba522f76 (diff) | |
| download | meta-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.inc | 47 |
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 | ||
| 3 | inherit qmake5 | 4 | inherit qmake5 |
| 4 | 5 | ||
| @@ -6,56 +7,10 @@ inherit qmake5 | |||
| 6 | ICU = "icu " | 7 | ICU = "icu " |
| 7 | ICU_powerpc = "pango" | 8 | ICU_powerpc = "pango" |
| 8 | 9 | ||
| 9 | DEPENDS += "virtual/libgl freetype jpeg libpng zlib openssl glib-2.0 ${ICU}" | ||
| 10 | |||
| 11 | require qt5_arch.inc | 10 | require qt5_arch.inc |
| 12 | 11 | ||
| 13 | QT_MODULE ?= "${BPN}" | 12 | QT_MODULE ?= "${BPN}" |
| 14 | 13 | ||
| 15 | QT_DISTRO_FLAGS ?= "-no-accessibility -no-sm" | ||
| 16 | QT_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 | ||
| 20 | QT_SQL_DRIVER_FLAGS ?= "-no-sql-ibase -no-sql-mysql -no-sql-psql -no-sql-odbc -plugin-sql-sqlite" | ||
| 21 | QT_GLFLAGS ?= "" | ||
| 22 | QT_XML ?= "-xmlpatterns" | ||
| 23 | QT_WEBKIT ?= "-webkit" | ||
| 24 | QT_PHONON ?= "-phonon" | ||
| 25 | QT_DBUS ?= "-qdbus" | ||
| 26 | QT_MULTIMEDIA ?= "${@base_contains('DISTRO_FEATURES', 'pulseaudio', '-pulseaudio', '-no-pulseaudio', d)}" | ||
| 27 | QT_MODULE_FLAGS ?= "" | ||
| 28 | QT_NAS ?= "-no-nas-sound" | ||
| 29 | QT_NIS ?= "-no-nis" | ||
| 30 | QT_CUPS ?= "-no-cups" | ||
| 31 | QT_STL ?= "-stl" | ||
| 32 | QT_SYSTEM_LIBS ?= "-system-libjpeg -system-libpng -system-zlib" | ||
| 33 | QT_TESTS ?= "-nomake tests" | ||
| 34 | QT_EXAMPLES ?= "-nomake examples" | ||
| 35 | QT_DEMOS ?= "-nomake demos" | ||
| 36 | QT_RELEASE ?= "-release" | ||
| 37 | |||
| 38 | QT_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 | |||
| 59 | SEPB = "${WORKDIR}/build" | 14 | SEPB = "${WORKDIR}/build" |
| 60 | B = "${SEPB}" | 15 | B = "${SEPB}" |
| 61 | 16 | ||
