summaryrefslogtreecommitdiff
path: root/packages/uicmoc
diff options
context:
space:
mode:
authorMichael Krelin <hacker@klever.net>2007-07-11 19:40:40 +0000
committerMichael Krelin <hacker@klever.net>2007-07-11 19:40:40 +0000
commitbf04ecd27db85ee9372420f1d84710b16f7cc320 (patch)
tree9d583ee2f10d45a9f4155adfa291779afbecb2a0 /packages/uicmoc
parentd029066192d56afa63449a2fc846a51378052d30 (diff)
classes/qt4x11.bbclass, uicmoc4-native: add qt3support
Diffstat (limited to 'packages/uicmoc')
-rw-r--r--packages/uicmoc/uicmoc4-native_4.3.0.bb25
1 files changed, 18 insertions, 7 deletions
diff --git a/packages/uicmoc/uicmoc4-native_4.3.0.bb b/packages/uicmoc/uicmoc4-native_4.3.0.bb
index 341b092e29..fbfd8125cd 100644
--- a/packages/uicmoc/uicmoc4-native_4.3.0.bb
+++ b/packages/uicmoc/uicmoc4-native_4.3.0.bb
@@ -2,6 +2,7 @@ DESCRIPTION = "User-Interface-, Meta-Object-, and Resource Compiler for Qt/[X11|
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "GPL QPL"
+PR = "r2"
SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-${PV}.tar.gz"
@@ -9,7 +10,8 @@ S = "${WORKDIR}/qt-x11-opensource-src-${PV}"
inherit native
-EXTRA_OECONF = "-qt-libjpeg -qt-gif -system-zlib \
+EXTRA_OECONF = "-prefix ${STAGING_DIR}/${BUILD_SYS}/qt4 \
+ -qt-libjpeg -qt-gif -system-zlib \
-no-nis -no-cups -no-exceptions \
-no-accessibility -no-libjpeg \
-no-nas-sound -no-sm \
@@ -18,7 +20,8 @@ EXTRA_OECONF = "-qt-libjpeg -qt-gif -system-zlib \
-no-xrender -no-fontconfig \
-no-tablet -no-xkb \
-no-libpng \
- -verbose -release -fast -static "
+ -verbose -release -fast -static \
+ -qt3support "
EXTRA_OEMAKE = " "
do_configure() {
@@ -27,15 +30,23 @@ do_configure() {
do_compile() {
unset CC CXX CFLAGS LFLAGS CXXFLAGS CPPFLAGS
- cd ${S}/src/tools/moc && oe_runmake CC="${CC}" CXX="${CXX}"
- cd ${S}/src/corelib && oe_runmake CC="${CC}" CXX="${CXX}"
- cd ${S}/src/xml && oe_runmake CC="${CC}" CXX="${CXX}"
- cd ${S}/src/tools/uic && oe_runmake CC="${CC}" CXX="${CXX}"
- cd ${S}/src/tools/rcc && oe_runmake CC="${CC}" CXX="${CXX}"
+ cd ${S}/src/tools/moc && oe_runmake CC="${CC}" CXX="${CXX}"
+ cd ${S}/src/corelib && oe_runmake CC="${CC}" CXX="${CXX}"
+ cd ${S}/src/sql && oe_runmake CC="${CC}" CXX="${CXX}"
+ cd ${S}/src/qt3support && oe_runmake CC="${CC}" CXX="${CXX}"
+ cd ${S}/src/xml && oe_runmake CC="${CC}" CXX="${CXX}"
+ cd ${S}/src/tools/uic && oe_runmake CC="${CC}" CXX="${CXX}"
+ cd ${S}/src/tools/rcc && oe_runmake CC="${CC}" CXX="${CXX}"
+ cd ${S}/src/network && oe_runmake CC="${CC}" CXX="${CXX}"
+ cd ${S}/src/gui && oe_runmake CC="${CC}" CXX="${CXX}"
+ cd ${S}/src/tools/uic3 && oe_runmake CC="${CC}" CXX="${CXX}"
}
do_stage() {
install -m 0755 bin/moc ${STAGING_BINDIR}/moc4
install -m 0755 bin/uic ${STAGING_BINDIR}/uic4
+ install -m 0755 bin/uic3 ${STAGING_BINDIR}/uic34
install -m 0755 bin/rcc ${STAGING_BINDIR}/rcc4
+ install -d ${STAGING_DIR}/${BUILD_SYS}/qt4/
+ install -m 0644 tools/porting/src/q3porting.xml ${STAGING_DIR}/${BUILD_SYS}/qt4/
}