Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rvo2,rvo2-3d] Create a new port #125

Merged
merged 2 commits into from
Nov 16, 2023
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
27 changes: 27 additions & 0 deletions ports/rvo2-3d/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO snape/RVO2-3D
REF 4475188be8708b38cc3271f2fca6039a639686cc
SHA512 fa1b5e0bbf3b769cc2891395b96092c0cf5d6829acc2b75bcb337402877fef00aed6013226531d3da8a8066cac77e2c7d79644da5369e166568bd90ff10be020
)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_TESTING=OFF
-DBUILD_DOCUMENTATION=OFF
-DENABLE_OPENMP=ON
-DENABLE_INTERPROCEDURAL_OPTIMIZATION=ON
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/RVO3D PACKAGE_NAME RVO3D)
vcpkg_fixup_pkgconfig()

file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/debug/include"
"${CURRENT_PACKAGES_DIR}/debug/share"
)

vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
17 changes: 17 additions & 0 deletions ports/rvo2-3d/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "rvo2-3d",
"version-date": "2023-11-06",
"description": "Optimal Reciprocal Collision Avoidance (C++)",
"homepage": "https://gamma.cs.unc.edu/RVO2/",
"license": "Apache-2.0",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
27 changes: 27 additions & 0 deletions ports/rvo2/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO snape/RVO2
REF 8063b5c4551f26320f35a3a7f8723902a3837076
SHA512 2abf84c76af2b56cd918562a7bd16d58b7ba258c5578cfdb7f83140407a97a97f127b843a0d10f1f638469d3ec6033da563e807273c0b2dc08682226d70ef4a1
)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_TESTING=OFF
-DBUILD_DOCUMENTATION=OFF
-DENABLE_OPENMP=ON
-DENABLE_INTERPROCEDURAL_OPTIMIZATION=ON
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/RVO PACKAGE_NAME RVO)
vcpkg_fixup_pkgconfig()

file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/debug/include"
"${CURRENT_PACKAGES_DIR}/debug/share"
)

vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
17 changes: 17 additions & 0 deletions ports/rvo2/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "rvo2",
"version-date": "2023-11-06",
"description": "Optimal Reciprocal Collision Avoidance (C++)",
"homepage": "https://gamma.cs.unc.edu/RVO2/",
"license": "Apache-2.0",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
2 changes: 2 additions & 0 deletions test/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
"platform": "osx | ios"
},
"openssl3",
"rvo2",
"rvo2-3d",
{
"name": "vcpkg-cmake",
"host": true
Expand Down
8 changes: 8 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,14 @@
"baseline": "2022-09-12",
"port-version": 0
},
"rvo2": {
"baseline": "2023-11-06",
"port-version": 0
},
"rvo2-3d": {
"baseline": "2023-11-06",
"port-version": 0
},
"system-qt5": {
"baseline": "2022-10-25",
"port-version": 0
Expand Down
9 changes: 9 additions & 0 deletions versions/r-/rvo2-3d.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "256773b403e5d2de05e3799fe43e2b37128a1d52",
"version-date": "2023-11-06",
"port-version": 0
}
]
}
9 changes: 9 additions & 0 deletions versions/r-/rvo2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "7a24d17d076f550c56c33b65ea482933a5e62881",
"version-date": "2023-11-06",
"port-version": 0
}
]
}
Loading