Skip to content

Commit efa6321

Browse files
authored
[v-hacd] Update version to v4.1.0 (microsoft#42908)
1 parent 6cb30d5 commit efa6321

File tree

6 files changed

+14
-222
lines changed

6 files changed

+14
-222
lines changed

ports/v-hacd/CMakeLists.txt

Lines changed: 0 additions & 19 deletions
This file was deleted.

ports/v-hacd/fix-cmake.patch

Lines changed: 0 additions & 140 deletions
This file was deleted.

ports/v-hacd/portfile.cmake

Lines changed: 5 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,11 @@
1-
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
2-
1+
# Header-only library
32
vcpkg_from_github(
43
OUT_SOURCE_PATH SOURCE_PATH
54
REPO kmammou/v-hacd
6-
REF 1a49edf29c69039df15286181f2f27e17ceb9aef
7-
SHA512 14157e5fd9cbfeb44735dc2952d7b4f43337ea2243f3b690125dda27e3bb8328cc38050415c7150cf11fbd85c5258c3aaa8899f306ce118f78a4d5e6139ef0f0
5+
REF "v${VERSION}"
6+
SHA512 b974c490897a1901d6975c75222a167a70f9e2a37e0c548aeb6a346cb0154ec1415947d47d69a729c0c4d9345aed70d3c09d4bf297beacfae66ceb4c8c89c6d0
87
HEAD_REF master
9-
PATCHES
10-
fix-cmake.patch
11-
)
12-
13-
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
14-
15-
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
16-
set(LIB_TYPE "SHARED")
17-
else()
18-
set(LIB_TYPE "STATIC")
19-
endif()
20-
21-
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
22-
INVERTED_FEATURES
23-
openmp NO_OPENMP
24-
opencl NO_OPENCL
258
)
269

27-
vcpkg_cmake_configure(
28-
SOURCE_PATH "${SOURCE_PATH}"
29-
OPTIONS
30-
${FEATURE_OPTIONS}
31-
-DLIB_TYPE=${LIB_TYPE}
32-
)
33-
34-
vcpkg_cmake_install()
35-
36-
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
37-
38-
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/vhacd)
39-
40-
vcpkg_copy_pdbs()
41-
42-
# Handle copyright
43-
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
10+
file(INSTALL "${SOURCE_PATH}/include/VHACD.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
11+
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

ports/v-hacd/vcpkg.json

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,7 @@
11
{
22
"name": "v-hacd",
3-
"version": "3.2.0",
4-
"port-version": 4,
3+
"version": "4.1.0",
54
"description": "The V-HACD library decomposes a 3D surface into a set of \"near\" convex parts.",
65
"homepage": "https://github.com/kmammou/v-hacd",
7-
"supports": "!arm",
8-
"dependencies": [
9-
{
10-
"name": "vcpkg-cmake",
11-
"host": true
12-
},
13-
{
14-
"name": "vcpkg-cmake-config",
15-
"host": true
16-
}
17-
],
18-
"features": {
19-
"opencl": {
20-
"description": "Builds opencl enabled lib",
21-
"dependencies": [
22-
"opencl"
23-
]
24-
},
25-
"openmp": {
26-
"description": "Builds openmp enabled lib"
27-
}
28-
}
6+
"supports": "!arm"
297
}

versions/baseline.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9325,8 +9325,8 @@
93259325
"port-version": 0
93269326
},
93279327
"v-hacd": {
9328-
"baseline": "3.2.0",
9329-
"port-version": 4
9328+
"baseline": "4.1.0",
9329+
"port-version": 0
93309330
},
93319331
"v8": {
93329332
"baseline": "9.1.269.39",

versions/v-/v-hacd.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"versions": [
3+
{
4+
"git-tree": "fd12e9f385d6694b78b54e73328dc0afde6ed0f5",
5+
"version": "4.1.0",
6+
"port-version": 0
7+
},
38
{
49
"git-tree": "a4b4d85577f6e6e7cbcfa0257cdc5f51775e3e47",
510
"version": "3.2.0",

0 commit comments

Comments
 (0)