Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bitsery] Update to 5.1.0 version #11912

Merged
merged 2 commits into from
Jun 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ports/bitsery/CONTROL
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Source: bitsery
Version: 5.0.3
Version: 5.1.0
Description: Header only C++ binary serialization library
Homepage: https:/fraillt/bitsery
16 changes: 0 additions & 16 deletions ports/bitsery/fix-install-paths.patch

This file was deleted.

11 changes: 5 additions & 6 deletions ports/bitsery/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
include(vcpkg_common_functions)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO fraillt/bitsery
REF d24dfe14f5a756c0f8ad3d56ae6949ecc2c99b2e # v5.0.3
SHA512 0bd4c80632640b74387587f85ca6e174aed2efd1dc1d83dd682e26e10aa9ef9a98b5477cfb78aa9cbb1a4112fc12468d7072b5c237f32f6738158ba21cf2ea39
REF d7876808195834f05fd84619b8f6b266e5c1d5bd
SHA512 ac2c6e3907f8ee8cf51070b3c00aab9071586510d8cfe30f9660ed5aa9918cd996c806b1db2b46d464f1d933fc41472e5406e63ba4814bdc37d2b0f1ad6e1083
HEAD_REF master
PATCHES fix-install-paths.patch
)

vcpkg_configure_cmake(
Expand All @@ -16,7 +13,9 @@ vcpkg_configure_cmake(

vcpkg_install_cmake()

# Delete redundant and empty directories
vcpkg_fixup_cmake_targets( CONFIG_PATH lib/cmake/${PORT} )

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)

file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)