[delaunator-cpp] Add new port (#41886)

This commit is contained in:
myd7349 2024-11-11 16:13:17 +08:00 committed by GitHub
parent 61cf4bf417
commit b164fbd9d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,16 @@
# header-only library
set(VCPKG_BUILD_TYPE release)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO abellgithub/delaunator-cpp
REF "v${VERSION}"
SHA512 14831b2b86e4a53b7da702d551d93ce555c639721bd5d84733c0bf994e71885d0af5963b8033e278dafa73f59996da4eee03fcd19e78206f0dbcf66077875d8b
HEAD_REF master
)
file(COPY "${SOURCE_PATH}/include/delaunator-header-only.hpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
file(COPY "${SOURCE_PATH}/include/delaunator.cpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
file(COPY "${SOURCE_PATH}/include/delaunator.hpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View file

@ -0,0 +1,7 @@
{
"name": "delaunator-cpp",
"version": "1.0.0",
"description": "A really fast C++ library for Delaunay triangulation of 2D points",
"homepage": "https://github.com/abellgithub/delaunator-cpp",
"license": "MIT"
}

View file

@ -2268,6 +2268,10 @@
"baseline": "1.18",
"port-version": 1
},
"delaunator-cpp": {
"baseline": "1.0.0",
"port-version": 0
},
"detours": {
"baseline": "4.0.1",
"port-version": 8

View file

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "552dc211e01f1f3b890b08cbb802eb6aa167944a",
"version": "1.0.0",
"port-version": 0
}
]
}