1 DEFAULT_PREFERENCE = "-1"
2 LICENSE = "LGPLv2.1 GPLv3"
4 FILESPATHPKG =. "qt-${PV}:"
7 ftp://ftp.trolltech.com/qt/source/qt-everywhere-opensource-src-${PV}.tar.gz \
8 file://0004-no-qmake.patch \
9 file://hack-out-pg2-4.7.0.patch \
10 file://0006-freetype-host-includes.patch \
11 file://0001-Added-Openembedded-crossarch-option.patch \
12 file://0010-phonon-gstreamer-rgb-endianess.patch \
13 file://fix-translations.patch \
14 file://0001-wsegl2-support.patch \
19 S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}"
21 FILES_${QT_BASE_NAME}-tools += "${bindir}/qml"
23 do_configure_prepend() {
24 for pro in $(find ${S} -name "*.pro") ; do
25 sed -i 's:$$LRELEASE:${STAGING_BINDIR_NATIVE}/lrelease4:g' $pro
28 sed -i s:SEDME:${S}: ${WORKDIR}/linux.conf
38 QT_CONFIG_FLAGS += " -javascript-jit -script -scripttools -declarative -xmlpatterns -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}/
52 #Append an E to the qtdemo file
53 if [ -n "${QT_LIBINFIX}" ] ; then
54 mv ${D}${bindir}/qtdemo ${D}${bindir}/qtdemo${QT_LIBINFIX}
58 SRC_URI[md5sum] = "49b96eefb1224cc529af6fe5608654fe"
59 SRC_URI[sha256sum] = "d02b6fd69d089c01f4a787aa18175d074ccaecf8980a5956e328c2991905937e"