diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-28 03:01:25 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-28 15:55:09 +0200 |
| commit | e88c6945308a05366228a0946cb086bc6359c5eb (patch) | |
| tree | b7ffe63cb4812098e59c430ac8fe01aaa106f4cf | |
| parent | ca4c4eea5f28c85d1ba490c1f4bfbc605de8b205 (diff) | |
| download | meta-qt5-e88c6945308a05366228a0946cb086bc6359c5eb.tar.gz | |
qtdeclarative: Fix installation and packaging
* now it's also prefixed with sysroot like in qtbase
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
| -rw-r--r-- | recipes-qt/qt5/qtdeclarative.inc | 31 |
1 files changed, 26 insertions, 5 deletions
diff --git a/recipes-qt/qt5/qtdeclarative.inc b/recipes-qt/qt5/qtdeclarative.inc index fc67e3e0..3a277883 100644 --- a/recipes-qt/qt5/qtdeclarative.inc +++ b/recipes-qt/qt5/qtdeclarative.inc | |||
| @@ -19,10 +19,31 @@ do_configure () { | |||
| 19 | 19 | ||
| 20 | do_install() { | 20 | do_install() { |
| 21 | oe_runmake install INSTALL_ROOT=${D} | 21 | oe_runmake install INSTALL_ROOT=${D} |
| 22 | # everything except HostData and HostBinaries is prefixed with sysroot value, | ||
| 23 | # but we cannot remove sysroot override, because that's useful for pkg-config etc | ||
| 24 | cp -ra ${D}${STAGING_DIR_TARGET}/* ${D} | ||
| 25 | rm -rf ${D}${STAGING_DIR_TARGET} | ||
| 26 | # remove empty dirs | ||
| 27 | TMP=`dirname ${D}/${STAGING_DIR_TARGET}` | ||
| 28 | while test ${TMP} != ${D}; do | ||
| 29 | rmdir ${TMP} | ||
| 30 | TMP=`dirname ${TMP}`; | ||
| 31 | done | ||
| 22 | } | 32 | } |
| 23 | 33 | ||
| 24 | FILES_${PN}-qmlplugins = "${libdir}/qt5/qml/*" | 34 | FILES_${PN}-qmlplugins-dbg = " \ |
| 25 | FILES_${PN}-qmltooling = "${libdir}/qt5/plugins/qmltooling/*" | 35 | ${libdir}/${QT_DIR_NAME}/qml/*/.debug \ |
| 26 | FILES_${PN}-qmltooling-dbg = "${libdir}/qt5/plugins/qmltooling/.debug/*" | 36 | ${libdir}/${QT_DIR_NAME}/qml/*/*/.debug \ |
| 27 | 37 | ${libdir}/${QT_DIR_NAME}/qml/*/*/*/.debug \ | |
| 28 | PACKAGES .= "${PN}-qmlplugins ${PN}-qmltooling ${PN}-qmltooling-dbg" | 38 | " |
| 39 | FILES_${PN}-qmltooling-dbg = " \ | ||
| 40 | ${libdir}/${QT_DIR_NAME}/plugins/qmltooling/.debug/* \ | ||
| 41 | " | ||
| 42 | FILES_${PN}-qmlplugins = " \ | ||
| 43 | ${libdir}/${QT_DIR_NAME}/qml/* \ | ||
| 44 | " | ||
| 45 | FILES_${PN}-qmltooling = " \ | ||
| 46 | ${libdir}/${QT_DIR_NAME}/plugins/qmltooling/* \ | ||
| 47 | " | ||
| 48 | |||
| 49 | PACKAGES .= " ${PN}-qmlplugins-dbg ${PN}-qmltooling-dbg ${PN}-qmlplugins ${PN}-qmltooling" | ||
