1 DEFAULT_PREFERENCE = "-1"
2 LICENSE = "LGPLv2.1 GPLv3"
4 FILESPATHPKG =. "qt-${PV}:"
7 http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-${PV}.tar.gz \
8 file://0004-no-qmake.patch;patch=1 \
9 file://hack-out-pg2-4.7.0.patch;patch=1 \
10 file://0006-freetype-host-includes.patch;patch=1 \
11 file://0001-Added-Openembedded-crossarch-option.patch;patch=1 \
12 file://0010-phonon-gstreamer-rgb-endianess.patch;patch=1 \
13 file://fix-translations.patch;patch=1 \
14 file://0001-wsegl2-support.patch;patch=1 \
17 file://blacklist-diginotar-certs.diff;patch=1 \
20 S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}"
22 FILES_${QT_BASE_NAME}-tools += "${bindir}/qml"
24 do_configure_prepend() {
25 for pro in $(find ${S} -name "*.pro") ; do
26 sed -i 's:$$LRELEASE:${STAGING_BINDIR_NATIVE}/lrelease4:g' $pro
29 sed -i s:SEDME:${S}: ${WORKDIR}/linux.conf
39 QT_CONFIG_FLAGS += " -script -scripttools -declarative -xmlpatterns -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}/
53 #Append an E to the qtdemo file
54 if [ -n "${QT_LIBINFIX}" ] ; then
55 mv ${D}${bindir}/qtdemo ${D}${bindir}/qtdemo${QT_LIBINFIX}