mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-15 06:08:07 +08:00
[qtkeychain] Support to build with less dependencies (#21965)
* [qtkeychain] Support to build with less dependencies * Update version database
This commit is contained in:
parent
20baa6a5c2
commit
3989093626
@ -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()
|
||||
|
||||
|
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5738,7 +5738,7 @@
|
||||
},
|
||||
"qtkeychain": {
|
||||
"baseline": "0.13.2",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"qtkeychain-qt6": {
|
||||
"baseline": "0.13.2",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "ef01f1d6401814e50c0438d3a8a7770568ac93ca",
|
||||
"version": "0.13.2",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "2dda8930cc8e73b1741effda2750a980c0209e24",
|
||||
"version": "0.13.2",
|
||||
|
Loading…
x
Reference in New Issue
Block a user