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-12-03 11:49:12 +08:00
R E F v 5 . 8 8 . 0
S H A 5 1 2 6 1 8 7 0 7 4 6 4 4 d f 7 b 2 3 8 6 c 5 6 9 e 3 f 4 a d e 7 f b 7 1 8 d a 1 1 a 6 3 e 9 2 6 0 8 c 8 e d 5 0 7 d d c c f 5 e 3 f e f 9 e 6 6 b d e c 6 8 5 2 b 2 0 a 0 e a 7 8 1 2 4 8 f 8 3 3 a 2 a 2 6 5 a d 6 d 5 9 f e 8 8 f 7 e 2 6 a 7 9 1 4 c 7 8 4 b 1 7
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
2021-12-03 11:49:12 +08:00