aboutsummaryrefslogtreecommitdiff
path: root/ports/kf5package
diff options
context:
space:
mode:
authorDawid Wróbel <me@dawidwrobel.com>2021-09-17 17:20:35 +0200
committerGitHub <noreply@github.com>2021-09-17 08:20:35 -0700
commit8a943f71ffb6d99ac8800b71172d4eff2d0c6df4 (patch)
tree93d6541c3b6b789c981c29bfbf763f0fe995370f /ports/kf5package
parent6edc46f862f9931d174ffbd45fb07f8df3edf040 (diff)
downloadvcpkg-8a943f71ffb6d99ac8800b71172d4eff2d0c6df4.tar.gz
vcpkg-8a943f71ffb6d99ac8800b71172d4eff2d0c6df4.zip
[kf5*] re-enable parallel configure, speed up compilation (#20202)
* [kf5*] re-enable parallel configure * [kf5*] update versions
Diffstat (limited to 'ports/kf5package')
-rw-r--r--ports/kf5package/portfile.cmake4
-rw-r--r--ports/kf5package/vcpkg.json1
2 files changed, 4 insertions, 1 deletions
diff --git a/ports/kf5package/portfile.cmake b/ports/kf5package/portfile.cmake
index f67cfb852..a9661cf07 100644
--- a/ports/kf5package/portfile.cmake
+++ b/ports/kf5package/portfile.cmake
@@ -6,8 +6,10 @@ vcpkg_from_github(
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(
- DISABLE_PARALLEL_CONFIGURE
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_TESTING=OFF
diff --git a/ports/kf5package/vcpkg.json b/ports/kf5package/vcpkg.json
index 086ffbdfb..a874e8db7 100644
--- a/ports/kf5package/vcpkg.json
+++ b/ports/kf5package/vcpkg.json
@@ -1,6 +1,7 @@
{
"name": "kf5package",
"version": "5.84.0",
+ "port-version": 1,
"description": "Installation and loading of additional content (ex: scripts, images...) as packages",
"homepage": "https://api.kde.org/frameworks/kpackage/html/index.html",
"dependencies": [