summaryrefslogtreecommitdiff
path: root/uicmoc/uicmoc-native_2.3.7.oe
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-01-28 16:52:47 +0000
committerChris Larson <clarson@kergoth.com>2004-01-28 16:52:47 +0000
commitd95b3f03eab6a418efc521c67bbdadbcb0be5618 (patch)
treed41219b9f63f8cc6d145ffff5b15a0dd9ae28298 /uicmoc/uicmoc-native_2.3.7.oe
parent97ff98e3ea57e4b07b0e4070dc1ab8cb9c1790d5 (diff)
BUGFIX: in uicmoc-native, explicitly specify that SYSCONF_LINK is g++, otherwise we wont get 'new' and 'delete', which uic needs.
BKrev: 4017e8dftw2ccYwverzP9FCRWNpLSw
Diffstat (limited to 'uicmoc/uicmoc-native_2.3.7.oe')
-rw-r--r--uicmoc/uicmoc-native_2.3.7.oe51
1 files changed, 51 insertions, 0 deletions
diff --git a/uicmoc/uicmoc-native_2.3.7.oe b/uicmoc/uicmoc-native_2.3.7.oe
index e69de29bb2..35c6273608 100644
--- a/uicmoc/uicmoc-native_2.3.7.oe
+++ b/uicmoc/uicmoc-native_2.3.7.oe
@@ -0,0 +1,51 @@
+DESCRIPTION=User Interface Generator and Meta Object Compiler (moc) for Qt(E) 2.x
+PRIORITY="optional"
+RDEPENDS=libc6
+DEPENDS=virtual/libc
+LICENSE="GPL/QPL"
+
+SRC_URI="ftp://ftp.trolltech.com/pub/qt/source/qt-embedded-${PV}.tar.gz"
+S="${WORKDIR}/qt-2.3.7"
+
+inherit autotools native
+
+export QTDIR=${S}
+export SYSCONF_CXX = ${CCACHE} g++
+export SYSCONF_CC = ${CCACHE} gcc
+export SYSCONF_LINK = ${CCACHE} g++
+
+ARCH_i686=x86
+
+EXTRA_OECONF=-depths 8,16 -xplatform linux-x86-g++ -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
+EXTRA_OEMAKE=-e
+
+do_configure() {
+ if [ "$BUILD_ARCH" = "i686" ]; then
+ BUILD_ARCH=x86
+ fi
+ echo "#define QT_NO_FREETYPE" >>src/tools/qconfig-oe.h
+ echo yes | ./configure $EXTRA_OECONF || die "Configuring qt failed"
+}
+
+do_compile() {
+ unset CC LD CCLD CXX RANLIB AR STRIP CFLAGS LDFLAGS CXXFLAGS CPPFLAGS
+ cd ${S}/src/moc && oe_runmake || die "Building moc failed"
+ cp ${S}/src/moc/moc ${S}/bin
+ cd ${S}/src && oe_runmake || die "Building libqt.a failed"
+ cd ${S}/tools/designer/util && oe_runmake || die "Building libqutil.a failed"
+ cd ${S}/tools/designer/uic && oe_runmake || die "Building uic failed"
+ cd ${S}/tools/qvfb && oe_runmake || die "Building qvfb failed"
+}
+
+do_stage() {
+ install -m 0755 bin/moc ${STAGING_BINDIR}
+ install -m 0755 bin/uic ${STAGING_BINDIR}
+}
+
+do_install() {
+
+ sleep 1
+
+}
+
+