anchor.diff:  LICENSE = "LGPLv2.1"
   LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=5c917f6ce94ceb8d8d5e16e2fca5b9ad"
   
  -inherit qmake5
  +inherit qmake5 qmake5_paths
   
   SRC_URI = "git://github.com/maliit/framework.git;branch=master \
       file://0001-Fix-MALIIT_INSTALL_PRF-to-allow-the-build-with-opene.patch \
  
positive.code:     CONFIG+=nodoc \
      CONFIG+=noxcb \
      CONFIG+=enable-dbus-activation \
  "
  
  EXTRA_OEMAKE += "INSTALL_ROOT=${D}"
  
  do_install_append() {
      #Fix absolute paths
      sed -i -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ${D}/${libdir}${QT_DIR_NAME}/mkspecs/features/maliit-framework.prf
      sed -i -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ${D}/${libdir}${QT_DIR_NAME}/mkspecs/features/maliit-plugins.prf
  
      install -d ${D}${datadir}/applications
      install -m 644 ${WORKDIR}/maliit-server.desktop ${D}${datadir}/applications
  
negative.code:     ${bindir} \
      ${datadir}/applications/maliit-server.desktop \
      ${datadir}/dbus-1 \
      ${OE_QMAKE_PATH_PLUGINS}/platforminputcontexts \
  "
  
  FILES_${PN}-dbg += "\
      ${libdir}/maliit-framework-tests \
      ${OE_QMAKE_PATH_PLUGINS}/platforminputcontexts/.debug \
  "
  
  FILES_${PN}-dev += "\
      ${includedir}/maliit \
      ${libdir}/pkgconfig \
      ${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs \
  "
  
  EXTRA_QMAKEVARS_PRE = "\
      PREFIX=${OE_QMAKE_PATH_PREFIX} \
      LIBDIR=${OE_QMAKE_PATH_LIBS} \
      DATADIR=${OE_QMAKE_PATH_DATA} \
      QT_INSTALL_PLUGINS=${OE_QMAKE_PATH_PLUGINS} \
      MALIIT_INSTALL_PRF=${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/features \
      SCHEMADIR=${sysconfdir}/gconf/schemas \
      CONFIG+=disable-gconf \
      CONFIG+=disable-gtk-cache-update \
  