diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:11 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:57 +0100 |
commit | d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch) | |
tree | f36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta-extras/packages/uicmoc | |
parent | caab7fc509bf27706ff3248689f6afd04225cfda (diff) | |
download | poky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz |
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta-extras/packages/uicmoc')
-rw-r--r-- | meta-extras/packages/uicmoc/uicmoc4-native.inc | 67 | ||||
-rw-r--r-- | meta-extras/packages/uicmoc/uicmoc4-native_4.3.2.bb | 1 |
2 files changed, 68 insertions, 0 deletions
diff --git a/meta-extras/packages/uicmoc/uicmoc4-native.inc b/meta-extras/packages/uicmoc/uicmoc4-native.inc new file mode 100644 index 0000000000..b6933628d9 --- /dev/null +++ b/meta-extras/packages/uicmoc/uicmoc4-native.inc | |||
@@ -0,0 +1,67 @@ | |||
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_install() { | ||
56 | install -d ${D}${bindir}/ | ||
57 | install -m 0755 bin/moc ${D}${bindir}//moc4 | ||
58 | install -m 0755 bin/uic ${D}${bindir}/uic4 | ||
59 | install -m 0755 bin/uic3 ${D}${bindir}/uic34 | ||
60 | install -m 0755 bin/rcc $${D}${bindir}/rcc4 | ||
61 | install -d ${D}/qt4/ | ||
62 | install -m 0644 tools/porting/src/q3porting.xml ${D}/qt4/ | ||
63 | } | ||
64 | |||
65 | sysroot_stage_all_append() { | ||
66 | sysroot_stage_dir ${D}/qt4 ${SYSROOT_DESTDIR}/${STAGING_DIR_TARGET}/qt4 | ||
67 | } | ||
diff --git a/meta-extras/packages/uicmoc/uicmoc4-native_4.3.2.bb b/meta-extras/packages/uicmoc/uicmoc4-native_4.3.2.bb new file mode 100644 index 0000000000..1950f63068 --- /dev/null +++ b/meta-extras/packages/uicmoc/uicmoc4-native_4.3.2.bb | |||
@@ -0,0 +1 @@ | |||
require uicmoc4-native.inc | |||