[lttb] add port (#52377)

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
This commit is contained in:
parkertomatoes 2026-06-15 22:12:51 -04:00 committed by GitHub
parent b8ab03c3c5
commit 58613d018f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 53 additions and 0 deletions

23
ports/lttb/portfile.cmake Normal file
View File

@ -0,0 +1,23 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO parkertomatoes/lttb-cpp
REF "${VERSION}"
SHA512 af958e704ee1559d3a3913dde2a483b321d61d25b47a57b481463bc87544841a5af22524715e2c3479e35d6d202a96fcb670686aea846d216a0af7e4cd91fe15
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(
CONFIG_PATH share/lttb/cmake
)
file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/debug"
)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

17
ports/lttb/vcpkg.json Normal file
View File

@ -0,0 +1,17 @@
{
"name": "lttb",
"version": "1.0.1",
"description": "C++ implementation of the Largest Triangle Three Buckets downsampling algorithm.",
"homepage": "https://github.com/parkertomatoes/lttb-cpp",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -6232,6 +6232,10 @@
"baseline": "0.5.0",
"port-version": 1
},
"lttb": {
"baseline": "1.0.1",
"port-version": 0
},
"lua": {
"baseline": "5.5.0",
"port-version": 1

9
versions/l-/lttb.json Normal file
View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "c7edceba8be22d9cd4c5701ef008b228ba668a16",
"version": "1.0.1",
"port-version": 0
}
]
}