Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions ports/earcut-hpp/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO mapbox/earcut.hpp
REF v2.2.3
SHA512 f87f0084dbbcda85b409c326587a376d443f2484b6a69c216d2ad94ea8ea238912dfe1174b464b08faec10ea5c29ebae6478e7abfe5ff682a7b043784c1e3acf
HEAD_REF master
)

# This is a header only library
file(INSTALL "${SOURCE_PATH}/include/mapbox/earcut.hpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include/mapbox")

# Handle copyright
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME "copyright")
7 changes: 7 additions & 0 deletions ports/earcut-hpp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "earcut-hpp",
"version": "2.2.3",
"description": "earcut.hpp is a C++ port of earcut.js, a fast, header-only polygon triangulation library.",
"homepage": "https://github.com/mapbox/earcut.hpp",
"license": "ISC"
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -1952,6 +1952,10 @@
"baseline": "2.09.12",
"port-version": 2
},
"earcut-hpp": {
"baseline": "2.2.3",
"port-version": 0
},
"eastl": {
"baseline": "3.18.00",
"port-version": 2
Expand Down
9 changes: 9 additions & 0 deletions versions/e-/earcut-hpp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "89c9c15fcd180f5e17b02290430dfe7019dc830c",
"version": "2.2.3",
"port-version": 0
}
]
}