diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/uicmoc/uicmoc-native_2.3.10.bb | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/uicmoc/uicmoc-native_2.3.10.bb')
-rw-r--r-- | recipes/uicmoc/uicmoc-native_2.3.10.bb | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/recipes/uicmoc/uicmoc-native_2.3.10.bb b/recipes/uicmoc/uicmoc-native_2.3.10.bb new file mode 100644 index 0000000000..1674353145 --- /dev/null +++ b/recipes/uicmoc/uicmoc-native_2.3.10.bb @@ -0,0 +1,50 @@ +DESCRIPTION = "User Interface Generator and Meta Object Compiler (moc) for Qt(E) 2.x" +HOMEPAGE = "http://www.trolltech.com" +SECTION = "devel" +PRIORITY = "optional" +LICENSE = "GPL QPL" +PR = "r4" + +SRC_URI = "ftp://ftp.trolltech.com/pub/qt/source/qt-embedded-${PV}-free.tar.gz \ + file://fix-makefile.patch;patch=1 \ + file://gcc3_4.patch;patch=1 \ + file://gcc4.patch;patch=1 \ + file://gcc4_1.patch;patch=1 \ + file://64bit-cleanup.patch;patch=1 \ + file://kernel-asm-page.patch;patch=1" +S = "${WORKDIR}/qt-${PV}" + +inherit native qmake_base + +export QTDIR = "${S}" +EXTRA_OEMAKE = 'SYSCONF_CXX="${CXX}" SYSCONF_LINK="${CXX}"' +CXXFLAGS += " -DQWS" + +QT_CONFIG_FLAGS = "-depths 8,16 -no-qvfb -no-g++-exceptions -no-jpeg -no-mng \ + -qt-zlib -qt-libpng -no-xft -no-xkb -no-vnc -no-sm \ + -no-opengl -static -qconfig oe" + +do_configure() { + touch src/tools/qconfig-oe.h + echo "#define QT_NO_FREETYPE" >> src/tools/qconfig-oe.h + echo yes | ./configure ${QT_CONFIG_FLAGS} || die "Configuring qt failed" +} + +do_compile() { + oe_runmake symlinks || die "Can't symlink include files" + oe_runmake -C src/moc || die "Building moc failed" + + cp src/moc/moc bin/ + + oe_runmake -C src || die "Building libqt.a failed" + oe_runmake -C tools/designer/util || die "Building libqutil.a failed" + oe_runmake -C tools/designer/uic || die "Building uic failed" + oe_runmake -C tools/qvfb || die "Building qvfb failed" + oe_runmake -C tools/makeqpf || die "Building makeqpf failed" +} + +do_stage() { + install -m 0755 bin/moc ${STAGING_BINDIR} + install -m 0755 bin/uic ${STAGING_BINDIR} + install -m 0755 tools/makeqpf/makeqpf ${STAGING_BINDIR} +} |