qca: switch QCA cmake target file handling to cmake_kf5

This commit is contained in:
Andreas Cord-Landwehr
2023-01-12 18:53:22 +01:00
parent 186bfc0b38
commit 5908716a7b

View File

@@ -19,7 +19,7 @@ DEPENDS = " \
SRC_URI = "git://invent.kde.org/libraries/${BPN};nobranch=1;protocol=https" SRC_URI = "git://invent.kde.org/libraries/${BPN};nobranch=1;protocol=https"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
inherit cmake_qt5 inherit cmake_kf5
inherit pkgconfig inherit pkgconfig
EXTRA_OECMAKE += " \ EXTRA_OECMAKE += " \
@@ -27,13 +27,6 @@ EXTRA_OECMAKE += " \
-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \ -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)
sed -i 's/\;\/usr\//\;\$\{OE_QCA_PATH_HOST_ROOT\}\/usr\//g' $(find . -name "*.cmake" | grep _usr)
fi
}
FILES:${PN} += " \ FILES:${PN} += " \
${libdir}/qca-qt5/crypto/libqca-*.so \ ${libdir}/qca-qt5/crypto/libqca-*.so \
" "