diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2011-12-06 12:11:41 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-08 15:24:28 +0000 |
commit | 1e459c83e5092b6e1e7d73dce22b29c9e3138607 (patch) | |
tree | 275f4b90f22172407b7ee0646a285184f5b21540 /meta/recipes-qt/qt4 | |
parent | 2e50e9b8e6b136b8b8030bc1c7780eeae5db8fc2 (diff) | |
download | poky-1e459c83e5092b6e1e7d73dce22b29c9e3138607.tar.gz |
qt4: various tidy-ups
* -reduce-relocations is already specified in qt4.inc, no need to add it
in qt-${PV}.inc
* Add QT_GLFLAGS to QT_CONFIG_FLAGS in qt4.inc rather than spreading it
through other inc files.
* Add "-xmlpatterns -no-rpath -qt3support -silent" to QT_CONFIG_FLAGS in
qt4.inc rather than qt-${PV}.inc; these have been supported since at
least 4.5.2 and therefore shouldn't be version-specific.
* Move "-no-fast -silent -no-rpath" to EXTRA_OECONF in qt4-native.inc
rather than the versioned recipes for the same reason
* Remove redundant setting of LICENSE in qt4-embedded.inc
(From OE-Core rev: c9f714062c1100cedbcb2c16d16656e3f5442133)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt/qt4')
-rw-r--r-- | meta/recipes-qt/qt4/qt-4.7.4.inc | 3 | ||||
-rw-r--r-- | meta/recipes-qt/qt4/qt4-embedded.inc | 3 | ||||
-rw-r--r-- | meta/recipes-qt/qt4/qt4-native.inc | 3 | ||||
-rw-r--r-- | meta/recipes-qt/qt4/qt4-native_4.7.4.bb | 2 | ||||
-rw-r--r-- | meta/recipes-qt/qt4/qt4-x11-free.inc | 4 | ||||
-rw-r--r-- | meta/recipes-qt/qt4/qt4.inc | 6 |
6 files changed, 10 insertions, 11 deletions
diff --git a/meta/recipes-qt/qt4/qt-4.7.4.inc b/meta/recipes-qt/qt4/qt-4.7.4.inc index 7a3ba54cc8..8fda9ce85a 100644 --- a/meta/recipes-qt/qt4/qt-4.7.4.inc +++ b/meta/recipes-qt/qt4/qt-4.7.4.inc | |||
@@ -43,9 +43,6 @@ do_configure_prepend() { | |||
43 | ${S}/configure | 43 | ${S}/configure |
44 | } | 44 | } |
45 | 45 | ||
46 | QT_GLFLAGS ?= "" | ||
47 | QT_CONFIG_FLAGS += " -xmlpatterns -no-rpath -qt3support -reduce-relocations -silent ${QT_GLFLAGS}" | ||
48 | |||
49 | do_compile() { | 46 | do_compile() { |
50 | # Fixup missing wsegl header in some SGX SDKs | 47 | # Fixup missing wsegl header in some SGX SDKs |
51 | if ! [ -e ${STAGING_INCDIR}/wsegl.h ] ; then | 48 | if ! [ -e ${STAGING_INCDIR}/wsegl.h ] ; then |
diff --git a/meta/recipes-qt/qt4/qt4-embedded.inc b/meta/recipes-qt/qt4/qt4-embedded.inc index c4f6e980d1..06b2432585 100644 --- a/meta/recipes-qt/qt4/qt4-embedded.inc +++ b/meta/recipes-qt/qt4/qt4-embedded.inc | |||
@@ -1,9 +1,8 @@ | |||
1 | DESCRIPTION = "Qt is a versatile cross-platform application framework -- this is the embedded version." | 1 | DESCRIPTION = "Qt is a versatile cross-platform application framework -- this is the embedded version." |
2 | SECTION = "libs" | 2 | SECTION = "libs" |
3 | LICENSE = "LGPLv2.1 | GPLv3" | ||
4 | HOMEPAGE = "http://qt.nokia.com" | 3 | HOMEPAGE = "http://qt.nokia.com" |
5 | DEPENDS += "directfb tslib" | 4 | DEPENDS += "directfb tslib" |
6 | INC_PR = "r37" | 5 | INC_PR = "r38" |
7 | 6 | ||
8 | QT_BASE_NAME ?= "qt4-embedded" | 7 | QT_BASE_NAME ?= "qt4-embedded" |
9 | QT_BASE_LIB ?= "libqt-embedded" | 8 | QT_BASE_LIB ?= "libqt-embedded" |
diff --git a/meta/recipes-qt/qt4/qt4-native.inc b/meta/recipes-qt/qt4/qt4-native.inc index ebbee9be25..8a6eb4b69b 100644 --- a/meta/recipes-qt/qt4/qt4-native.inc +++ b/meta/recipes-qt/qt4/qt4-native.inc | |||
@@ -31,7 +31,8 @@ EXTRA_OECONF = "-prefix ${prefix} \ | |||
31 | -verbose -release \ | 31 | -verbose -release \ |
32 | -embedded -no-freetype -no-glib -no-iconv \ | 32 | -embedded -no-freetype -no-glib -no-iconv \ |
33 | -exceptions -xmlpatterns \ | 33 | -exceptions -xmlpatterns \ |
34 | -qt3support" | 34 | -qt3support \ |
35 | -no-fast -silent -no-rpath" | ||
35 | 36 | ||
36 | # yank default -e, otherwise we get the following error: | 37 | # yank default -e, otherwise we get the following error: |
37 | # moc_qbuffer.cpp: No such file or directory | 38 | # moc_qbuffer.cpp: No such file or directory |
diff --git a/meta/recipes-qt/qt4/qt4-native_4.7.4.bb b/meta/recipes-qt/qt4/qt4-native_4.7.4.bb index 3be4d736eb..688fb509fb 100644 --- a/meta/recipes-qt/qt4/qt4-native_4.7.4.bb +++ b/meta/recipes-qt/qt4/qt4-native_4.7.4.bb | |||
@@ -8,8 +8,6 @@ SRC_URI += "file://blacklist-diginotar-certs.diff \ | |||
8 | # Find the g++.conf/linux.conf in the right directory. | 8 | # Find the g++.conf/linux.conf in the right directory. |
9 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/qt-${PV}:" | 9 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/qt-${PV}:" |
10 | 10 | ||
11 | EXTRA_OECONF += " -no-fast -silent -no-rpath" | ||
12 | |||
13 | TOBUILD := "src/tools/bootstrap ${TOBUILD}" | 11 | TOBUILD := "src/tools/bootstrap ${TOBUILD}" |
14 | 12 | ||
15 | SRC_URI[md5sum] = "9831cf1dfa8d0689a06c2c54c5c65aaf" | 13 | SRC_URI[md5sum] = "9831cf1dfa8d0689a06c2c54c5c65aaf" |
diff --git a/meta/recipes-qt/qt4/qt4-x11-free.inc b/meta/recipes-qt/qt4/qt4-x11-free.inc index 029c61e447..53a44ad691 100644 --- a/meta/recipes-qt/qt4/qt4-x11-free.inc +++ b/meta/recipes-qt/qt4/qt4-x11-free.inc | |||
@@ -5,12 +5,12 @@ HOMEPAGE = "http://qt.nokia.com" | |||
5 | SECTION = "x11/libs" | 5 | SECTION = "x11/libs" |
6 | DEPENDS += "virtual/libgl virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor" | 6 | DEPENDS += "virtual/libgl virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor" |
7 | 7 | ||
8 | INC_PR = "r34" | 8 | INC_PR = "r35" |
9 | 9 | ||
10 | QT_GLFLAGS ?= "${@base_contains('DISTRO_FEATURES', 'opengl', '-opengl', '-no-opengl', d)} " | 10 | QT_GLFLAGS ?= "${@base_contains('DISTRO_FEATURES', 'opengl', '-opengl', '-no-opengl', d)} " |
11 | QT_GLFLAGS_qemux86 = "-opengl" | 11 | QT_GLFLAGS_qemux86 = "-opengl" |
12 | QT_GLFLAGS_qemuppc = "-opengl" | 12 | QT_GLFLAGS_qemuppc = "-opengl" |
13 | QT_CONFIG_FLAGS += "-no-xinerama -no-xkb ${QT_GLFLAGS}" | 13 | QT_CONFIG_FLAGS += "-no-xinerama -no-xkb" |
14 | QT_BASE_NAME ?= "qt4" | 14 | QT_BASE_NAME ?= "qt4" |
15 | QT_BASE_LIB ?= "libqt" | 15 | QT_BASE_LIB ?= "libqt" |
16 | 16 | ||
diff --git a/meta/recipes-qt/qt4/qt4.inc b/meta/recipes-qt/qt4/qt4.inc index bec81b4645..3155cbb6df 100644 --- a/meta/recipes-qt/qt4/qt4.inc +++ b/meta/recipes-qt/qt4/qt4.inc | |||
@@ -11,12 +11,16 @@ QT_DISTRO_FLAGS_linuxstdbase = "-sm" | |||
11 | 11 | ||
12 | QT_SQL_DRIVER_FLAGS ?= "-no-sql-ibase -no-sql-mysql -no-sql-psql -no-sql-odbc -plugin-sql-sqlite" | 12 | QT_SQL_DRIVER_FLAGS ?= "-no-sql-ibase -no-sql-mysql -no-sql-psql -no-sql-odbc -plugin-sql-sqlite" |
13 | 13 | ||
14 | QT_GLFLAGS ?= "" | ||
15 | |||
14 | QT_CONFIG_FLAGS += "-release -no-cups -reduce-relocations \ | 16 | QT_CONFIG_FLAGS += "-release -no-cups -reduce-relocations \ |
15 | -shared -no-nas-sound -no-nis \ | 17 | -shared -no-nas-sound -no-nis \ |
16 | -qt-gif -system-libjpeg -system-libpng -system-zlib \ | 18 | -qt-gif -system-libjpeg -system-libpng -system-zlib \ |
17 | -no-pch -qdbus -stl -glib -phonon -webkit \ | 19 | -no-pch -qdbus -stl -glib -phonon -webkit \ |
20 | -xmlpatterns -no-rpath -qt3support -silent \ | ||
18 | ${QT_SQL_DRIVER_FLAGS} \ | 21 | ${QT_SQL_DRIVER_FLAGS} \ |
19 | ${QT_DISTRO_FLAGS} " | 22 | ${QT_DISTRO_FLAGS} \ |
23 | ${QT_GLFLAGS}" | ||
20 | 24 | ||
21 | EXTRA_OEMAKE = "-e" | 25 | EXTRA_OEMAKE = "-e" |
22 | 26 | ||