mirror of
https://invent.kde.org/packaging/yocto-meta-kf5.git
synced 2026-01-29 21:08:43 +01:00
Update qca package for supporting kwallet build
This commit is contained in:
@@ -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 \
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user