File tree Expand file tree Collapse file tree 4 files changed +98
-0
lines changed
Expand file tree Collapse file tree 4 files changed +98
-0
lines changed Original file line number Diff line number Diff line change 1+ vcpkg_from_github (
2+ OUT_SOURCE_PATH SOURCE_PATH
3+ REPO KDE/kauth
4+ REF "v${VERSION} "
5+ SHA512 d1baaff5765281d28103202ae1e1c535d32f0d791704784e577af00333498c6a28d5262bdb34abcfdb789405647fcbf0a439179446709b8a0f0735136f10b632
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\n SortIncludes: false\n " )
11+
12+ if (VCPKG_TARGET_IS_LINUX)
13+ message (WARNING "${PORT} currently requires the following libraries from the system package manager:\n libpolkit-qt6-1-dev\n\n These can be installed on Ubuntu systems via apt-get install libpolkit-qt6-1-dev" )
14+ endif ()
15+
16+ vcpkg_check_features (
17+ OUT_FEATURE_OPTIONS FEATURE_OPTIONS
18+ INVERTED_FEATURES
19+ translations KF_SKIP_PO_PROCESSING
20+ )
21+
22+ vcpkg_cmake_configure (
23+ SOURCE_PATH "${SOURCE_PATH} "
24+ OPTIONS
25+ -DBUILD_TESTING=OFF
26+ ${FEATURE_OPTIONS}
27+ )
28+
29+ vcpkg_cmake_install ()
30+ vcpkg_copy_pdbs ()
31+ vcpkg_cmake_config_fixup (CONFIG_PATH lib/cmake/KF6Auth )
32+
33+ if (EXISTS "${CURRENT_PACKAGES_DIR} /bin/kauth/kauth-policy-gen${VCPKG_TARGET_EXECUTABLE_SUFFIX} " )
34+ vcpkg_copy_tools (
35+ TOOL_NAMES kauth/kauth-policy-gen
36+ DESTINATION "${CURRENT_PACKAGES_DIR} /tools/${PORT} /kauth"
37+ AUTO_CLEAN
38+ )
39+ file (REMOVE_RECURSE "${CURRENT_PACKAGES_DIR} /bin/kauth" )
40+ file (REMOVE_RECURSE "${CURRENT_PACKAGES_DIR} /debug/bin/kauth" )
41+ vcpkg_clean_executables_in_bin (FILE_NAMES none )
42+ endif ()
43+
44+ file (REMOVE_RECURSE "${CURRENT_PACKAGES_DIR} /debug/include" )
45+ file (REMOVE_RECURSE "${CURRENT_PACKAGES_DIR} /debug/share" )
46+
47+ file (GLOB LICENSE_FILES "${SOURCE_PATH} /LICENSES/*" )
48+ vcpkg_install_copyright (FILE_LIST ${LICENSE_FILES} )
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " kf6auth" ,
3+ "version" : " 6.23.0" ,
4+ "description" : " Execute actions as privileged user" ,
5+ "homepage" : " https://invent.kde.org/frameworks/kauth" ,
6+ "documentation" : " https://api.kde.org/kauth-index.html" ,
7+ "dependencies" : [
8+ " ecm" ,
9+ " kf6coreaddons" ,
10+ {
11+ "name" : " qtbase" ,
12+ "default-features" : false
13+ },
14+ {
15+ "name" : " vcpkg-cmake" ,
16+ "host" : true
17+ },
18+ {
19+ "name" : " vcpkg-cmake-config" ,
20+ "host" : true
21+ }
22+ ],
23+ "features" : {
24+ "translations" : {
25+ "description" : " Build and install translation files" ,
26+ "dependencies" : [
27+ {
28+ "name" : " qttools" ,
29+ "host" : true ,
30+ "features" : [
31+ " linguist"
32+ ]
33+ }
34+ ]
35+ }
36+ }
37+ }
Original file line number Diff line number Diff line change 44284428 "baseline" : " 6.23.0" ,
44294429 "port-version" : 0
44304430 },
4431+ "kf6auth" : {
4432+ "baseline" : " 6.23.0" ,
4433+ "port-version" : 0
4434+ },
44314435 "kf6breezeicons" : {
44324436 "baseline" : " 6.23.0" ,
44334437 "port-version" : 0
Original file line number Diff line number Diff line change 1+ {
2+ "versions" : [
3+ {
4+ "git-tree" : " d3ee754ab9528a65e58d31818938dc5104c62823" ,
5+ "version" : " 6.23.0" ,
6+ "port-version" : 0
7+ }
8+ ]
9+ }
You can’t perform that action at this time.
0 commit comments