1 DEFAULT_PREFERENCE = "-1"
3 FILESPATHPKG .= ":qt-${PV}"
5 SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-everywhere-opensource-src-${PV}.tar.gz \
6 file://0001-cross-compile.patch;patch=1 \
7 file://0002-fix-resinit-declaration.patch;patch=1 \
8 file://0004-no-qmake.patch;patch=1 \
9 file://0006-freetype-host-includes.patch;patch=1 \
10 file://0008-qt-lib-infix.patch;patch=1 \
11 file://0009-support-2bpp.patch;patch=1 \
12 file://0010-no-simpledecoration-example.patch;patch=1 \
13 file://fix-config-tests.patch;patch=1 \
14 file://qt-config.patch;patch=1 \
19 S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}"
21 do_configure_prepend() {
22 for pro in $(find ${S} -name "*.pro") ; do
23 sed -i 's:$$QT_BUILD_TREE/bin/lrelease:${OE_QMAKE_LRELEASE}:g' $pro
26 sed -i s:SEDME:${S}: ${WORKDIR}/linux.conf
35 do_configure_append() {
36 sed -e '/QMAKE_TARGET /d' -e '/TARGET /d' -i ${S}/translations/Makefile
40 QT_CONFIG_FLAGS += " -no-rpath -qt3support -reduce-relocations -silent ${QT_GLFLAGS}"
44 oe_runmake ${EXTRA_ENV}
48 install -d ${D}${bindir}
49 for i in rcc uic moc ; do
50 install -m 0755 ${S}/bin/$i ${D}${bindir}/
54 LICENSE = "LGPLv2.1 GPLv3"
56 file://hack-out-pg_config.patch;patch=1"