[xyo-sdk] New port (#53527)

This commit is contained in:
Hadi Tajallaei 2026-09-03 06:06:08 +01:00 committed by GitHub
parent ae853ae709
commit cd49057547
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,19 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO xyo-financial/sdk-cpp
REF "v${VERSION}"
SHA512 6277af5187b9453efef4fe873f6a5e99787e6d2a467aec50cab47372e9cf4c4c9484a8693426d2564985f7d3762b1b53e32084b396d87c9549257cb54b0e9b01
HEAD_REF main
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DXYO_BUILD_TESTS=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(PACKAGE_NAME XYOSDK CONFIG_PATH lib/cmake/XYOSDK)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

21
ports/xyo-sdk/vcpkg.json Normal file
View File

@ -0,0 +1,21 @@
{
"name": "xyo-sdk",
"version": "2.1.0",
"description": "XYO SDK for AI Banking Transaction Enrichment API",
"homepage": "https://github.com/xyo-financial/sdk-cpp",
"license": "Apache-2.0",
"dependencies": [
"cpr",
"nlohmann-json",
"openssl",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
},
"zlib"
]
}

View File

@ -11280,6 +11280,10 @@
"baseline": "0.8.3",
"port-version": 0
},
"xyo-sdk": {
"baseline": "2.1.0",
"port-version": 0
},
"yajl": {
"baseline": "2.1.0",
"port-version": 5

9
versions/x-/xyo-sdk.json Normal file
View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "42364ecdb8e8ce265d11c1eabd84adf05ec23ede",
"version": "2.1.0",
"port-version": 0
}
]
}