gz-physics6 (#34616)

This commit is contained in:
talregev 2023-10-31 21:54:17 +02:00 committed by GitHub
parent 83a4bd802f
commit 9083f6a5b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 81 additions and 0 deletions

View File

@ -0,0 +1,21 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -73,9 +73,8 @@
collision-bullet
collision-ode
utils
utils-urdf
CONFIG
VERSION 6.9
REQUIRED_BY dartsim
- PKGCONFIG dart
PKGCONFIG_VER_COMPARISON >=)
@@ -82,7 +82,6 @@
#--------------------------------------
# Find bullet for the bullet plugin wrapper
gz_find_package(GzBullet
VERSION 2.87
REQUIRED_BY bullet bullet-featherstone
- PKGCONFIG bullet
PKGCONFIG_VER_COMPARISON >=)

View File

@ -0,0 +1,25 @@
set(PACKAGE_NAME physics)
ignition_modular_library(
NAME ${PACKAGE_NAME}
REF ${PORT}_${VERSION}
VERSION ${VERSION}
SHA512 c29594663509234e25c7d0a33848c0fe222c2b9471513978c18ea6873a17c66c43b4037c74e8849995fa6449c2dddc0f2ee669605893daf65119c277a17f39e1
OPTIONS
PATCHES
dependencies.patch
)
if(VCPKG_TARGET_IS_WINDOWS)
file(GLOB plugins "${CURRENT_PACKAGES_DIR}/lib/gz-physics-6/engine-plugins/*.dll")
if (NOT plugins STREQUAL "")
file(COPY ${plugins} DESTINATION "${CURRENT_PACKAGES_DIR}/bin/engine-plugins/")
file(REMOVE ${plugins})
endif()
file(GLOB plugins_debug "${CURRENT_PACKAGES_DIR}/debug/lib/gz-physics-6/engine-plugins/*.dll")
if (NOT plugins_debug STREQUAL "")
file(COPY ${plugins_debug} DESTINATION "${CURRENT_PACKAGES_DIR}/debug/bin/engine-plugins/")
file(REMOVE ${plugins_debug})
endif()
endif()

View File

@ -0,0 +1,22 @@
{
"name": "gz-physics6",
"version": "6.5.1",
"description": "component of Gazebo, provides an abstract physics interface designed to support simulation and rapid development of robot applications.",
"homepage": "https://gazebosim.org/libs/physics",
"license": "Apache-2.0",
"dependencies": [
"bullet3",
"dartsim",
"eigen3",
"gz-cmake3",
"gz-common5",
"gz-math7",
"gz-plugin2",
"gz-utils2",
{
"name": "ignition-modularscripts",
"host": true
},
"sdformat13"
]
}

View File

@ -3188,6 +3188,10 @@
"baseline": "9.5.0",
"port-version": 0
},
"gz-physics6": {
"baseline": "6.5.1",
"port-version": 0
},
"gz-plugin2": {
"baseline": "2.0.1",
"port-version": 0

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "9e84a89c5e37806e67295d51b6bd1ec565ccaede",
"version": "6.5.1",
"port-version": 0
}
]
}