[kf6threadweaver] New port (#50697)

This commit is contained in:
Daniele E. Domenichelli 2026-06-04 09:12:36 +02:00 committed by GitHub
parent 000cc974fe
commit 6836eb3be8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,27 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KDE/threadweaver
REF "v${VERSION}"
SHA512 177f1e9c71fe0b7008a916388fcc95f1da86b7f72a7954ee072d361d336233ea8d9cfb2e78442d985dc8b0f3f7e8dd2f3cc1a51f120cb43c20806e72166c14b9
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 kf6threadweaver CONFIG_PATH lib/cmake/KF6ThreadWeaver)
vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(GLOB LICENSE_FILES "${SOURCE_PATH}/LICENSES/*")
vcpkg_install_copyright(FILE_LIST ${LICENSE_FILES})

View File

@ -0,0 +1,22 @@
{
"name": "threadweaver",
"version": "6.25.0",
"description": "KDE Threading library",
"homepage": "https://invent.kde.org/frameworks/threadweaver",
"documentation": "https://api.kde.org/threadweaver-index.html",
"dependencies": [
"ecm",
{
"name": "qtbase",
"default-features": false
},
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -10036,6 +10036,10 @@
"baseline": "0.2.5",
"port-version": 4
},
"threadweaver": {
"baseline": "6.25.0",
"port-version": 0
},
"thrift": {
"baseline": "0.23.0",
"port-version": 0

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "a7ee724ceea0b875c2830a0ff35b389e57fd83d5",
"version": "6.25.0",
"port-version": 0
}
]
}