mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:09:00 +08:00
[mapbox-geometry,mapbox-polylabel,geojson-vt-cpp,geojson-cpp] new ports (#16838)
* added geometry * added mapbox-polylabel * added versions * add port geojson-vt-cpp * add version * fix formatting * fix version * eh ok * version... * add geojson * add version * false version * fix internal version * use semver string Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * fix versions * added mapbox prefix to name. fixed description * changed versions Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
This commit is contained in:
parent
13640c5671
commit
338964e3ff
15
ports/mapbox-geojson-cpp/portfile.cmake
Normal file
15
ports/mapbox-geojson-cpp/portfile.cmake
Normal file
@ -0,0 +1,15 @@
|
||||
#header-only library
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO mapbox/geojson-cpp
|
||||
REF v0.5.1
|
||||
SHA512 1282bd4a21773c8b300149abc95c4baea7c36facf283d05d18db246a40614625fab1a71e51190c1cdfc80852ea60b2727af9a679661bfede860d822306467037
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
# Copy header files
|
||||
file(COPY ${SOURCE_PATH}/include/mapbox/ DESTINATION ${CURRENT_PACKAGES_DIR}/include/mapbox FILES_MATCHING PATTERN "*.hpp")
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
9
ports/mapbox-geojson-cpp/vcpkg.json
Normal file
9
ports/mapbox-geojson-cpp/vcpkg.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "mapbox-geojson-cpp",
|
||||
"version-semver": "0.5.1",
|
||||
"description": "A C++14 library for converting GeoJSON into geometry.hpp representation",
|
||||
"homepage": "https://github.com/mapbox/geojson-cpp",
|
||||
"dependencies": [
|
||||
"mapbox-geometry"
|
||||
]
|
||||
}
|
15
ports/mapbox-geojson-vt-cpp/portfile.cmake
Normal file
15
ports/mapbox-geojson-vt-cpp/portfile.cmake
Normal file
@ -0,0 +1,15 @@
|
||||
#header-only library
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO mapbox/geojson-vt-cpp
|
||||
REF v6.6.4
|
||||
SHA512 8a78159112be3e6a1a477fbb92e7bd9645b0b174ab6db7ef72557e154d53c3a9fb818d62b6f0d0a5b8b8a9839132c523fb44efa038388d4cd2b46c5bea60d2da
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
# Copy header files
|
||||
file(COPY ${SOURCE_PATH}/include/mapbox/ DESTINATION ${CURRENT_PACKAGES_DIR}/include/mapbox FILES_MATCHING PATTERN "*.hpp")
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
9
ports/mapbox-geojson-vt-cpp/vcpkg.json
Normal file
9
ports/mapbox-geojson-vt-cpp/vcpkg.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "mapbox-geojson-vt-cpp",
|
||||
"version-semver": "6.6.4",
|
||||
"description": "Port to C++ of JS GeoJSON-VT for slicing GeoJSON into vector tiles on the fly",
|
||||
"homepage": "https://github.com/mapbox/geojson-vt-cpp",
|
||||
"dependencies": [
|
||||
"mapbox-geometry"
|
||||
]
|
||||
}
|
15
ports/mapbox-geometry/portfile.cmake
Normal file
15
ports/mapbox-geometry/portfile.cmake
Normal file
@ -0,0 +1,15 @@
|
||||
#header-only library
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO mapbox/geometry.hpp
|
||||
REF v2.0.3
|
||||
SHA512 76c10578e1fba44430786fb5e043dbc063aa251f62396701a509f7fa1e2e5c351fa0fe041d16be84bda9816ec5df3342cd9890da6fe99d78d6fb26e0a3b2485b
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
# Copy header files
|
||||
file(COPY ${SOURCE_PATH}/include/mapbox/ DESTINATION ${CURRENT_PACKAGES_DIR}/include/mapbox FILES_MATCHING PATTERN "*.hpp")
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
6
ports/mapbox-geometry/vcpkg.json
Normal file
6
ports/mapbox-geometry/vcpkg.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"name": "mapbox-geometry",
|
||||
"version-semver": "2.0.3",
|
||||
"description": "C++ geometry types",
|
||||
"homepage": "https://github.com/mapbox/geometry.hpp"
|
||||
}
|
15
ports/mapbox-polylabel/portfile.cmake
Normal file
15
ports/mapbox-polylabel/portfile.cmake
Normal file
@ -0,0 +1,15 @@
|
||||
#header-only library
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO mapbox/polylabel
|
||||
REF v1.0.4
|
||||
SHA512 c337577545e072dbc43b5fc822e7a4fc9585051e24f6af76a3525faee7ab5c332915c43401629ad2e8f1f142f9e920f65347609607aec9394fd6bbc5d4936564
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
# Copy header files
|
||||
file(COPY ${SOURCE_PATH}/include/mapbox/ DESTINATION ${CURRENT_PACKAGES_DIR}/include/mapbox FILES_MATCHING PATTERN "*.hpp")
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
10
ports/mapbox-polylabel/vcpkg.json
Normal file
10
ports/mapbox-polylabel/vcpkg.json
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"name": "mapbox-polylabel",
|
||||
"version-semver": "1.0.4",
|
||||
"description": "A fast algorithm for finding the pole of inaccessibility of a polygon (in JavaScript and C++)",
|
||||
"homepage": "https://github.com/mapbox/polylabel",
|
||||
"dependencies": [
|
||||
"mapbox-geometry",
|
||||
"mapbox-variant"
|
||||
]
|
||||
}
|
@ -3776,6 +3776,22 @@
|
||||
"baseline": "0.20.0",
|
||||
"port-version": 1
|
||||
},
|
||||
"mapbox-geojson-cpp": {
|
||||
"baseline": "0.5.1",
|
||||
"port-version": 0
|
||||
},
|
||||
"mapbox-geojson-vt-cpp": {
|
||||
"baseline": "6.6.4",
|
||||
"port-version": 0
|
||||
},
|
||||
"mapbox-geometry": {
|
||||
"baseline": "2.0.3",
|
||||
"port-version": 0
|
||||
},
|
||||
"mapbox-polylabel": {
|
||||
"baseline": "1.0.4",
|
||||
"port-version": 0
|
||||
},
|
||||
"mapbox-variant": {
|
||||
"baseline": "1.2.0",
|
||||
"port-version": 0
|
||||
|
9
versions/m-/mapbox-geojson-cpp.json
Normal file
9
versions/m-/mapbox-geojson-cpp.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "b49d52ff8e08ce5985c91e3690bf7a9866823bc1",
|
||||
"version-semver": "0.5.1",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
9
versions/m-/mapbox-geojson-vt-cpp.json
Normal file
9
versions/m-/mapbox-geojson-vt-cpp.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "61a9b2210212dbddceb433d2f61baa1da834ca8c",
|
||||
"version-semver": "6.6.4",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
9
versions/m-/mapbox-geometry.json
Normal file
9
versions/m-/mapbox-geometry.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "ad46e4919724e089e2644999d7a93cac6beff79e",
|
||||
"version-semver": "2.0.3",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
9
versions/m-/mapbox-polylabel.json
Normal file
9
versions/m-/mapbox-polylabel.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "964316686ad04d8fca92d15be807161886935979",
|
||||
"version-semver": "1.0.4",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user