H3: A Hexagonal Hierarchical Geospatial Indexing System

This commit is contained in:
kreuzerkrieg 2020-02-04 22:33:32 +02:00
parent 85bf9d9d79
commit 1e23800140
3 changed files with 38 additions and 2 deletions

4
ports/h3/CONTROL Normal file
View File

@ -0,0 +1,4 @@
Source: h3
Version: 3.6.3
Homepage: https://github.com/uber/h3
Description: A Hexagonal Hierarchical Geospatial Indexing System

29
ports/h3/portfile.cmake Normal file
View File

@ -0,0 +1,29 @@
vcpkg_fail_port_install(ON_ARCH "arm" "arm64" ON_TARGET "UWP")
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO uber/h3
REF v3.6.3
SHA512 925438663ef9fb6541e4655dc95febe6233f078f8277937d8a9b33a76cf9b257d8c14e3ac5109460ac9188c426e6997700c4ec17926cf401577b3faf74c6c320
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DBUILD_BENCHMARKS=OFF
-DBUILD_FILTERS=OFF
-DBUILD_GENERATORS=OFF
)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT})
vcpkg_copy_pdbs()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin ${CURRENT_PACKAGES_DIR}/debug/include)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

View File

@ -580,6 +580,9 @@ gtk:x86-windows=ignore
gts:x64-linux=fail gts:x64-linux=fail
gts:x64-osx=fail gts:x64-osx=fail
guetzli:x64-osx=fail guetzli:x64-osx=fail
h3:arm64-windows=ignore
h3:arm-uwp=ignore
h3:x64-uwp=ignore
halide:x64-windows-static=fail halide:x64-windows-static=fail
hdf5:arm64-windows=fail hdf5:arm64-windows=fail
hdf5:arm-uwp=fail hdf5:arm-uwp=fail
@ -1547,8 +1550,8 @@ sdl2-mixer:arm-uwp=fail
sdl2-mixer:x64-uwp=fail sdl2-mixer:x64-uwp=fail
sdl2-net:arm-uwp=fail sdl2-net:arm-uwp=fail
sdl2-net:x64-uwp=fail sdl2-net:x64-uwp=fail
seal:arm-uwp=fail seal:arm-uwp=fail
seal:x64-uwp=fail seal:x64-uwp=fail
secp256k1:x64-linux=fail secp256k1:x64-linux=fail
secp256k1:x64-osx=fail secp256k1:x64-osx=fail
selene:x64-linux=ignore selene:x64-linux=ignore