mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 11:39:01 +08:00
a9d758fe25
* Add kf5configwidgets port * Fix KF5ConfigWidgets for windows * [kf5configwidgets] update to 5.75.0 * [kf5configwidgets] convert CONTROL to manifest * [kf5configwidgets] update versions * [kf5configwidgets] update to 5.81 * [kf5configwidgets] update versions * [kf5configwidgets] update to 5.84 * [kf5configwidgets] update versions * [kf5configwidgets] add 'designerplugin' feature * [kf5configwidgets] update versions * [kf5configwidgets] wrap paths in quotes * [kf5configwidgets] update versions * [kf5configwidgets] actually update SHA512 * [kf5configwidgets] update versions * [kf5configwidgets] fix static builds * [kf5configwidgets] set QT plugins path correctly * [kf5configwidgets] update versions * [kf5configwidgets] remove obsolete versions Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * [kf5configwidgets] rename patch file * [kf5configaddons] update versions Co-authored-by: Kuntal Majumder <hellozee@disroot.org> Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
38 lines
1.2 KiB
CMake
38 lines
1.2 KiB
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO KDE/kconfigwidgets
|
|
REF v5.84.0
|
|
SHA512 da03f4cfc2a64b3ccccfe2b6b7f392f84aba2b975edbf6a5b08a14604ccb565a4491c7eb707af7191345b55ca81e864b7ee13fe648589a56f3226c26160ed024
|
|
HEAD_REF master
|
|
PATCHES
|
|
add_support_for_static_builds.patch # https://invent.kde.org/frameworks/kconfigwidgets/-/merge_requests/71
|
|
)
|
|
|
|
vcpkg_check_features(
|
|
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
|
FEATURES
|
|
designerplugin BUILD_DESIGNERPLUGIN
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
DISABLE_PARALLEL_CONFIGURE
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DBUILD_TESTING=OFF
|
|
-DKDE_INSTALL_PLUGINDIR=plugins
|
|
-DKDE_INSTALL_QTPLUGINDIR=plugins
|
|
${FEATURE_OPTIONS}
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5ConfigWidgets CONFIG_PATH lib/cmake/KF5ConfigWidgets)
|
|
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") |