Warning, /packaging/yocto-meta-kf6/recipes-support/qca.inc is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2019-2020 Volker Krause <vkrause@kde.org>
0002 #
0003 # SPDX-License-Identifier: MIT
0004 
0005 DESCRIPTION = "QCA"
0006 HOMEPAGE = "https://invent.kde.org/libraries/qca/"
0007 LICENSE = "LGPL-2.1-only"
0008 LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
0009 
0010 DEPENDS = " \
0011     botan \
0012     cyrus-sasl \
0013     libgcrypt \
0014     nss \
0015     qtbase \
0016     qt5compat \
0017 "
0018 
0019 SRC_URI = "git://invent.kde.org/libraries/${BPN};nobranch=1;protocol=https"
0020 
0021 inherit kf6-cmake-framework
0022 inherit pkgconfig
0023 
0024 EXTRA_OECMAKE += " \
0025     -DQT_MAJOR_VERSION=6 \
0026     -DBUILD_WITH_QT6=ON \
0027     -DQCA_FEATURE_INSTALL_DIR=${libdir}${QT_DIR_NAME}/mkspecs/features \
0028     -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \
0029 "
0030 
0031 FILES:${PN} += " \
0032     ${libdir}/qca-qt6/crypto/libqca-*.so \
0033 "
0034 
0035 FILES:${PN}-dev += " \
0036     ${libdir}/mkspecs/features/*  \
0037     ${libdir}/cmake/qca-qt6/*.cmake \
0038 "