mirror of https://github.com/microsoft/vcpkg.git
[kcrash] New port (#50861)
This commit is contained in:
parent
3541b9f02e
commit
7147ac1294
|
|
@ -0,0 +1,29 @@
|
|||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO KDE/kcrash
|
||||
REF "v${VERSION}"
|
||||
SHA512 0e7b13409133c175427486da4fa4428e106d7a209d0fe0f3b869a29cf157234f44a5b6461a0064cf977e4eab072c786d8e5a54c263418fdfc23ae621b4d467fa
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
# Prevent KDEClangFormat from writing to source effectively blocking parallel configure
|
||||
file(WRITE "${SOURCE_PATH}/.clang-format" "DisableFormat: true\nSortIncludes: false\n")
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DBUILD_TESTING=OFF
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(
|
||||
PACKAGE_NAME kf6crash
|
||||
CONFIG_PATH lib/cmake/KF6Crash
|
||||
)
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
||||
file(GLOB LICENSE_FILES "${SOURCE_PATH}/LICENSES/*")
|
||||
vcpkg_install_copyright(FILE_LIST ${LICENSE_FILES})
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"name": "kcrash",
|
||||
"version": "6.25.0",
|
||||
"description": "KCrash provides support for intercepting and handling application crashes.",
|
||||
"homepage": "https://invent.kde.org/frameworks/kcrash",
|
||||
"documentation": "https://api.kde.org/kcrash-index.html",
|
||||
"supports": "!android",
|
||||
"dependencies": [
|
||||
"ecm",
|
||||
"kcoreaddons",
|
||||
{
|
||||
"name": "qtbase",
|
||||
"default-features": false
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -4248,6 +4248,10 @@
|
|||
"baseline": "1.7",
|
||||
"port-version": 0
|
||||
},
|
||||
"kcrash": {
|
||||
"baseline": "6.25.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"kdalgorithms": {
|
||||
"baseline": "1.4",
|
||||
"port-version": 0
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "4d5a2776d29aa5a944ec8c5897f6390baebb70ba",
|
||||
"version": "6.25.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue