[gazebo] no absolute paths (#24844)

This commit is contained in:
autoantwort 2022-05-23 21:31:54 +02:00 committed by GitHub
parent 0406852bee
commit 413c11d3c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 24 additions and 6 deletions

View File

@ -30,12 +30,20 @@ vcpkg_cmake_configure(
-DUSE_EXTERNAL_TINY_PROCESS_LIBRARY=ON
-DPKG_CONFIG_EXECUTABLE=${CURRENT_HOST_INSTALLED_DIR}/tools/pkgconf/pkgconf.exe
${FEATURE_OPTIONS}
-DBUILD_TESTING=OFF # Not enabled by default, but to be sure
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/gazebo")
vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/include/gazebo-11/gazebo/test")
foreach(postfix "" "-11")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/${PORT}${postfix}/setup.sh" "${CURRENT_PACKAGES_DIR}" "`dirname $0`/../..")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/${PORT}${postfix}/setup.sh" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../..")
endforeach()
vcpkg_copy_tools(
TOOL_NAMES gazebo gz gzclient gzserver
AUTO_CLEAN
@ -48,5 +56,6 @@ endforeach()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
vcpkg_fixup_pkgconfig()
# Handle copyright
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,6 +1,7 @@
{
"name": "gazebo",
"version-date": "2022-01-20",
"port-version": 1,
"description": "Open source robotics simulator.",
"homepage": "http://gazebosim.org",
"license": "Apache-2.0",

View File

@ -1,5 +1,3 @@
ignition_modular_library(NAME transport
VERSION "8.1.0"
SHA512 04b4cd954453505398da35b284e7db4b4691d9a705924c41e0082fd20e94176a3eaeae7329fd9992aaa50f90b2d8973c71daf763ccff58aa30d06be1da15189a
# This can be removed when the pc file of sqlite3 is available ( https://github.com/microsoft/vcpkg/issues/14327 )
DISABLE_PKGCONFIG_INSTALL)
SHA512 04b4cd954453505398da35b284e7db4b4691d9a705924c41e0082fd20e94176a3eaeae7329fd9992aaa50f90b2d8973c71daf763ccff58aa30d06be1da15189a)

View File

@ -1,7 +1,7 @@
{
"name": "ignition-transport8",
"version": "8.1.0",
"port-version": 3,
"port-version": 4,
"description": "Transport middleware for robotics",
"license": null,
"dependencies": [

View File

@ -2426,7 +2426,7 @@
},
"gazebo": {
"baseline": "2022-01-20",
"port-version": 0
"port-version": 1
},
"gcem": {
"baseline": "1.14.1",
@ -2898,7 +2898,7 @@
},
"ignition-transport8": {
"baseline": "8.1.0",
"port-version": 3
"port-version": 4
},
"ignition-transport9": {
"baseline": "9.0.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "702a7de5c38ff156813a73a32eac6c7ca73248e4",
"version-date": "2022-01-20",
"port-version": 1
},
{
"git-tree": "983e90284c8c0073e0193750a412eb4df01accdc",
"version-date": "2022-01-20",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "967c8839fce7bd85b58ed1d4a5506a2be278a8ef",
"version": "8.1.0",
"port-version": 4
},
{
"git-tree": "df4d904c15b18ca24200a42fdfc4e5930c91618a",
"version": "8.1.0",