[flatbush] Add new port (#32126)

* Add port files

* Add version and git-tree

* New sha for package

* Update git-tree

* Update release sha512

* Update git-tree

* New pkg as per PR review

* And the usual git-tree

* More code review fixes

* More git-tree stuff
This commit is contained in:
Alex E 2023-06-27 01:52:56 -04:00 committed by GitHub
parent e942f068ed
commit 766f36b47b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,19 @@
# Header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO chusitoo/flatbush
REF "v${VERSION}"
SHA512 2d1ac3ae04331dd7aa0923c924672db2aef652b2f99a8a36a58c0efe4069f9b2755e343bea887128f02edd0abbf0775743541ca81fdb325ca1022145dde79ff7
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH share/flatbush)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
# Handle copyright
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

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

@ -0,0 +1,17 @@
{
"name": "flatbush",
"version": "1.1.2",
"description": "A C++11 header-only single file port of Flatbush",
"homepage": "https://github.com/chusitoo/flatbush",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -2540,6 +2540,10 @@
"baseline": "23.5.26",
"port-version": 0
},
"flatbush": {
"baseline": "1.1.2",
"port-version": 0
},
"flecs": {
"baseline": "3.2.4",
"port-version": 0

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "8c59357025e0ee6a44855c384d3defd0a9ee525d",
"version": "1.1.2",
"port-version": 0
}
]
}