diff --git a/ports/rmqcpp/disable-tests-and-examples.patch b/ports/rmqcpp/disable-tests-and-examples.patch new file mode 100644 index 0000000000..7986ea6725 --- /dev/null +++ b/ports/rmqcpp/disable-tests-and-examples.patch @@ -0,0 +1,22 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 33db7ca..41ffd06 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -7,7 +7,6 @@ enable_testing() + set(CMAKE_POSITION_INDEPENDENT_CODE ON) + + add_subdirectory(src) +-add_subdirectory(examples) + + if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") + add_compile_options(-Wall -Wextra -Wpedantic) +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index f051820..2db9e2a 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -9,5 +9,3 @@ find_package(GTest REQUIRED) + find_package(bal REQUIRED) + + add_subdirectory(rmq) +-add_subdirectory(rmqtestmocks) +-add_subdirectory(tests) diff --git a/ports/rmqcpp/portfile.cmake b/ports/rmqcpp/portfile.cmake index 2e8b3e4c71..308aef6e0d 100644 --- a/ports/rmqcpp/portfile.cmake +++ b/ports/rmqcpp/portfile.cmake @@ -1,9 +1,11 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO bloomberg/rmqcpp - REF 52e583c2eb3f06707ce5fde7f29089b17428f6b2 - SHA512 c4232f37e7bc61d0cc77c52a1283fefc1a7925b4ef8cfbe9b404393540c773feabdc2ad3adc263beb06fe079cbf22010bf1551e15eb2f55b1347f6d8c8f35f8b + REF 11859eb470f31008da522b59e96899585b4e94ce + SHA512 f82cc1696d370e81dc410442465ecbe06940cd50ae8c93215e19a4b7de57ee7581a1d4f59d9775e08c646b63496ac18528b29edb852e0b9fb9cab7f761151b25 HEAD_REF main + PATCHES + "disable-tests-and-examples.patch" ) vcpkg_cmake_configure( diff --git a/ports/rmqcpp/vcpkg.json b/ports/rmqcpp/vcpkg.json index 3cf1f4f184..d3ae3ecc62 100644 --- a/ports/rmqcpp/vcpkg.json +++ b/ports/rmqcpp/vcpkg.json @@ -1,29 +1,17 @@ { "name": "rmqcpp", "version": "1.0.0", + "port-version": 1, "description": "rmqcpp - A C++ library for RabbitMQ.", "dependencies": [ { "name": "bde", - "host": true, "version>=": "3.123.0.0" }, - { - "name": "boost-asio", - "host": true - }, - { - "name": "boost-iostreams", - "host": true - }, - { - "name": "gtest", - "host": true - }, - { - "name": "openssl", - "host": true - }, + "boost-asio", + "boost-iostreams", + "gtest", + "openssl", { "name": "vcpkg-cmake", "host": true diff --git a/versions/baseline.json b/versions/baseline.json index 7c7d704dfd..5a674f3d68 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -7890,7 +7890,7 @@ }, "rmqcpp": { "baseline": "1.0.0", - "port-version": 0 + "port-version": 1 }, "roaring": { "baseline": "4.1.2", diff --git a/versions/r-/rmqcpp.json b/versions/r-/rmqcpp.json index 8b38d63717..326fee419f 100644 --- a/versions/r-/rmqcpp.json +++ b/versions/r-/rmqcpp.json @@ -1,9 +1,14 @@ { - "versions": [ - { - "version": "1.0.0", - "port-version": 0, - "git-tree": "3ad0bdbdcfd0050a646feb6586d8c13931f8e602" - } - ] + "versions": [ + { + "git-tree": "5671a6b2d1b566222dbe12642e6e4fd86c9cc7f5", + "version": "1.0.0", + "port-version": 1 + }, + { + "git-tree": "3ad0bdbdcfd0050a646feb6586d8c13931f8e602", + "version": "1.0.0", + "port-version": 0 + } + ] }