Update QCA to 2.3.5 and enable Qt6 building

This commit is contained in:
Andreas Cord-Landwehr
2022-11-03 09:45:25 +01:00
parent 65aa60964d
commit 4d19939073
2 changed files with 6 additions and 3 deletions

View File

@@ -14,6 +14,7 @@ DEPENDS = " \
libgcrypt \
nss \
qtbase \
qt5compat \
"
SRC_URI = "git://invent.kde.org/libraries/${BPN};nobranch=1;protocol=https"
@@ -23,6 +24,8 @@ inherit qt6-cmake
inherit pkgconfig
EXTRA_OECMAKE += " \
-DQT_MAJOR_VERSION=6 \
-DBUILD_WITH_QT6=ON \
-DQCA_FEATURE_INSTALL_DIR=${libdir}${QT_DIR_NAME}/mkspecs/features \
-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \
"
@@ -35,10 +38,10 @@ do_install:prepend() {
}
FILES:${PN} += " \
${libdir}/qca-qt5/crypto/libqca-*.so \
${libdir}/qca-qt6/crypto/libqca-*.so \
"
FILES:${PN}-dev += " \
${libdir}/mkspecs/features/* \
${libdir}/cmake/Qca-qt5/*.cmake \
${libdir}/cmake/qca-qt6/*.cmake \
"

View File

@@ -2,4 +2,4 @@
# SPDX-License-Identifier: CC0-1.0
require ${BPN}.inc
SRCREV = "c4c772094d78160464aaefa5208230436c9daa12"
SRCREV = "7162739b07450957fc27fe9859b55e98bbd77f92"