diff --git a/recipes-support/qca.inc b/recipes-support/qca.inc index 4ff96fe..49025a8 100644 --- a/recipes-support/qca.inc +++ b/recipes-support/qca.inc @@ -8,7 +8,13 @@ LICENSE = "LGPL-2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" PR = "r0" -DEPENDS = "qtbase" +DEPENDS = " \ + botan \ + cyrus-sasl \ + libgcrypt \ + nss \ + qtbase \ +" SRC_URI = "git://invent.kde.org/libraries/${BPN};nobranch=1;protocol=https" S = "${WORKDIR}/git" @@ -16,6 +22,11 @@ S = "${WORKDIR}/git" inherit cmake_qt5 inherit pkgconfig +EXTRA_OECMAKE += " \ + -DQCA_FEATURE_INSTALL_DIR=${libdir}${QT_DIR_NAME}/mkspecs/features \ + -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \ +" + do_install:prepend() { if [ "0" -ne $(find . -name \*.cmake | grep _usr | wc -l) ]; then sed -i 's/\"\/usr\//\"\$\{OE_QCA_PATH_HOST_ROOT\}\/usr\//g' $(find . -name "*.cmake" | grep _usr) @@ -28,6 +39,6 @@ FILES:${PN} += " \ " FILES:${PN}-dev += " \ - ${prefix}/mkspecs/features/* \ + ${libdir}/mkspecs/features/* \ ${libdir}/cmake/Qca-qt5/*.cmake \ "