Commit b5461f0f authored by Florent Revest's avatar Florent Revest

mlite: don't build tests and use compiled qdbusxml2cpp

parent ab6fa9e0
...@@ -14,6 +14,11 @@ inherit qmake5 ...@@ -14,6 +14,11 @@ inherit qmake5
B = "${WORKDIR}/git" B = "${WORKDIR}/git"
# Out of dir build breaks mlite5.pc installation # Out of dir build breaks mlite5.pc installation
do_configure_prepend() {
sed -i "/tests/d" ${S}/mlite.pro
sed -i "s@system(qdbusxml2cpp@system(${STAGING_BINDIR_NATIVE}/qt5/qdbusxml2cpp@" ${S}/src/src.pro
}
do_install_append() { do_install_append() {
cd src/ cd src/
cp *.h MDConfGroup MNotificationGroup MRemoteAction MExport MDesktopEntry MNotification MGConfItem ${D}/usr/include/mlite5/ cp *.h MDConfGroup MNotificationGroup MRemoteAction MExport MDesktopEntry MNotification MGConfItem ${D}/usr/include/mlite5/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment