mirror of
https://invent.kde.org/packaging/yocto-meta-kf5.git
synced 2026-01-29 21:08:43 +01:00
qca: switch QCA cmake target file handling to cmake_kf5
This commit is contained in:
@@ -19,7 +19,7 @@ DEPENDS = " \
|
||||
SRC_URI = "git://invent.kde.org/libraries/${BPN};nobranch=1;protocol=https"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit cmake_qt5
|
||||
inherit cmake_kf5
|
||||
inherit pkgconfig
|
||||
|
||||
EXTRA_OECMAKE += " \
|
||||
@@ -27,13 +27,6 @@ EXTRA_OECMAKE += " \
|
||||
-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} += " \
|
||||
${libdir}/qca-qt5/crypto/libqca-*.so \
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user