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-05-21 16:30:43 +08:00
R E F v 5 . 8 1 . 0
S H A 5 1 2 d 0 0 3 e 5 1 2 2 9 1 a 8 0 e 2 3 1 9 b f 7 3 7 1 1 0 5 6 1 8 4 6 6 7 7 8 0 9 2 3 3 6 5 7 1 f f a 3 f 6 6 5 8 a 9 1 d 7 4 2 6 4 1 e 6 e 1 2 b 1 d 7 8 9 e 1 5 5 7 9 c 3 2 5 9 4 3 8 1 9 b 7 0 3 6 2 5 3 6 3 9 e 6 4 f 0 0 4 b 6 0 a 9 2 8 a 3 8 e 9 e e 9 e 8 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 ( )
2020-08-08 06:38:18 +08:00
vcpkg_configure_cmake (
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 }
P R E F E R _ N I N J A
O P T I O N S
- D B U I L D _ H T M L _ D O C S = O F F
- D B U I L D _ M A N _ D O C S = O F F
- D B U I L D _ Q T H E L P _ D O C S = O F F
- 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
)
vcpkg_install_cmake ( )
vcpkg_fixup_cmake_targets ( CONFIG_PATH lib/cmake/KF5WindowSystem )
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 ( )
2020-08-08 06:38:18 +08:00
file ( REMOVE_RECURSE ${ CURRENT_PACKAGES_DIR } /bin/data )
file ( REMOVE_RECURSE ${ CURRENT_PACKAGES_DIR } /debug/bin/data )
file ( REMOVE_RECURSE ${ CURRENT_PACKAGES_DIR } /debug/include )
file ( REMOVE_RECURSE ${ CURRENT_PACKAGES_DIR } /etc )
file ( REMOVE_RECURSE ${ CURRENT_PACKAGES_DIR } /debug/etc )
file ( REMOVE_RECURSE ${ CURRENT_PACKAGES_DIR } /debug/share )
2021-04-13 01:15:11 +08:00
2021-05-21 16:30:43 +08:00
file ( INSTALL ${ SOURCE_PATH } /LICENSES/ DESTINATION ${ CURRENT_PACKAGES_DIR } /share/ ${ PORT } /copyright )