зеркало из https://github.com/microsoft/vcpkg.git
[kf5wallet] new port (#19450)
* Add kf5kwallet port * Fixed kf5wallet for windows * [kf5wallet] update to 5.84.0 * [kf5wallet] port CONTROL to JSON * [kf5wallet] use msgmerge provided by gettext port * [kf5wallet] only remove what's required * [kf5wallet] wrap paths in quotes * [kf5wallet] update deprecated functions * [kf5wallet] DISABLE_PARALLEL_CONFIGURE to fix clang-format error * [kf5wallet] update versions * [kf5wallet] remove static /bin folders * [kf5wallet] update versions * [kf5wallet] use semVer * [kf5wallet] update versions * [kf5wallet] add PACKAGE_NAME to vcpkg_cmake_config_fixup * [kf5wallet] update versions Co-authored-by: Kuntal Majumder <hellozee@disroot.org>
This commit is contained in:
Родитель
73a31ace68
Коммит
ae89e7d99f
|
@ -0,0 +1,29 @@
|
||||||
|
vcpkg_from_github(
|
||||||
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
|
REPO KDE/kwallet
|
||||||
|
REF v5.84.0
|
||||||
|
SHA512 5bea4c7f46d127de1bc530e03e1033e9e133197cc36bb6963c9154783ef7bb9920bec62443b5bba9b55d3adcc1f7284ce4376422915d93d6df387587fd7ab8e0
|
||||||
|
HEAD_REF master
|
||||||
|
)
|
||||||
|
|
||||||
|
vcpkg_cmake_configure(
|
||||||
|
SOURCE_PATH "${SOURCE_PATH}"
|
||||||
|
DISABLE_PARALLEL_CONFIGURE
|
||||||
|
OPTIONS
|
||||||
|
-DBUILD_TESTING=OFF
|
||||||
|
-DBUILD_KWALLETD=OFF
|
||||||
|
-DBUILD_KWALLET_QUERY=OFF
|
||||||
|
)
|
||||||
|
|
||||||
|
vcpkg_cmake_install()
|
||||||
|
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5Wallet CONFIG_PATH lib/cmake/KF5Wallet)
|
||||||
|
vcpkg_copy_pdbs()
|
||||||
|
|
||||||
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||||
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||||
|
|
||||||
|
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||||
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
|
|
@ -0,0 +1,31 @@
|
||||||
|
{
|
||||||
|
"name": "kf5wallet",
|
||||||
|
"version-semver": "5.84.0",
|
||||||
|
"description": "Safe desktop-wide storage for passwords",
|
||||||
|
"homepage": "https://api.kde.org/frameworks/kwallet/html/index.html",
|
||||||
|
"dependencies": [
|
||||||
|
"ecm",
|
||||||
|
"gettext",
|
||||||
|
{
|
||||||
|
"name": "gettext",
|
||||||
|
"host": true,
|
||||||
|
"features": [
|
||||||
|
"tools"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"kf5config",
|
||||||
|
"kf5coreaddons",
|
||||||
|
"kf5i18n",
|
||||||
|
"kf5windowsystem",
|
||||||
|
"qt5-base",
|
||||||
|
"qt5-tools",
|
||||||
|
{
|
||||||
|
"name": "vcpkg-cmake",
|
||||||
|
"host": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "vcpkg-cmake-config",
|
||||||
|
"host": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -2956,6 +2956,10 @@
|
||||||
"baseline": "5.84.0",
|
"baseline": "5.84.0",
|
||||||
"port-version": 1
|
"port-version": 1
|
||||||
},
|
},
|
||||||
|
"kf5wallet": {
|
||||||
|
"baseline": "5.84.0",
|
||||||
|
"port-version": 0
|
||||||
|
},
|
||||||
"kf5widgetsaddons": {
|
"kf5widgetsaddons": {
|
||||||
"baseline": "5.84.0",
|
"baseline": "5.84.0",
|
||||||
"port-version": 1
|
"port-version": 1
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "c954ed1f4277c1c7fef03a9736d83d1a2da5ee63",
|
||||||
|
"version-semver": "5.84.0",
|
||||||
|
"port-version": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Загрузка…
Ссылка в новой задаче