mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 13:59:06 +08:00
[kf5auth] new port (#16559)
* Add kf5auth port * Fixed KF5Auth build for windows * [kf5*] update to 5.75.0 * [kf5auth] convert CONTROL to manifest * [kf5auth] update version * kf5auth: update to 5.81 * kf5auth: add version * [kf5auth] migrate to vcpkg_cmake_configure * [kf5auth] update versions * [kf5auth] disable parallel configure * [kf5auth] update versions Co-authored-by: Kuntal Majumder <hellozee@disroot.org>
This commit is contained in:
parent
b7147872b2
commit
1d9aa0168a
36
ports/kf5auth/portfile.cmake
Normal file
36
ports/kf5auth/portfile.cmake
Normal file
@ -0,0 +1,36 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO KDE/kauth
|
||||
REF v5.81.0
|
||||
SHA512 bad803867dadc9ff89531e80793bbe6018afb83309f91890f38b40908cea3c886f33f67ddf64e6f42c34df952ab33369d968eda774cece66012a9d66b3fd88a8
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
DISABLE_PARALLEL_CONFIGURE
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
OPTIONS
|
||||
-DBUILD_HTML_DOCS=OFF
|
||||
-DBUILD_MAN_DOCS=OFF
|
||||
-DBUILD_QTHELP_DOCS=OFF
|
||||
-DBUILD_TESTING=OFF
|
||||
-DKDE_INSTALL_PLUGINDIR=plugins
|
||||
-DKDE_INSTALL_DATAROOTDIR=data
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5Auth CONFIG_PATH lib/cmake/KF5Auth)
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||
endif()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin/data)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/bin/data)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/etc)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/etc)
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSES/ DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
|
20
ports/kf5auth/vcpkg.json
Normal file
20
ports/kf5auth/vcpkg.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"name": "kf5auth",
|
||||
"version": "5.81.0",
|
||||
"description": "Execute actions as privileged user",
|
||||
"homepage": "https://api.kde.org/frameworks/kauth/html/index.html",
|
||||
"dependencies": [
|
||||
"ecm",
|
||||
"kf5coreaddons",
|
||||
"qt5-base",
|
||||
"qt5-tools",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
@ -2816,6 +2816,10 @@
|
||||
"baseline": "5.81.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"kf5auth": {
|
||||
"baseline": "5.81.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"kf5completion": {
|
||||
"baseline": "5.81.0",
|
||||
"port-version": 0
|
||||
|
9
versions/k-/kf5auth.json
Normal file
9
versions/k-/kf5auth.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "4eb7aaf2e4986913b630b57cf640bc62ae811316",
|
||||
"version": "5.81.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user