Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions ports/kf6crash/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KDE/kcrash
REF "v${VERSION}"
SHA512 5b26c5b6e98159537f6358c325f1e7056f21575da794e0f9c2a8be752e59714450b0b10550bad069125c589dd5ebacad099c4ae022608553655542851a297b20
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(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})
24 changes: 24 additions & 0 deletions ports/kf6crash/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "kf6crash",
"version": "6.23.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",
"kf6coreaddons",
{
"name": "qtbase",
"default-features": false
},
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4440,6 +4440,10 @@
"baseline": "6.23.0",
"port-version": 0
},
"kf6crash": {
"baseline": "6.23.0",
"port-version": 0
},
"kf6dbusaddons": {
"baseline": "6.23.0",
"port-version": 0
Expand Down
9 changes: 9 additions & 0 deletions versions/k-/kf6crash.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "40170e0107654a1d13f106818f0afb0bce2f98ce",
"version": "6.23.0",
"port-version": 0
}
]
}
Loading