diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-03-17 21:41:22 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-03-17 21:41:22 +0100 |
commit | c58cc7d3796dcee6e93885c835ed04cb566abeb2 (patch) | |
tree | 3eea4d4ef6a4ef79e0f4e025d7012c1a5cc38835 /recipes-qt/qt4/qt-4.7.1.inc | |
parent | eec6ab97f712e06eb52c9f7c99e19ffab3ce9d74 (diff) | |
download | meta-openembedded-c58cc7d3796dcee6e93885c835ed04cb566abeb2.tar.gz |
move layer into meta-oe in preparation for future splits
As per TSC decision
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'recipes-qt/qt4/qt-4.7.1.inc')
-rw-r--r-- | recipes-qt/qt4/qt-4.7.1.inc | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/recipes-qt/qt4/qt-4.7.1.inc b/recipes-qt/qt4/qt-4.7.1.inc deleted file mode 100644 index 70ee59697..000000000 --- a/recipes-qt/qt4/qt-4.7.1.inc +++ /dev/null | |||
@@ -1,58 +0,0 @@ | |||
1 | LICENSE = "LGPLv2.1 | GPLv3" | ||
2 | LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24 \ | ||
3 | file://LICENSE.GPL3;md5=babc5b6b77441da277f5c06b2e547720 \ | ||
4 | file://LGPL_EXCEPTION.txt;md5=411080a56ff917a5a1aa08c98acae354" | ||
5 | |||
6 | FILESPATH =. "${FILE_DIRNAME}/qt-${PV}:" | ||
7 | |||
8 | SRC_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://0001-Added-Openembedded-crossarch-option.patch \ | ||
13 | file://g++.conf \ | ||
14 | file://linux.conf \ | ||
15 | " | ||
16 | |||
17 | SRC_URI[md5sum] = "6f88d96507c84e9fea5bf3a71ebeb6d7" | ||
18 | SRC_URI[sha256sum] = "8cb5277c41f824cfc6dcee0e95e0bf23a9ad2c8d18d245105137481d092b124a" | ||
19 | |||
20 | S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}" | ||
21 | |||
22 | FILES_${QT_BASE_NAME}-tools += "${bindir}/qml" | ||
23 | |||
24 | do_configure_prepend() { | ||
25 | for pro in $(find ${S} -name "*.pro") ; do | ||
26 | sed -i 's:$$QT_BUILD_TREE/bin/lrelease:${OE_QMAKE_LRELEASE}:g' $pro | ||
27 | done | ||
28 | |||
29 | sed -i s:SEDME:${S}: ${WORKDIR}/linux.conf | ||
30 | sed -i \ | ||
31 | -e /QMAKE_MOC\ /d \ | ||
32 | -e /QMAKE_UIC\ /d \ | ||
33 | -e /QMAKE_UIC3\ /d \ | ||
34 | -e /QMAKE_RCC\ /d \ | ||
35 | ${S}/configure | ||
36 | } | ||
37 | |||
38 | do_configure_append() { | ||
39 | sed -e '/QMAKE_TARGET /d' -e '/TARGET /d' -i ${S}/translations/Makefile | ||
40 | } | ||
41 | |||
42 | QT_GLFLAGS ?= "" | ||
43 | QT_CONFIG_FLAGS += " -xmlpatterns -no-rpath -qt3support -reduce-relocations -silent ${QT_GLFLAGS}" | ||
44 | |||
45 | do_compile() { | ||
46 | # Fixup missing wsegl header in some SGX SDKs | ||
47 | if ! [ -e ${STAGING_INCDIR}/wsegl.h ] ; then | ||
48 | cp src/3rdparty/powervr/wsegl.h src/plugins/gfxdrivers/powervr/QWSWSEGL/ | ||
49 | fi | ||
50 | |||
51 | unset CFLAGS CXXFLAGS | ||
52 | install -m 0755 ${STAGING_BINDIR_NATIVE}/rcc4 ${S}/bin/rcc | ||
53 | install -m 0755 ${STAGING_BINDIR_NATIVE}/moc4 ${S}/bin/moc | ||
54 | install -m 0755 ${STAGING_BINDIR_NATIVE}/uic4 ${S}/bin/uic | ||
55 | install -m 0755 ${STAGING_BINDIR_NATIVE}/lrelease4 ${S}/bin/lrelease | ||
56 | |||
57 | oe_runmake ${EXTRA_ENV} | ||
58 | } | ||