2018-10-03 09:22:21 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO KDE/karchive
|
2021-01-06 04:11:22 +08:00
|
|
|
REF 6e1f95972f25f1d3a94dd181f44ee0846e042ef9 # v5.74.0
|
2020-10-14 04:17:32 +08:00
|
|
|
SHA512 333a5e310c1b482379a3092bb3ac0e31963917090edd3afba6f26e40f63abe327dfdff70800e635667fe3333538e5fc911ab06d7287c17d2062a4618c191f308
|
2018-10-03 09:22:21 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
PREFER_NINJA
|
2020-08-08 06:38:18 +08:00
|
|
|
OPTIONS
|
|
|
|
-DBUILD_HTML_DOCS=OFF
|
|
|
|
-DBUILD_MAN_DOCS=OFF
|
|
|
|
-DBUILD_QTHELP_DOCS=OFF
|
|
|
|
-DBUILD_TESTING=OFF
|
2018-10-03 09:22:21 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/KF5Archive)
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/etc)
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/etc)
|
2020-08-08 06:38:18 +08:00
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
2021-01-06 04:11:22 +08:00
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSES/LGPL-3.0-only.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|