forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[robotraconteur] Add robotraconteur and robotraconteur-companion ports (
microsoft#36596) * Add robotraconteur port * version database * Add robotraconteur-companion port * version database * Install usage * Update manifests * Add dbus and libusb dependencies on linux * version database * Add back vcpkg-cmake dependency * version database * Disable robotraconteur on linux * version database * usage newline * Use vcpkg_cmake_config_fixup * Add back linux support * version database * Improve check for libbluetooth using pkgconfig * version database * Change libbluetooth check to warning * version database * Set PACKAGE_NAME in vcpkg_cmake_config_fixup * version database
- Loading branch information
Showing
10 changed files
with
193 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO robotraconteur/robotraconteur_companion | ||
REF v0.3.1 | ||
SHA512 ba6ac3777eb37411d1c52d3639aad668bc8bb6aa1a39e77a6b0288b6c130756f5bbbc0adcbaa13bb07fb152e76e29462eccc36c1cf1baf6aa0bfb81e3566a32f | ||
HEAD_REF master | ||
) | ||
|
||
vcpkg_from_github( | ||
OUT_SOURCE_PATH ROBDEF_SOURCE_PATH | ||
REPO robotraconteur/robotraconteur_standard_robdef | ||
REF group1-v1 | ||
SHA512 84724717e57c6e7ceefa957a8d94ee68db189e9a114564662d37b16a307735feea2a01c5622140118f537e6c084437d4bf11d0eb1e015b475fb3b636ed5009aa | ||
HEAD_REF master | ||
) | ||
|
||
file(COPY ${ROBDEF_SOURCE_PATH}/group1 DESTINATION ${SOURCE_PATH}/robdef/) | ||
|
||
vcpkg_cmake_configure( | ||
SOURCE_PATH ${SOURCE_PATH} | ||
) | ||
|
||
vcpkg_cmake_install() | ||
|
||
vcpkg_cmake_config_fixup( | ||
PACKAGE_NAME RobotRaconteurCompanion | ||
CONFIG_PATH "lib/cmake/RobotRaconteurCompanion" | ||
) | ||
|
||
vcpkg_copy_pdbs() | ||
|
||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) | ||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share) | ||
|
||
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) | ||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
The package robotraconteur-companion is compatible with built-in CMake targets: | ||
|
||
find_package(RobotRaconteurCompanion REQUIRED) | ||
target_link_libraries(main PRIVATE RobotRaconteurCompanion) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "robotraconteur-companion", | ||
"version-semver": "0.3.1", | ||
"homepage": "https://github.com/robotraconteur/robotraconteur_companion", | ||
"license": "Apache-2.0", | ||
"supports": "(windows & (x86 | x64)) | (linux & (x86 | x64 | arm64)) | (osx & (x64 | arm64))", | ||
"dependencies": [ | ||
"eigen3", | ||
"robotraconteur", | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
}, | ||
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
}, | ||
"yaml-cpp" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
if(VCPKG_TARGET_IS_LINUX) | ||
MESSAGE(WARNING "${PORT} requires libbluetooth-dev from the system package manager.\nTry: 'sudo yum install libbluetooth-dev ' (or sudo apt-get install libbluetooth-dev)") | ||
endif() | ||
|
||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO robotraconteur/robotraconteur | ||
REF v1.0.0 | ||
SHA512 c21dd0af579272c565dd66ca935aababfa3742db524fae66fe82c929561680608e5759ce954f31a8bbcb4ffb7c4e5314f2050b513ccddb8fb49a005c6cfa6d74 | ||
HEAD_REF master | ||
) | ||
|
||
vcpkg_cmake_configure( | ||
SOURCE_PATH ${SOURCE_PATH} | ||
OPTIONS | ||
-DBUILD_GEN=ON | ||
-DBUILD_TESTING=OFF | ||
) | ||
|
||
vcpkg_cmake_install() | ||
|
||
vcpkg_copy_tools(TOOL_NAMES RobotRaconteurGen AUTO_CLEAN) | ||
|
||
vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/robotraconteur) | ||
|
||
vcpkg_cmake_config_fixup( | ||
PACKAGE_NAME RobotRaconteur | ||
CONFIG_PATH "lib/cmake/RobotRaconteur" | ||
) | ||
|
||
vcpkg_copy_pdbs() | ||
|
||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) | ||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share) | ||
|
||
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) | ||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
The package robotraconteur is compatible with built-in CMake targets: | ||
|
||
find_package(RobotRaconteur REQUIRED) | ||
target_link_libraries(main PRIVATE RobotRaconteurCore) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"name": "robotraconteur", | ||
"version-semver": "1.0.0", | ||
"description": "The Robot Raconteur communication framework core library", | ||
"homepage": "http://robotraconteur.com", | ||
"license": "Apache-2.0", | ||
"supports": "(windows & (x86 | x64)) | (linux & (x86 | x64 | arm64)) | (osx & (x64 | arm64))", | ||
"dependencies": [ | ||
"boost-algorithm", | ||
"boost-array", | ||
"boost-asio", | ||
"boost-assign", | ||
"boost-atomic", | ||
"boost-bind", | ||
"boost-config", | ||
"boost-container", | ||
"boost-date-time", | ||
"boost-filesystem", | ||
"boost-foreach", | ||
"boost-format", | ||
"boost-function", | ||
"boost-interprocess", | ||
"boost-intrusive", | ||
"boost-lexical-cast", | ||
"boost-locale", | ||
"boost-program-options", | ||
"boost-random", | ||
"boost-range", | ||
"boost-regex", | ||
"boost-scope-exit", | ||
"boost-signals2", | ||
"boost-smart-ptr", | ||
"boost-thread", | ||
"boost-tuple", | ||
"boost-unordered", | ||
"boost-utility", | ||
"boost-uuid", | ||
{ | ||
"name": "dbus", | ||
"platform": "linux" | ||
}, | ||
{ | ||
"name": "libusb", | ||
"platform": "linux" | ||
}, | ||
{ | ||
"name": "openssl", | ||
"platform": "!windows" | ||
}, | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
}, | ||
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"versions": [ | ||
{ | ||
"git-tree": "ea627026fece9dea23b555957a5298e894c665b5", | ||
"version-semver": "0.3.1", | ||
"port-version": 0 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"versions": [ | ||
{ | ||
"git-tree": "3c14da3e3dcf13b70904a04d988437c786032398", | ||
"version-semver": "1.0.0", | ||
"port-version": 0 | ||
} | ||
] | ||
} |