[meta-freescale] [meta-fsl-demos][PATCH v2] qt-in-industrial-embedded-smarthome: correct smarthome binary path
Leonardo Sandoval
leonardo.sandoval at freescale.com
Thu Jan 24 12:10:28 PST 2013
Tested on imx6qsabresd machine. Solves bug:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=3571
[YOCTO #3571]
Signed-off-by: Leonardo Sandoval <leonardo.sandoval at freescale.com>
---
Changes since v1:
- Use the ${datadir} folder instead of the '/usr/share' string.
Suggested by Otavio Salvador [otavio.salvador at gmail.com]
.../qt-in-use/qt-in-industrial-embedded-common.inc | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/recipes-qt/qt-in-use/qt-in-industrial-embedded-common.inc b/recipes-qt/qt-in-use/qt-in-industrial-embedded-common.inc
index 820e899..7e63b84 100644
--- a/recipes-qt/qt-in-use/qt-in-industrial-embedded-common.inc
+++ b/recipes-qt/qt-in-use/qt-in-industrial-embedded-common.inc
@@ -15,6 +15,11 @@ do_configure_prepend() {
find ${S} -type f -exec sed -i 's,/usr/local,/usr,g' '{}' ';'
}
+do_install_append () {
+ # Set the correct smarthome binary path
+ sed -i -e 's:Exec=.*:Exec=${bindir}/smarthome:g' ${D}${datadir}/applications/smarthome.desktop
+}
+
FILES_${PN} += "${datadir}/${DEMO} ${datadir}/icons"
RDEPENDS_${PN} += " \
${QT_BASE_NAME}-qml-plugins \
--
1.7.9.5
More information about the meta-freescale
mailing list