mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 10:59:00 +08:00
f2608141c5
* Add kf5kcmutils port * Fixed kf5kcmutils for windows * [kf5*] update to 5.75.0 * [kf5kcmutils] update to latest spec * [kf5kcmutils] use semVer * [kf5kcmutils] add PACKAGE_NAME to vcpkg_cmake_config_fixup * [kf5kcmutils] update to 5.84.0 * [kf5kcmutils] fix versioning scheme * [kf5kcmutils] fix SHA sum * [kf5kcmutils] fix cmake config for static builds * [kf5kcmutils] add gettext tools dependency * [kf5kcmutils] update versions * [kf5kcmutils] reduce patch size * [kf5kcmutils] update versions Co-authored-by: Kuntal Majumder <hellozee@disroot.org>
30 lines
920 B
CMake
30 lines
920 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO KDE/kcmutils
|
|
REF v5.84.0
|
|
SHA512 e5f6347416143775e660430d582db3a60153b75063e7079bb3743043132f2e2f0d01234229f5eb1b4678e29d6981d03bd826622924ec7e385900df9067676f5b
|
|
HEAD_REF master
|
|
PATCHES
|
|
fix_cmake_config.patch
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
DISABLE_PARALLEL_CONFIGURE
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DBUILD_TESTING=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5KCMUtils CONFIG_PATH lib/cmake/KF5KCMUtils)
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
|
endif()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright") |