summaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt/qt4/qt-4.6.3.inc
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:14:24 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:29:45 +0100
commit29d6678fd546377459ef75cf54abeef5b969b5cf (patch)
tree8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-qt/qt4/qt-4.6.3.inc
parentda49de6885ee1bc424e70bc02f21f6ab920efb55 (diff)
downloadpoky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-qt/qt4/qt-4.6.3.inc')
-rw-r--r--meta/recipes-qt/qt4/qt-4.6.3.inc65
1 files changed, 65 insertions, 0 deletions
diff --git a/meta/recipes-qt/qt4/qt-4.6.3.inc b/meta/recipes-qt/qt4/qt-4.6.3.inc
new file mode 100644
index 0000000000..9f4e221bb5
--- /dev/null
+++ b/meta/recipes-qt/qt4/qt-4.6.3.inc
@@ -0,0 +1,65 @@
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
6SRC_URI = "http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-${PV}.tar.gz \
7 file://0001-cross-compile.patch \
8 file://0002-fix-resinit-declaration.patch \
9 file://0004-no-qmake.patch \
10 file://0006-freetype-host-includes.patch \
11 file://0008-qt-lib-infix.patch \
12 file://0009-support-2bpp.patch \
13 file://0010-no-simpledecoration-example.patch \
14 file://fix-config-tests.patch \
15 file://qt-config.patch \
16 file://g++.conf \
17 file://linux.conf \
18 file://hack-out-pg_config.patch \
19 "
20
21S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}"
22
23do_configure_prepend() {
24 for pro in $(find ${S} -name "*.pro") ; do
25 sed -i 's:$$QT_BUILD_TREE/bin/lrelease:${OE_QMAKE_LRELEASE}:g' $pro
26 done
27
28 sed -i s:SEDME:${S}: ${WORKDIR}/linux.conf
29 sed -i \
30 -e /QMAKE_MOC\ /d \
31 -e /QMAKE_UIC\ /d \
32 -e /QMAKE_UIC3\ /d \
33 -e /QMAKE_RCC\ /d \
34 ${S}/configure
35}
36
37do_configure_append() {
38 sed -e '/QMAKE_TARGET /d' -e '/TARGET /d' -i ${S}/translations/Makefile
39}
40
41QT_GLFLAGS ?= ""
42QT_CONFIG_FLAGS += " -no-rpath -qt3support -silent ${QT_GLFLAGS}"
43
44do_compile() {
45 # Fixup missing wsegl header in some SGX SDKs
46 if ! [ -e ${STAGING_INCDIR}/wsegl.h ] ; then
47 cp src/3rdparty/powervr/wsegl.h src/plugins/gfxdrivers/powervr/QWSWSEGL/
48 fi
49
50 unset CFLAGS CXXFLAGS
51 oe_runmake ${EXTRA_ENV}
52}
53
54do_install_append() {
55 install -d ${D}${bindir}
56 for i in rcc uic moc ; do
57 install -m 0755 ${S}/bin/$i ${D}${bindir}/
58 done
59
60 #Append an E to the qtdemo file
61 if [ -n "${QT_LIBINFIX}" ] ; then
62 mv ${D}${bindir}/qtdemo ${D}${bindir}/qtdemo${QT_LIBINFIX}
63 fi
64}
65