summaryrefslogtreecommitdiff
path: root/uicmoc/uicmoc-native_2.3.7.oe
diff options
context:
space:
mode:
authorGerald Britton <gbritton@doomcom.org>2004-05-12 03:40:53 +0000
committerGerald Britton <gbritton@doomcom.org>2004-05-12 03:40:53 +0000
commitd939f08ee4c97d90c5df6abb4f1952e60c928d9e (patch)
tree52f4bb0ebce562c8a440885f3a3147ddfa353b86 /uicmoc/uicmoc-native_2.3.7.oe
parent7439e4d76e8e9d1941cdf8f821cbe9622df1976e (diff)
Changes for new qmake.oeclass
- uicmoc-native,uicmoc3-native: use the qmake-base.oeclass to get just vars and use those to generate appropriate qt config for build. - qmake-native: updates for the new qmake.oeclass - misc others: comment noting availability of new oeclass BKrev: 40a19cc5EKcFkTs6PkSDRpLd_cuwwg
Diffstat (limited to 'uicmoc/uicmoc-native_2.3.7.oe')
-rw-r--r--uicmoc/uicmoc-native_2.3.7.oe47
1 files changed, 20 insertions, 27 deletions
diff --git a/uicmoc/uicmoc-native_2.3.7.oe b/uicmoc/uicmoc-native_2.3.7.oe
index d3d61edaad..827d555f33 100644
--- a/uicmoc/uicmoc-native_2.3.7.oe
+++ b/uicmoc/uicmoc-native_2.3.7.oe
@@ -5,44 +5,37 @@ LICENSE = "GPL/QPL"
SRC_URI = "ftp://ftp.trolltech.com/pub/qt/source/qt-embedded-${PV}.tar.gz \
file://${FILESDIR}/fix-makefile.patch;patch=1"
+
S = "${WORKDIR}/qt-${PV}"
-inherit autotools native
+inherit native qmake-base
export QTDIR = "${S}"
-export SYSCONF_CXX = "${CCACHE} g++"
-export SYSCONF_CC = "${CCACHE} gcc"
-export SYSCONF_LINK = "${CCACHE} g++"
-
-ARCH_i686 = "x86"
+CXXFLAGS += " -DQWS"
-EXTRA_OECONF = "-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"
-EXTRA_OEMAKE = "-e"
+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() {
- echo "#define QT_NO_FREETYPE" >>src/tools/qconfig-oe.h
- oenote ./configure ${EXTRA_OECONF}
- echo yes | ./configure ${EXTRA_OECONF} || die "Configuring qt failed"
+ 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() {
- unset CC LD CCLD CXX RANLIB AR STRIP CFLAGS LDFLAGS CXXFLAGS CPPFLAGS
- oe_runmake symlinks || die "Can't symlink include files"
- 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}
-}
+ oe_runmake symlinks || die "Can't symlink include files"
+ oe_runmake -C src/moc || die "Building moc failed"
-do_install() {
+ cp src/moc/moc bin/
- sleep 1
+ 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"
+}
+do_stage() {
+ install -m 0755 bin/moc ${STAGING_BINDIR}
+ install -m 0755 bin/uic ${STAGING_BINDIR}
}