[bitserializer-rapidyaml] Add new port (#11242)

Co-authored-by: Pavel_Kisliak <Pavel_Kisliak@epam.com>
This commit is contained in:
Pavel Kisliak 2020-05-12 01:31:28 +03:00 committed by GitHub
parent e7a95bf2d1
commit dac027e42e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,6 @@
Source: bitserializer-rapidyaml
Version: 0.9
Build-Depends: bitserializer, ryml
Description: C++ 17 library for serialization, module for support YAML (implementation based on the RapidYaml library)
Homepage: https://bitbucket.org/Pavel_Kisliak/bitserializer
Supports: !(arm|arm64|osx)

View File

@ -0,0 +1,21 @@
vcpkg_fail_port_install(ON_ARCH "arm" ON_TARGET "osx")
vcpkg_from_bitbucket(
OUT_SOURCE_PATH SOURCE_PATH
REPO Pavel_Kisliak/BitSerializer
REF 0.9
SHA512 74515a1a8338935c52752200d96abc0c0ee2c2b0b42880b1d10c8f56b5f8eb30680bd96b64eb2b352764128ad6a1fcd59749f481883c48a06230d652bee05902
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}/archives/bitserializer_rapidyaml
PREFER_NINJA
)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH share/bitserializer-rapidyaml/cmake)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib ${CURRENT_PACKAGES_DIR}/debug)
# Handle copyright
file(INSTALL ${SOURCE_PATH}/license.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

View File

@ -136,6 +136,9 @@ berkeleydb:arm-uwp=fail
berkeleydb:x64-linux=fail
berkeleydb:x64-osx=fail
berkeleydb:x64-uwp=fail
bitserializer-rapidyaml:arm-uwp=fail
bitserializer-rapidyaml:arm64-windows=fail
bitserializer-rapidyaml:x64-osx=fail
blaze:x64-windows=fail
blaze:x64-windows-static=fail
blaze:x86-windows=fail