From c320e71bcd9d20bd3325bfd0ac6e69612cc5532a Mon Sep 17 00:00:00 2001 From: Andrew Kornilov Date: Mon, 9 Jan 2023 09:07:09 +0300 Subject: [PATCH] [reactiveplusplus] Add new port (#28729) * [reactiveplusplus] Add new port * Update version database * [reactiveplusplus] Fix installation * [reactiveplusplus] Update version --- ports/reactiveplusplus/portfile.cmake | 19 +++++++++++++++++++ ports/reactiveplusplus/vcpkg.json | 17 +++++++++++++++++ versions/baseline.json | 4 ++++ versions/r-/reactiveplusplus.json | 9 +++++++++ 4 files changed, 49 insertions(+) create mode 100644 ports/reactiveplusplus/portfile.cmake create mode 100644 ports/reactiveplusplus/vcpkg.json create mode 100644 versions/r-/reactiveplusplus.json diff --git a/ports/reactiveplusplus/portfile.cmake b/ports/reactiveplusplus/portfile.cmake new file mode 100644 index 00000000000..35ea573118d --- /dev/null +++ b/ports/reactiveplusplus/portfile.cmake @@ -0,0 +1,19 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO victimsnino/ReactivePlusPlus + REF v0.2.2 + SHA512 86c374c7523c028528ce985f053901a1f0f37a18c2d16085a60fd5d0819ae052cc3d6bfe6065627044b51e65b24de93399be9ba6f0ca8ec92622358112f1c821 + HEAD_REF master +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" +) + +vcpkg_cmake_install() +vcpkg_cmake_config_fixup(PACKAGE_NAME RPP CONFIG_PATH share/RPP) +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug") +file(GLOB_RECURSE CMAKE_LISTS "${CURRENT_PACKAGES_DIR}/include/CMakeLists.txt") +file(REMOVE ${CMAKE_LISTS}) + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/ports/reactiveplusplus/vcpkg.json b/ports/reactiveplusplus/vcpkg.json new file mode 100644 index 00000000000..db2a44a9929 --- /dev/null +++ b/ports/reactiveplusplus/vcpkg.json @@ -0,0 +1,17 @@ +{ + "name": "reactiveplusplus", + "version": "0.2.2", + "description": "ReactivePlusPlus is reactive programming library for C++ language", + "homepage": "https://github.com/victimsnino/ReactivePlusPlus", + "license": "BSL-1.0", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index 5b89da4addb..d161b596ec7 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6608,6 +6608,10 @@ "baseline": "2021-11-01", "port-version": 1 }, + "reactiveplusplus": { + "baseline": "0.2.2", + "port-version": 0 + }, "readerwriterqueue": { "baseline": "1.0.6", "port-version": 0 diff --git a/versions/r-/reactiveplusplus.json b/versions/r-/reactiveplusplus.json new file mode 100644 index 00000000000..02c43d205af --- /dev/null +++ b/versions/r-/reactiveplusplus.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "352a13ae0dacf015a5c79bbfcaceea5d0a5877cf", + "version": "0.2.2", + "port-version": 0 + } + ] +}