[qtkeychain] Support to build with less dependencies (#21965)

* [qtkeychain] Support to build with less dependencies

* Update version database
This commit is contained in:
Vitaly 2021-12-13 23:22:14 +03:00 committed by GitHub
parent 20baa6a5c2
commit 3989093626
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 3 deletions

View File

@ -8,12 +8,19 @@ vcpkg_from_github(
HEAD_REF master
)
# Opportunity to build without dependency on qt5-tools/qt5-declarative
set(BUILD_TRANSLATIONS OFF)
if("translations" IN_LIST FEATURES)
set(BUILD_TRANSLATIONS ON)
endif()
vcpkg_cmake_configure(
DISABLE_PARALLEL_CONFIGURE
SOURCE_PATH ${SOURCE_PATH}
OPTIONS
-DBUILD_WITH_QT6=OFF
-DBUILD_TEST_APPLICATION=OFF
-DBUILD_TRANSLATIONS=${BUILD_TRANSLATIONS}
)
vcpkg_cmake_install()

View File

@ -1,6 +1,7 @@
{
"name": "qtkeychain",
"version": "0.13.2",
"port-version": 1,
"description": "(Unaffiliated with Qt) Platform-independent Qt5 API for storing passwords securely",
"homepage": "https://github.com/frankosterfeld/qtkeychain",
"license": "BSD-3-Clause",
@ -9,7 +10,6 @@
"name": "libsecret",
"platform": "!(windows | uwp | osx)"
},
"qt5-tools",
{
"name": "vcpkg-cmake",
"host": true
@ -18,5 +18,16 @@
"name": "vcpkg-cmake-config",
"host": true
}
]
],
"default-features": [
"translations"
],
"features": {
"translations": {
"description": "Build qtkeychain translations",
"dependencies": [
"qt5-tools"
]
}
}
}

View File

@ -5738,7 +5738,7 @@
},
"qtkeychain": {
"baseline": "0.13.2",
"port-version": 0
"port-version": 1
},
"qtkeychain-qt6": {
"baseline": "0.13.2",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "ef01f1d6401814e50c0438d3a8a7770568ac93ca",
"version": "0.13.2",
"port-version": 1
},
{
"git-tree": "2dda8930cc8e73b1741effda2750a980c0209e24",
"version": "0.13.2",