1 DESCRIPTION = "Native version Qt/[X11|Mac|Embedded]"
2 DEPENDS = "zlib-native dbus-native"
4 HOMEPAGE = "http://www.trolltech.com"
7 PROVIDES = "qt4-tools-native"
13 SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-everywhere-opensource-src-${PV}.tar.gz \
14 file://qt-config.patch \
17 S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}"
19 EXTRA_OECONF = "-prefix ${prefix} \
20 -L ${STAGING_LIBDIR_NATIVE} \
21 -I ${STAGING_INCDIR_NATIVE} \
22 -qt-libjpeg -qt-gif -system-zlib \
23 -no-libjpeg -no-libpng -no-libmng -no-libtiff \
29 -embedded -no-freetype -no-glib -no-iconv \
30 -exceptions -xmlpatterns \
33 # yank default -e, otherwise we get the following error:
34 # moc_qbuffer.cpp: No such file or directory
38 (echo o; echo yes) | ./configure ${EXTRA_OECONF} || die "Configuring qt failed. EXTRA_OECONF was ${EXTRA_OECONF}"
55 tools/linguist/lrelease \
56 tools/linguist/lupdate \
61 for i in ${TOBUILD}; do
62 cd ${S}/$i && oe_runmake CC="${CC}" CXX="${CXX}"
66 NATIVE_INSTALL_WORKS = "1"
69 install -d ${D}${bindir}/
70 install -m 0755 bin/qmake ${D}${bindir}/qmake2
71 for i in moc uic uic3 rcc lrelease lupdate qdbuscpp2xml qdbusxml2cpp; do
72 install -m 0755 bin/${i} ${D}${bindir}/${i}4
75 install -d ${D}${datadir}/qt4/
76 cp -PfR mkspecs ${D}${datadir}/qt4/
77 ln -sf linux-g++ ${D}${datadir}/qt4/mkspecs/${BUILD_OS}-oe-g++
78 cp -f ${WORKDIR}/g++.conf ${WORKDIR}/linux.conf ${D}${datadir}/qt4/mkspecs/common/
79 install -m 0644 tools/porting/src/q3porting.xml ${D}${datadir}/qt4/
81 for i in ${TOBUILD}; do
82 cd ${S}/$i && oe_runmake install INSTALL_ROOT=${D}