Skip to contentSkip to conversation

maliit-frameworks-qt5: provide ${datadir} also by EXTRA_QMAKEVARS_PRE

PATCH New Simon Busch 1 participant 2 messages Oct 19, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 maliit-frameworks-qt5: provide ${datadir} also by EXTRA_QMAKEVARS_PRE

---
 recipes-qt/maliit/maliit-framework-qt5_git.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-qt/maliit/maliit-framework-qt5_git.bb +1 -0
index ccd0c4c..56d1082 100644
@@ -49,6 +49,7 @@ FILES_${PN}-dev += "\
 EXTRA_QMAKEVARS_PRE = "\
     PREFIX=${prefix} \
     LIBDIR=${libdir} \
+    DATADIR=${datadir} \
     QT_IM_PLUGIN_PATH=${libdir}/qt4/plugins/inputmethods \
     MALIIT_INSTALL_PRF=${QMAKE_MKSPEC_PATH}/mkspecs/features \
     SCHEMADIR=${sysconfdir}/gconf/schemas \
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH 2/3 maliit-framework-qt5: don't replace directory names for maliit-defines.prf

The values from maliit-defines.prf are only used at runtime and not at compilation time so we don't have to replace them with the proper staging paths.

---
 recipes-qt/maliit/maliit-framework-qt5_git.bb | 1 -
 1 file changed, 1 deletion(-)
recipes-qt/maliit/maliit-framework-qt5_git.bb +0 -1
index 56d1082..35d21ca 100644
@@ -68,7 +68,6 @@ 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
-    sed -i -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ${D}/${libdir}/${QT_DIR_NAME}/mkspecs/features/maliit-defines.prf
 
     install -d ${D}${datadir}/applications
     install -m 644 ${WORKDIR}/maliit-server.desktop ${D}${datadir}/applications
Signature · 1 line
1.8.1.2