mirror of https://github.com/microsoft/vcpkg.git
[kf6threadweaver] New port (#50697)
This commit is contained in:
parent
000cc974fe
commit
6836eb3be8
|
|
@ -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})
|
||||
|
|
@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "a7ee724ceea0b875c2830a0ff35b389e57fd83d5",
|
||||
"version": "6.25.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue