Skip to content

Commit ae7ab1e

Browse files
committed
[kf6threadweaver] New port
1 parent 67f167b commit ae7ab1e

File tree

4 files changed

+62
-0
lines changed

4 files changed

+62
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
vcpkg_from_github(
2+
OUT_SOURCE_PATH SOURCE_PATH
3+
REPO KDE/threadweaver
4+
REF "v${VERSION}"
5+
SHA512 54c93f2100ee313f931e5f6546e9bc2be759a49ca9a53227c77e7bc3fb3bdf194514bbc38860a0b12cff6918f1208a565b4f668785d79a381362a38a2fc9dd01
6+
HEAD_REF master
7+
)
8+
9+
# Prevent KDEClangFormat from writing to source effectively blocking parallel configure
10+
file(WRITE "${SOURCE_PATH}/.clang-format" "DisableFormat: true\nSortIncludes: false\n")
11+
12+
vcpkg_cmake_configure(
13+
SOURCE_PATH "${SOURCE_PATH}"
14+
OPTIONS
15+
-DBUILD_TESTING=OFF
16+
)
17+
18+
vcpkg_cmake_install()
19+
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/KF6ThreadWeaver)
20+
vcpkg_copy_pdbs()
21+
22+
23+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
24+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
25+
26+
file(GLOB LICENSE_FILES "${SOURCE_PATH}/LICENSES/*")
27+
vcpkg_install_copyright(FILE_LIST ${LICENSE_FILES})

ports/kf6threadweaver/vcpkg.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"name": "kf6threadweaver",
3+
"version": "6.23.0",
4+
"description": "KDE Threading library",
5+
"homepage": "https://invent.kde.org/frameworks/threadweaver",
6+
"documentation": "https://api.kde.org/threadweaver-index.html",
7+
"dependencies": [
8+
"ecm",
9+
{
10+
"name": "qtbase",
11+
"default-features": false
12+
},
13+
{
14+
"name": "vcpkg-cmake",
15+
"host": true
16+
},
17+
{
18+
"name": "vcpkg-cmake-config",
19+
"host": true
20+
}
21+
]
22+
}

versions/baseline.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4424,6 +4424,10 @@
44244424
"baseline": "6.22.0",
44254425
"port-version": 0
44264426
},
4427+
"kf6threadweaver": {
4428+
"baseline": "6.23.0",
4429+
"port-version": 0
4430+
},
44274431
"kfr": {
44284432
"baseline": "6.3.1",
44294433
"port-version": 0

versions/k-/kf6threadweaver.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"versions": [
3+
{
4+
"git-tree": "e87aa46b3ad5cf02de501f85af319db2d89c4249",
5+
"version": "6.23.0",
6+
"port-version": 0
7+
}
8+
]
9+
}

0 commit comments

Comments
 (0)