Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[hareflow] Add hareflow #24903

Merged
merged 6 commits into from
Jun 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions ports/hareflow/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO coveooss/hareflow
REF a59406398c60d4908a9f894c187ef90370119594 # 0.1.0
SHA512 ed9e3b54f879fed65cf7765b37951a0da04e99b09950316d9108ea35917d05b4733c5cb8f3c161e42f1baab5978affd4522e5b5028861b3f7d6cc0bfe0a40363
HEAD_REF main
)

if(VCPKG_TARGET_IS_OSX OR VCPKG_TARGET_IS_IOS)
set(rpath "@loader_path")
else()
set(rpath "\$ORIGIN")
endif()

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
"-DCMAKE_INSTALL_RPATH=${rpath}"
)
vcpkg_cmake_install()

file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
42 changes: 42 additions & 0 deletions ports/hareflow/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"name": "hareflow",
"version-semver": "0.1.0",
"description": "Hareflow: A RabbitMQ C++ stream client.",
"homepage": "https://github.com/coveooss/hareflow",
"license": "Apache-2.0",
"dependencies": [
yrivardmulrooney marked this conversation as resolved.
Show resolved Hide resolved
{
"name": "boost-asio",
"features": [
"ssl"
],
"version>=": "1.78.0"
},
{
"name": "boost-endian",
"version>=": "1.78.0"
},
{
"name": "fmt",
"version>=": "8.0.1"
},
{
"name": "openssl",
"version>=": "3.0.2#3"
},
{
"name": "qpid-proton",
"version>=": "0.37.0#2"
},
{
"name": "vcpkg-cmake",
"host": true,
"version>=": "2021-02-28"
},
{
"name": "vcpkg-cmake-config",
"host": true,
"version>=": "2021-02-26"
}
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2724,6 +2724,10 @@
"baseline": "2021-03-19",
"port-version": 0
},
"hareflow": {
"baseline": "0.1.0",
"port-version": 0
},
"harfbuzz": {
"baseline": "4.2.0",
"port-version": 0
Expand Down
9 changes: 9 additions & 0 deletions versions/h-/hareflow.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "80c6cc2de2019b438b3eb7caecc26277e5cc836c",
"version-semver": "0.1.0",
"port-version": 0
}
]
}