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 \
18 S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}"
20 do_configure_prepend() {
21 for pro in $(find ${S} -name "*.pro") ; do
22 sed -i 's:$$QT_BUILD_TREE/bin/lrelease:${OE_QMAKE_LRELEASE}:g' $pro
25 sed -i s:SEDME:${S}: ${WORKDIR}/linux.conf
34 do_configure_append() {
35 sed -e '/QMAKE_TARGET /d' -e '/TARGET /d' -i ${S}/translations/Makefile
39 QT_CONFIG_FLAGS += " -no-rpath -qt3support -reduce-relocations -silent ${QT_GLFLAGS}"
43 oe_runmake ${EXTRA_ENV}
47 install -d ${D}${bindir}
48 for i in rcc uic moc ; do
49 install -m 0755 ${S}/bin/$i ${D}${bindir}/
53 LICENSE = "LGPLv2.1 GPLv3"
55 file://hack-out-pg_config.patch;patch=1"