[opentelemetry-fluentd] Add new port (#32063)

This commit is contained in:
Nick Anderson 2023-07-14 16:31:45 -07:00 committed by GitHub
parent bffafa8f7a
commit 679b49480a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,24 @@
if(VCPKG_TARGET_IS_WINDOWS)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
endif()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO open-telemetry/opentelemetry-cpp-contrib
REF 7afa91952f08aad1fa79b8992f20a4b0cdaadaff # Maps to 2.0.0
HEAD_REF main
SHA512 b28415c867aee5efe99f7521a145b5c402ac555d83be75a8b1d2760aed226ac109a6d092e86d7afedcc2ed8dc848d9662ac6505133d32f99b810f51e2748d1fc
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}/exporters/fluentd"
OPTIONS
-DBUILD_TESTING=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -0,0 +1,21 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"name": "opentelemetry-fluentd",
"version-semver": "2.0.0",
"description": "mdsd/fluentd exporter for OpenTelemetry C++",
"homepage": "https://github.com/open-telemetry/opentelemetry-cpp-contrib/tree/main/exporters",
"license": "Apache-2.0",
"dependencies": [
"curl",
"nlohmann-json",
"opentelemetry-cpp",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -6068,6 +6068,10 @@
"baseline": "1.9.1",
"port-version": 0
},
"opentelemetry-fluentd": {
"baseline": "2.0.0",
"port-version": 0
},
"opentracing": {
"baseline": "1.6.0",
"port-version": 4

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "4c8cdb3314a3a35268d4ce9b786c6632c79e0f97",
"version-semver": "2.0.0",
"port-version": 0
}
]
}