diff options
| author | Mathis Logemann <mathisloge@gmail.com> | 2021-04-01 19:04:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-01 10:04:08 -0700 |
| commit | 338964e3ffd130f094c98f07ccbbb53578f8d633 (patch) | |
| tree | dd9b619378cdb7d729ff310b546871e847c928e9 | |
| parent | 13640c56717dec1bba16c6eb0815d3889dbe1c4d (diff) | |
| download | vcpkg-338964e3ffd130f094c98f07ccbbb53578f8d633.tar.gz vcpkg-338964e3ffd130f094c98f07ccbbb53578f8d633.zip | |
[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>
| -rw-r--r-- | ports/mapbox-geojson-cpp/portfile.cmake | 15 | ||||
| -rw-r--r-- | ports/mapbox-geojson-cpp/vcpkg.json | 9 | ||||
| -rw-r--r-- | ports/mapbox-geojson-vt-cpp/portfile.cmake | 15 | ||||
| -rw-r--r-- | ports/mapbox-geojson-vt-cpp/vcpkg.json | 9 | ||||
| -rw-r--r-- | ports/mapbox-geometry/portfile.cmake | 15 | ||||
| -rw-r--r-- | ports/mapbox-geometry/vcpkg.json | 6 | ||||
| -rw-r--r-- | ports/mapbox-polylabel/portfile.cmake | 15 | ||||
| -rw-r--r-- | ports/mapbox-polylabel/vcpkg.json | 10 | ||||
| -rw-r--r-- | versions/baseline.json | 16 | ||||
| -rw-r--r-- | versions/m-/mapbox-geojson-cpp.json | 9 | ||||
| -rw-r--r-- | versions/m-/mapbox-geojson-vt-cpp.json | 9 | ||||
| -rw-r--r-- | versions/m-/mapbox-geometry.json | 9 | ||||
| -rw-r--r-- | versions/m-/mapbox-polylabel.json | 9 |
13 files changed, 146 insertions, 0 deletions
diff --git a/ports/mapbox-geojson-cpp/portfile.cmake b/ports/mapbox-geojson-cpp/portfile.cmake new file mode 100644 index 000000000..7bef00f68 --- /dev/null +++ b/ports/mapbox-geojson-cpp/portfile.cmake @@ -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) diff --git a/ports/mapbox-geojson-cpp/vcpkg.json b/ports/mapbox-geojson-cpp/vcpkg.json new file mode 100644 index 000000000..e3a4f681f --- /dev/null +++ b/ports/mapbox-geojson-cpp/vcpkg.json @@ -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" + ] +} diff --git a/ports/mapbox-geojson-vt-cpp/portfile.cmake b/ports/mapbox-geojson-vt-cpp/portfile.cmake new file mode 100644 index 000000000..324fc9269 --- /dev/null +++ b/ports/mapbox-geojson-vt-cpp/portfile.cmake @@ -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) diff --git a/ports/mapbox-geojson-vt-cpp/vcpkg.json b/ports/mapbox-geojson-vt-cpp/vcpkg.json new file mode 100644 index 000000000..e12741484 --- /dev/null +++ b/ports/mapbox-geojson-vt-cpp/vcpkg.json @@ -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" + ] +} diff --git a/ports/mapbox-geometry/portfile.cmake b/ports/mapbox-geometry/portfile.cmake new file mode 100644 index 000000000..9ee4065e9 --- /dev/null +++ b/ports/mapbox-geometry/portfile.cmake @@ -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) diff --git a/ports/mapbox-geometry/vcpkg.json b/ports/mapbox-geometry/vcpkg.json new file mode 100644 index 000000000..bcde9b38a --- /dev/null +++ b/ports/mapbox-geometry/vcpkg.json @@ -0,0 +1,6 @@ +{ + "name": "mapbox-geometry", + "version-semver": "2.0.3", + "description": "C++ geometry types", + "homepage": "https://github.com/mapbox/geometry.hpp" +} diff --git a/ports/mapbox-polylabel/portfile.cmake b/ports/mapbox-polylabel/portfile.cmake new file mode 100644 index 000000000..a0c711699 --- /dev/null +++ b/ports/mapbox-polylabel/portfile.cmake @@ -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) diff --git a/ports/mapbox-polylabel/vcpkg.json b/ports/mapbox-polylabel/vcpkg.json new file mode 100644 index 000000000..bb26bf642 --- /dev/null +++ b/ports/mapbox-polylabel/vcpkg.json @@ -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" + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index 5a417e53c..f3f1a8f1b 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -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 diff --git a/versions/m-/mapbox-geojson-cpp.json b/versions/m-/mapbox-geojson-cpp.json new file mode 100644 index 000000000..e68a78fe4 --- /dev/null +++ b/versions/m-/mapbox-geojson-cpp.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "b49d52ff8e08ce5985c91e3690bf7a9866823bc1", + "version-semver": "0.5.1", + "port-version": 0 + } + ] +} diff --git a/versions/m-/mapbox-geojson-vt-cpp.json b/versions/m-/mapbox-geojson-vt-cpp.json new file mode 100644 index 000000000..a988ecd71 --- /dev/null +++ b/versions/m-/mapbox-geojson-vt-cpp.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "61a9b2210212dbddceb433d2f61baa1da834ca8c", + "version-semver": "6.6.4", + "port-version": 0 + } + ] +} diff --git a/versions/m-/mapbox-geometry.json b/versions/m-/mapbox-geometry.json new file mode 100644 index 000000000..723cd74d0 --- /dev/null +++ b/versions/m-/mapbox-geometry.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "ad46e4919724e089e2644999d7a93cac6beff79e", + "version-semver": "2.0.3", + "port-version": 0 + } + ] +} diff --git a/versions/m-/mapbox-polylabel.json b/versions/m-/mapbox-polylabel.json new file mode 100644 index 000000000..73bded4c3 --- /dev/null +++ b/versions/m-/mapbox-polylabel.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "964316686ad04d8fca92d15be807161886935979", + "version-semver": "1.0.4", + "port-version": 0 + } + ] +} |
