diff options
Diffstat (limited to 'meta-moblin/packages/uicmoc/uicmoc4-native.inc')
-rw-r--r-- | meta-moblin/packages/uicmoc/uicmoc4-native.inc | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/meta-moblin/packages/uicmoc/uicmoc4-native.inc b/meta-moblin/packages/uicmoc/uicmoc4-native.inc deleted file mode 100644 index 8c4787866e..0000000000 --- a/meta-moblin/packages/uicmoc/uicmoc4-native.inc +++ /dev/null | |||
@@ -1,62 +0,0 @@ | |||
1 | DESCRIPTION = "User-Interface-, Meta-Object-, and Resource Compiler for Qt/[X11|Mac|Embedded] version 4.x" | ||
2 | DEPENDS = "zlib-native" | ||
3 | SECTION = "libs" | ||
4 | HOMEPAGE = "http://www.trolltech.com" | ||
5 | PRIORITY = "optional" | ||
6 | LICENSE = "GPL" | ||
7 | PR = "r1" | ||
8 | |||
9 | SRC_URI = "ftp://ftp.trolltech.com/qt/source/qtopia-core-opensource-src-${PV}.tar.gz" | ||
10 | S = "${WORKDIR}/qtopia-core-opensource-src-${PV}" | ||
11 | |||
12 | inherit native | ||
13 | |||
14 | EXTRA_OECONF = "-prefix ${STAGING_DIR_NATIVE}/qt4 \ | ||
15 | -qt-libjpeg -qt-gif -system-zlib \ | ||
16 | -no-nis -no-cups -no-exceptions \ | ||
17 | -no-accessibility -no-libjpeg \ | ||
18 | -no-nas-sound -no-sm \ | ||
19 | -no-xshape -no-xinerama \ | ||
20 | -no-xcursor -no-xrandr \ | ||
21 | -no-xrender -no-fontconfig \ | ||
22 | -no-tablet -no-xkb \ | ||
23 | -no-libpng \ | ||
24 | -verbose -release -fast -static \ | ||
25 | -L ${STAGING_LIBDIR_NATIVE} \ | ||
26 | -qt3support " | ||
27 | # yank default -e | ||
28 | EXTRA_OEMAKE = " " | ||
29 | |||
30 | do_configure() { | ||
31 | sed -i 's:^QT += xml qt3support$:QT += xml qt3support network:' "${S}"/src/tools/uic3/uic3.pro | ||
32 | echo yes | ./configure ${EXTRA_OECONF} || die "Configuring qt failed. EXTRA_OECONF was ${EXTRA_OECONF}" | ||
33 | } | ||
34 | |||
35 | TOBUILD = "\ | ||
36 | src/tools/moc \ | ||
37 | src/corelib \ | ||
38 | src/sql \ | ||
39 | src/qt3support \ | ||
40 | src/xml \ | ||
41 | src/tools/uic \ | ||
42 | src/tools/rcc \ | ||
43 | src/network \ | ||
44 | src/gui \ | ||
45 | src/tools/uic3 \ | ||
46 | " | ||
47 | |||
48 | do_compile() { | ||
49 | unset CC CXX CFLAGS LFLAGS CXXFLAGS CPPFLAGS | ||
50 | for i in ${TOBUILD}; do | ||
51 | cd ${S}/$i && oe_runmake CC="${CC}" CXX="${CXX}" | ||
52 | done | ||
53 | } | ||
54 | |||
55 | do_stage() { | ||
56 | install -m 0755 bin/moc ${STAGING_BINDIR}/moc4 | ||
57 | install -m 0755 bin/uic ${STAGING_BINDIR}/uic4 | ||
58 | install -m 0755 bin/uic3 ${STAGING_BINDIR}/uic34 | ||
59 | install -m 0755 bin/rcc ${STAGING_BINDIR}/rcc4 | ||
60 | install -d ${STAGING_DIR_NATIVE}/qt4/ | ||
61 | install -m 0644 tools/porting/src/q3porting.xml ${STAGING_DIR_NATIVE}/qt4/ | ||
62 | } | ||