2020-08-08 06:38:18 +08:00
vcpkg_from_github (
O U T _ S O U R C E _ P A T H S O U R C E _ P A T H
R E P O K D E / k w i n d o w s y s t e m
2021-11-26 15:36:46 +08:00
R E F v 5 . 8 7 . 0
S H A 5 1 2 c 6 b 0 9 d 2 c 6 7 9 0 2 3 7 0 d a 3 d 6 c b a 6 1 a a 0 b 6 c 1 3 d 4 9 6 3 3 2 e 5 b a 9 6 9 4 f e 4 3 a 6 5 7 1 2 2 9 f 6 0 3 8 9 1 6 4 0 2 4 6 4 3 b 9 e 5 6 c 0 c 1 e 5 c c e d 0 d 2 9 9 4 2 b 4 b 7 a 0 b a 9 1 9 d d 8 6 b 4 7 d b f 4 6 0 2 c b 7 4 d
2021-08-20 06:49:06 +08:00
P A T C H E S
2021-11-26 15:36:46 +08:00
x c b _ p r i v a t e _ d e p e n d e n c y . d i f f
2020-08-08 06:38:18 +08:00
)
2021-04-13 01:15:11 +08:00
if ( VCPKG_TARGET_IS_LINUX )
message ( WARNING "${PORT} currently requires the following libraries from the system package manager:\n libxcb-res0-dev\n\nThese can be installed on Ubuntu systems via apt-get install libxcb-res0-dev" )
endif ( )
2021-09-17 23:20:35 +08:00
# Prevent KDEClangFormat from writing to source effectively blocking parallel configure
file ( WRITE ${ SOURCE_PATH } /.clang-format "DisableFormat: true\nSortIncludes: false\n" )
2021-08-20 06:49:06 +08:00
vcpkg_cmake_configure (
2021-11-26 15:36:46 +08:00
S O U R C E _ P A T H " $ { S O U R C E _ P A T H } "
2020-08-08 06:38:18 +08:00
O P T I O N S
2021-07-28 08:02:50 +08:00
- D B U I L D _ T E S T I N G = O F F
- D K D E _ I N S T A L L _ P L U G I N D I R = p l u g i n s
2020-08-08 06:38:18 +08:00
)
2021-08-20 06:49:06 +08:00
vcpkg_cmake_install ( )
2021-11-26 15:36:46 +08:00
vcpkg_cmake_config_fixup ( PACKAGE_NAME KF5WindowSystem CONFIG_PATH lib/cmake/KF5WindowSystem )
2020-08-08 06:38:18 +08:00
vcpkg_copy_pdbs ( )
2021-04-13 01:15:11 +08:00
if ( VCPKG_LIBRARY_LINKAGE STREQUAL "static" )
file ( REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin" )
endif ( )
2021-08-20 06:49:06 +08:00
file ( REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" )
file ( REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share" )
2021-04-13 01:15:11 +08:00
2021-08-20 06:49:06 +08:00
file ( INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" )
2021-11-26 15:36:46 +08:00