Skip to content

Commit

Permalink
[hareflow] Add hareflow (#24903)
Browse files Browse the repository at this point in the history
* [hareflow] Add hareflow

* Fix version info

* Mark windows x86 as skip

* PR fixes & drop exclusion of x86 windows

* Add newline to portfile

* Fix dependencies
  • Loading branch information
yrivardmulrooney authored Jun 6, 2022
1 parent fdeea72 commit 7ff57df
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 0 deletions.
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": [
{
"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 @@ -2740,6 +2740,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
}
]
}

0 comments on commit 7ff57df

Please sign in to comment.