diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/robotraconteur | |
Diffstat (limited to 'vcpkg/ports/robotraconteur')
| -rw-r--r-- | vcpkg/ports/robotraconteur/portfile.cmake | 39 | ||||
| -rw-r--r-- | vcpkg/ports/robotraconteur/usage | 5 | ||||
| -rw-r--r-- | vcpkg/ports/robotraconteur/vcpkg.json | 59 |
3 files changed, 103 insertions, 0 deletions
diff --git a/vcpkg/ports/robotraconteur/portfile.cmake b/vcpkg/ports/robotraconteur/portfile.cmake new file mode 100644 index 0000000..ac60512 --- /dev/null +++ b/vcpkg/ports/robotraconteur/portfile.cmake @@ -0,0 +1,39 @@ +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 "v${VERSION}" + SHA512 ce66b853e8beab53f10b9df310446ac97d4ba61c616f9ced560eb1d26c3d1c44bbeadf33ab109fd64295d5f6521a39eddbd14c03d847a99cdcb2d0d0511d6a87 + HEAD_REF master +) + +vcpkg_cmake_configure( + SOURCE_PATH ${SOURCE_PATH} + OPTIONS + -DBUILD_GEN=ON + -DBUILD_TESTING=OFF + -DCMAKE_CXX_STANDARD=11 +) + +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}") + diff --git a/vcpkg/ports/robotraconteur/usage b/vcpkg/ports/robotraconteur/usage new file mode 100644 index 0000000..17ebd24 --- /dev/null +++ b/vcpkg/ports/robotraconteur/usage @@ -0,0 +1,5 @@ +The package robotraconteur is compatible with built-in CMake targets:
+
+ find_package(RobotRaconteur REQUIRED)
+ target_link_libraries(main PRIVATE RobotRaconteurCore)
+
diff --git a/vcpkg/ports/robotraconteur/vcpkg.json b/vcpkg/ports/robotraconteur/vcpkg.json new file mode 100644 index 0000000..645719a --- /dev/null +++ b/vcpkg/ports/robotraconteur/vcpkg.json @@ -0,0 +1,59 @@ +{ + "name": "robotraconteur", + "version-semver": "1.2.6", + "description": "The Robot Raconteur communication framework core library", + "homepage": "https://www.robotraconteur.com", + "license": "Apache-2.0", + "supports": "(windows & (x86 | x64)) | (linux & (x86 | x64 | arm64 | arm32)) | (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 + } + ] +} |