[libgossip] Add New port (#47065)

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
This commit is contained in:
曹梦轩 2025-09-05 15:40:36 +08:00 committed by GitHub
parent a67ae9b9f7
commit 0c102a84b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,16 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO caomengxuan666/libgossip
REF "v${VERSION}"
SHA512 F4C3F9571C379B8CDB388858F7A847CE9880DEF65DE57D1922A75F466E93DD3E682678D772C89A2B9011BFBA74F3569516B3C772AF8495A72B4CB98A2DC56BFA
HEAD_REF main
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_EXAMPLES=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/libgossip)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -0,0 +1,17 @@
{
"name": "libgossip",
"version": "1.0.0.2",
"description": "A C++17 implementation of the Gossip protocol, designed for decentralized distributed systems.",
"homepage": "https://github.com/caomengxuan666/libgossip",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -4860,6 +4860,10 @@
"baseline": "3.1",
"port-version": 5
},
"libgossip": {
"baseline": "1.0.0.2",
"port-version": 0
},
"libgpg-error": {
"baseline": "1.55",
"port-version": 0

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "837d7ab82674300d106cdc87034d68cf395d31c3",
"version": "1.0.0.2",
"port-version": 0
}
]
}