[qca] Control plugin dependencies (#30686)

This commit is contained in:
Kai Pastor 2023-04-06 01:58:55 +02:00 committed by GitHub
parent dd28469d7a
commit db2dcf48f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 6 deletions

View File

@ -45,10 +45,9 @@ vcpkg_execute_required_process(
)
message(STATUS "Importing certstore done")
set(PLUGINS gnupg logger softstore wincrypto)
if("botan" IN_LIST FEATURES)
list(APPEND QCA_OPTIONS -DWITH_botan_PLUGIN=yes)
else()
list(APPEND QCA_OPTIONS -DWITH_botan_PLUGIN=no)
list(APPEND PLUGINS botan)
endif()
# Configure and build
@ -56,13 +55,13 @@ vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DUSE_RELATIVE_PATHS=ON
"-DBUILD_PLUGINS=${PLUGINS}"
-DBUILD_TESTS=OFF
-DBUILD_TOOLS=OFF
-DBUILD_WITH_QT6=ON
-DQCA_SUFFIX=OFF
-DQCA_FEATURE_INSTALL_DIR=share/qca/mkspecs/features
-DOSX_FRAMEWORK=OFF
${QCA_OPTIONS}
OPTIONS_DEBUG
-DQCA_PLUGINS_INSTALL_DIR=${QCA_FEATURE_INSTALL_DIR_DEBUG}
OPTIONS_RELEASE

View File

@ -1,6 +1,7 @@
{
"name": "qca",
"version": "2.3.5",
"port-version": 1,
"description": "Qt Cryptographic Architecture (QCA).",
"homepage": "https://userbase.kde.org/QCA",
"dependencies": [
@ -28,7 +29,11 @@
"botan": {
"description": "Build with botan",
"dependencies": [
"botan"
"botan",
{
"name": "pkgconf",
"host": true
}
]
}
}

View File

@ -6362,7 +6362,7 @@
},
"qca": {
"baseline": "2.3.5",
"port-version": 0
"port-version": 1
},
"qcustomplot": {
"baseline": "2.1.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "a5af940aef31f91feea8cb12daddb268a7cf4608",
"version": "2.3.5",
"port-version": 1
},
{
"git-tree": "8d7c38d61627baf7ae04a7f069fad8f506e5f82d",
"version": "2.3.5",