diff options
Diffstat (limited to 'meta-lsb/packages/qt4/qt4-tools-native.inc')
-rw-r--r-- | meta-lsb/packages/qt4/qt4-tools-native.inc | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/meta-lsb/packages/qt4/qt4-tools-native.inc b/meta-lsb/packages/qt4/qt4-tools-native.inc deleted file mode 100644 index 7621d629f1..0000000000 --- a/meta-lsb/packages/qt4/qt4-tools-native.inc +++ /dev/null | |||
@@ -1,74 +0,0 @@ | |||
1 | DESCRIPTION = "Native tools for Qt/[X11|Mac|Embedded] version 4.x" | ||
2 | DEPENDS = "zlib-native dbus-native libsm-native" | ||
3 | SECTION = "libs" | ||
4 | HOMEPAGE = "http://qt.nokia.com" | ||
5 | PRIORITY = "optional" | ||
6 | |||
7 | inherit native | ||
8 | |||
9 | SRC_URI = "http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-${PV}.tar.gz \ | ||
10 | file://qt-config.patch \ | ||
11 | file://g++.conf \ | ||
12 | file://linux.conf" | ||
13 | S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}" | ||
14 | |||
15 | EXTRA_OECONF = "-prefix ${prefix} \ | ||
16 | -L ${STAGING_LIBDIR_NATIVE} \ | ||
17 | -I ${STAGING_INCDIR_NATIVE} \ | ||
18 | -qt-libjpeg -qt-gif -system-zlib \ | ||
19 | -no-libjpeg -no-libpng \ | ||
20 | -no-accessibility \ | ||
21 | -no-cups \ | ||
22 | -no-exceptions \ | ||
23 | -no-nas-sound \ | ||
24 | -no-nis \ | ||
25 | -verbose -release -static \ | ||
26 | -qt3support" | ||
27 | |||
28 | # yank default -e, otherwise we get the following error: | ||
29 | # moc_qbuffer.cpp: No such file or directory | ||
30 | EXTRA_OEMAKE = " " | ||
31 | |||
32 | do_configure() { | ||
33 | (echo o; echo yes) | ./configure ${EXTRA_OECONF} || die "Configuring qt failed. EXTRA_OECONF was ${EXTRA_OECONF}" | ||
34 | } | ||
35 | |||
36 | TOBUILD = "\ | ||
37 | src/tools/moc \ | ||
38 | src/corelib \ | ||
39 | src/sql \ | ||
40 | src/dbus \ | ||
41 | src/qt3support \ | ||
42 | src/xml \ | ||
43 | src/tools/uic \ | ||
44 | src/tools/rcc \ | ||
45 | src/network \ | ||
46 | src/gui \ | ||
47 | src/tools/uic3 \ | ||
48 | tools/linguist/lrelease \ | ||
49 | tools/linguist/lupdate \ | ||
50 | tools/qdbus \ | ||
51 | " | ||
52 | |||
53 | do_compile() { | ||
54 | for i in ${TOBUILD}; do | ||
55 | cd ${S}/$i && oe_runmake CC="${CC}" CXX="${CXX}" | ||
56 | done | ||
57 | } | ||
58 | |||
59 | NATIVE_INSTALL_WORKS = "1" | ||
60 | |||
61 | do_install() { | ||
62 | install -d ${D}${bindir}/ | ||
63 | install -m 0755 bin/qmake ${D}${bindir}/qmake2 | ||
64 | for i in moc uic uic3 rcc lrelease lupdate qdbuscpp2xml qdbusxml2cpp; do | ||
65 | install -m 0755 bin/${i} ${D}${bindir}/${i}4 | ||
66 | done | ||
67 | |||
68 | install -d ${D}${datadir}/qt4/ | ||
69 | cp -PfR mkspecs ${D}${datadir}/qt4/ | ||
70 | ln -sf linux-g++ ${D}${datadir}/qt4/mkspecs/${BUILD_OS}-oe-g++ | ||
71 | cp -f ${WORKDIR}/g++.conf ${WORKDIR}/linux.conf ${D}${datadir}/qt4/mkspecs/common/ | ||
72 | |||
73 | install -m 0644 tools/porting/src/q3porting.xml ${D}${datadir}/qt4/ | ||
74 | } | ||