mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-13 03:18:13 +08:00
f66a43752d
* Add kf5package port * [kf5package] remove vcpkg-cmake-wrapper block * [kf5package] more fixes * Fixed kf5package for windows * Fixed kf5package for windows (by Kuntal Majumder) * [kf5package] use PORT variable where applicable * [kf5package] update to 5.75.0 * [kf5package] fix macOS libiconv * [kf5package] update to 5.84.0 * [kf5package] update versions * [kf5package] use vcpkg_copy_tools() to copy kpackagetool5 * [kf5package] update versions * [kf5package] use semVer * [kf5package] remove redundant options, wrap paths in quotes * [kf5package] update to current spec * [kf5package] update versions * [kf5package] fix configure options * [kf5package] update versions * [kf5package] fix vcpkg_cmake_config_fixup() usage Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> * [kf5package] update versions * [kf5package] libiconv patches only for windows static builds * [kf5package] update versions * [kf5package] libiconv patches also on osx * [kf5package] update versions * [kf5package] cleanup, iconv was fixed in kf5i18n * [kf5package] update versions * [kf5package] use generic, non-semver versioning * [kf5package] update versions Co-authored-by: Kuntal Majumder <hellozee@disroot.org> Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
29 lines
956 B
CMake
29 lines
956 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO KDE/kpackage
|
|
REF v5.84.0
|
|
SHA512 ad6a7083d461b2e782c612a544a8f6c0493c68c98a915e3f8fd4fd7de4ce636002383869476f877ace407fdc5013ad58e297ed3fd46dcac055ce79251704bf95
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
DISABLE_PARALLEL_CONFIGURE
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DBUILD_TESTING=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5Package CONFIG_PATH lib/cmake/KF5Package)
|
|
vcpkg_copy_pdbs()
|
|
|
|
vcpkg_copy_tools(TOOL_NAMES kpackagetool5 AUTO_CLEAN)
|
|
|
|
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") |