mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 06:39:00 +08:00
6bbee1c300
* Add kf5bookmarks port * Fixed kf5bookmarks in windows * [kf5*] update to 5.75.0 * [kf5bookmarks] WIP * [kf5bookmarks] remove redundant kf5guiaddons dependnecy * [kf5bookmarks] remove redundant options * [kf5bookmarks] only remove what's needed * [kf5bookmarks] wrap paths in quotes * [kf5bookmarks] use semVer * [kf5bookmarks] update to 5.84 * [kf5bookmarks] add missing gettext dep * [kf5bookmarks] add PACKAGE_NAME to vcpkg_cmake_config_fixup * [kf5bookmarks] update versions * [kf5bookmarks] remove static bin files * [kf5bookmarks] update versions * [kf5bookmarks] fix config cmake file * [kf5bookmarks] update versions * [kf5bookmarks] remote meta info from patch * [kf5bookmarks] use generic, non-semver versioning * [kf5bookmarks] update versions Co-authored-by: Kuntal Majumder <hellozee@disroot.org>
29 lines
923 B
CMake
29 lines
923 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO KDE/kbookmarks
|
|
REF v5.84.0
|
|
SHA512 3ba70c7fb312cd7715f0c14f78a4380150fd8716e93186302c39692609dbedda96d5e82d316ea683ffc9338cc5b4f2c689b24e06d66c3d5d735bae57f36ccad0
|
|
HEAD_REF master
|
|
PATCHES
|
|
fix_config_cmake.patch
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
DISABLE_PARALLEL_CONFIGURE
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DBUILD_TESTING=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5Bookmarks CONFIG_PATH lib/cmake/KF5Bookmarks)
|
|
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") |