[blickfeld-qb2] Add new port (#45618)

Co-authored-by: Kai Pastor <dg0yt@darc.de>
This commit is contained in:
Johannes Meßmer 2025-05-28 09:36:59 +02:00 committed by GitHub
parent 757ecc97ee
commit 397673354b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 60 additions and 0 deletions

View File

@ -0,0 +1,25 @@
if(VCPKG_TARGET_IS_WINDOWS)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
endif()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Blickfeld/blickfeld-qb2
REF "v${VERSION}"
SHA512 03711c34b2d36a4b0d6a15c0bcdf725ffbfe8b319f10dab4909550f3adae4a7990fc468956fbf7e2c5dd5cc65964b622ebd988c81641d3e78688e6f9f86beadb
HEAD_REF main
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/blickfeld-qb2")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -0,0 +1,4 @@
blickfeld-qb2 provides CMake targets:
find_package(blickfeld-qb2 REQUIRED)
target_link_libraries(main PRIVATE blickfeld-qb2)

View File

@ -0,0 +1,18 @@
{
"name": "blickfeld-qb2",
"version": "2.8.3",
"description": "Client library to communicate securely with Qb2 LiDAR devices of Blickfeld GmbH.",
"homepage": "https://github.com/Blickfeld/blickfeld-qb2",
"license": "BSD-3-Clause",
"dependencies": [
"grpc",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "81294fe8a9c1afd9ae86e02c8b91728664c43e0e",
"version": "2.8.3",
"port-version": 0
}
]
}

View File

@ -720,6 +720,10 @@
"baseline": "2025-03-08",
"port-version": 0
},
"blickfeld-qb2": {
"baseline": "2.8.3",
"port-version": 0
},
"blingfire": {
"baseline": "0.1.8.1",
"port-version": 1