1 DEFAULT_PREFERENCE = "-1"
2 DEFAULT_PREFERENCE_opendreambox = "1"
3 DEFAULT_PREFERENCE_vuplus = "1"
4 LICENSE = "LGPLv2.1 GPLv3"
6 FILESPATHPKG =. "qt-${PV}:"
9 ftp://ftp.trolltech.com/qt/source/qt-everywhere-opensource-src-${PV}.tar.gz \
10 file://blacklist-fraudulent-comodo-certificates-patch.diff;patch=1 \
11 file://0004-no-qmake.patch;patch=1 \
12 file://hack-out-pg2-4.7.0.patch;patch=1 \
13 file://0006-freetype-host-includes.patch;patch=1 \
14 file://0001-Added-Openembedded-crossarch-option.patch;patch=1 \
15 file://0010-phonon-gstreamer-rgb-endianess.patch;patch=1 \
16 file://webkit_r82142.patch;patch=1 \
20 # Set necessary variables in the profile
21 SRC_URI += "file://qte.sh"
23 S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}"
25 FILES_${QT_BASE_NAME}-tools += "${bindir}/qml"
27 do_configure_prepend() {
28 for pro in $(find ${S} -name "*.pro") ; do
29 sed -i 's:$$QT_BUILD_TREE/bin/lrelease:${OE_QMAKE_LRELEASE}:g' $pro
32 sed -i s:SEDME:${S}: ${WORKDIR}/linux.conf
41 do_configure_append() {
42 sed -e '/QMAKE_TARGET /d' -e '/TARGET /d' -i ${S}/translations/Makefile
46 QT_CONFIG_FLAGS += " -xmlpatterns -no-rpath -qt3support -reduce-relocations -silent ${QT_GLFLAGS}"
49 # Fixup missing wsegl header in some SGX SDKs
50 if ! [ -e ${STAGING_INCDIR}/wsegl.h ] ; then
51 cp src/3rdparty/powervr/wsegl.h src/plugins/gfxdrivers/powervr/QWSWSEGL/
55 install -m 0755 ${STAGING_BINDIR_NATIVE}/rcc4 ${S}/bin/rcc
56 install -m 0755 ${STAGING_BINDIR_NATIVE}/moc4 ${S}/bin/moc
57 install -m 0755 ${STAGING_BINDIR_NATIVE}/uic4 ${S}/bin/uic
58 install -m 0755 ${STAGING_BINDIR_NATIVE}/lrelease4 ${S}/bin/lrelease
60 oe_runmake ${EXTRA_ENV}
64 install -d ${D}${bindir}
65 for i in rcc uic moc ; do
66 install -m 0755 ${S}/bin/$i ${D}${bindir}/
69 #Append an E to the qtdemo file
70 if [ -n "${QT_LIBINFIX}" ] ; then
71 mv ${D}${bindir}/qtdemo ${D}${bindir}/qtdemo${QT_LIBINFIX}