summaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt/qt4/qt-4.7.4.inc
diff options
context:
space:
mode:
authorEric Bénard <eric@eukrea.com>2011-09-20 22:07:33 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-04 13:46:26 +0100
commitbcc8425b92dc9adc793473a9733559d377480811 (patch)
treefbf49c0367dec1ba8b697ce9e4dae45d62952e2c /meta/recipes-qt/qt4/qt-4.7.4.inc
parent2d053989a7136282a56814c28b0e7af258469804 (diff)
downloadpoky-bcc8425b92dc9adc793473a9733559d377480811.tar.gz
qt4: Update to latest version 4.7.4
- 4.7.4 was release on the 1st of september, the changelog is available here : http://qt.gitorious.org/+qt-developers/qt/releases/blobs/v4.7.4/dist/changes-4.7.4 and mostly contains bug fix. - this patch include the fix for QTBUG-20925 which was a regression against 4.7.3 : https://bugreports.qt.nokia.com/browse/QTBUG-20925 http://qt.gitorious.org/qt/qt/commit/852abfca6f4c349dce9b895956922f96d82df579 thanks to Paul Eggleton to point us to this bug. (From OE-Core rev: 68189d7c372a861767b5db90376d61e165f9771b) Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt/qt4/qt-4.7.4.inc')
-rw-r--r--meta/recipes-qt/qt4/qt-4.7.4.inc62
1 files changed, 62 insertions, 0 deletions
diff --git a/meta/recipes-qt/qt4/qt-4.7.4.inc b/meta/recipes-qt/qt4/qt-4.7.4.inc
new file mode 100644
index 0000000000..5c06bbe0cb
--- /dev/null
+++ b/meta/recipes-qt/qt4/qt-4.7.4.inc
@@ -0,0 +1,62 @@
1LICENSE = "LGPLv2.1 | GPLv3"
2LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24 \
3 file://LICENSE.GPL3;md5=babc5b6b77441da277f5c06b2e547720 \
4 file://LGPL_EXCEPTION.txt;md5=411080a56ff917a5a1aa08c98acae354"
5
6FILESPATH =. "${FILE_DIRNAME}/qt-${PV}:"
7
8SRC_URI = "http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-${PV}.tar.gz \
9 file://0004-no-qmake.patch \
10 file://hack-out-pg2-4.7.0.patch \
11 file://0006-freetype-host-includes.patch \
12 file://0008-qt-lib-infix.patch \
13 file://0009-support-2bpp.patch \
14 file://0001-Added-Openembedded-crossarch-option.patch \
15 file://blacklist-diginotar-certs.diff \
16 file://g++.conf \
17 file://linux.conf \
18 file://fix-qtbug-20925.patch \
19 "
20
21SRC_URI[md5sum] = "9831cf1dfa8d0689a06c2c54c5c65aaf"
22SRC_URI[sha256sum] = "97195ebce8a46f9929fb971d9ae58326d011c4d54425389e6e936514f540221e"
23
24S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}"
25
26FILES_${QT_BASE_NAME}-tools += "${bindir}/qml"
27
28do_configure_prepend() {
29 for pro in $(find ${S} -name "*.pro") ; do
30 sed -i 's:$$QT_BUILD_TREE/bin/lrelease:${OE_QMAKE_LRELEASE}:g' $pro
31 done
32
33 sed -i s:SEDME:${S}: ${WORKDIR}/linux.conf
34 sed -i \
35 -e /QMAKE_MOC\ /d \
36 -e /QMAKE_UIC\ /d \
37 -e /QMAKE_UIC3\ /d \
38 -e /QMAKE_RCC\ /d \
39 ${S}/configure
40}
41
42do_configure_append() {
43 sed -e '/QMAKE_TARGET /d' -e '/TARGET /d' -i ${S}/translations/Makefile
44}
45
46QT_GLFLAGS ?= ""
47QT_CONFIG_FLAGS += " -xmlpatterns -no-rpath -qt3support -reduce-relocations -silent ${QT_GLFLAGS}"
48
49do_compile() {
50 # Fixup missing wsegl header in some SGX SDKs
51 if ! [ -e ${STAGING_INCDIR}/wsegl.h ] ; then
52 cp src/3rdparty/powervr/wsegl.h src/plugins/gfxdrivers/powervr/QWSWSEGL/
53 fi
54
55 unset CFLAGS CXXFLAGS
56 install -m 0755 ${STAGING_BINDIR_NATIVE}/rcc4 ${S}/bin/rcc
57 install -m 0755 ${STAGING_BINDIR_NATIVE}/moc4 ${S}/bin/moc
58 install -m 0755 ${STAGING_BINDIR_NATIVE}/uic4 ${S}/bin/uic
59 install -m 0755 ${STAGING_BINDIR_NATIVE}/lrelease4 ${S}/bin/lrelease
60
61 oe_runmake ${EXTRA_ENV}
62}