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-07-28 08:02:50 +08:00
R E F v 5 . 8 4 . 0
S H A 5 1 2 5 3 4 9 1 f 8 5 7 6 d b 8 e b b 4 8 6 2 7 e 0 9 8 f d 8 c 3 d 4 0 2 9 c 0 2 4 b b 9 0 4 8 d 9 7 d a a 1 a 8 f 5 c 3 9 e 5 9 4 c a 0 5 d c d 8 0 e c b 1 8 a c 5 9 1 a f 7 4 5 5 4 5 7 a 0 f 1 4 4 5 9 c 2 4 c f 4 4 4 8 7 7 2 7 a 2 6 e 3 4 f 9 7 7 c 5 b 8 1 a
2021-08-20 06:49:06 +08:00
P A T C H E S
2 7 . p a t c h # https://invent.kde.org/frameworks/kwindowsystem/-/merge_requests/27
2 8 . p a t c h # https://invent.kde.org/frameworks/kwindowsystem/-/merge_requests/28
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-08-20 06:49:06 +08:00
vcpkg_cmake_configure (
2021-05-21 16:30:43 +08:00
D I S A B L E _ P A R A L L E L _ C O N F I G U R E
2020-08-08 06:38:18 +08:00
S O U R C E _ P A T H $ { S O U R C E _ P A T H }
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 ( )
vcpkg_cmake_config_fixup ( 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" )