From 21d2c1716127c247852422e53984437b7e856dc9 Mon Sep 17 00:00:00 2001 From: Tal Regev Date: Fri, 10 Jan 2025 11:01:33 +0200 Subject: [PATCH] Add marchingcubecpp Signed-off-by: Tal Regev --- ports/marchingcubecpp/portfile.cmake | 18 ++++++++++++++++++ ports/marchingcubecpp/vcpkg.json | 7 +++++++ versions/baseline.json | 4 ++++ versions/m-/marchingcubecpp.json | 9 +++++++++ 4 files changed, 38 insertions(+) create mode 100644 ports/marchingcubecpp/portfile.cmake create mode 100644 ports/marchingcubecpp/vcpkg.json create mode 100644 versions/m-/marchingcubecpp.json diff --git a/ports/marchingcubecpp/portfile.cmake b/ports/marchingcubecpp/portfile.cmake new file mode 100644 index 00000000000000..3841dc1184854f --- /dev/null +++ b/ports/marchingcubecpp/portfile.cmake @@ -0,0 +1,18 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO aparis69/MarchingCubeCpp + REF f03a1b3ec29b1d7d865691ca8aea4f1eb2c2873d + SHA512 879204bbfe6a9ad6a6b050b2ba5126884e0b7d01c883d7319dc1deed0c3f6d1658493ba4b39bfcce8c9643739e812d2d69cdbd9be92cd728e0fcccfeb64f898e + PATCHES +) + +# Install source files +file(INSTALL + "${SOURCE_PATH}/MC.h" + "${SOURCE_PATH}/noise.h" + DESTINATION + "${CURRENT_PACKAGES_DIR}/include" +) + +# Install license +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/README.md") diff --git a/ports/marchingcubecpp/vcpkg.json b/ports/marchingcubecpp/vcpkg.json new file mode 100644 index 00000000000000..2223d070297f30 --- /dev/null +++ b/ports/marchingcubecpp/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "marchingcubecpp", + "version-date": "2023-09-11", + "description": "Marching cube implementation.", + "homepage": "https://github.com/aparis69/MarchingCubeCpp", + "license": "MIT" +} diff --git a/versions/baseline.json b/versions/baseline.json index b975d993ce5078..d2ecb0dadf1f40 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -5812,6 +5812,10 @@ "baseline": "24.08.2", "port-version": 1 }, + "marchingcubecpp": { + "baseline": "2023-09-11", + "port-version": 0 + }, "mariadb-connector-cpp": { "baseline": "1.1.5", "port-version": 0 diff --git a/versions/m-/marchingcubecpp.json b/versions/m-/marchingcubecpp.json new file mode 100644 index 00000000000000..06f6e0e1ce15dc --- /dev/null +++ b/versions/m-/marchingcubecpp.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "2d9e9847df59527d3538e9c93d5fe1b76737728c", + "version-date": "2023-09-11", + "port-version": 0 + } + ] +}