Skip to content

Commit

Permalink
[bark] New port v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaellindemann committed Oct 17, 2024
1 parent e63bd09 commit 121e0c5
Show file tree
Hide file tree
Showing 5 changed files with 77 additions and 0 deletions.
24 changes: 24 additions & 0 deletions ports/bark/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO twig-energy/bark
REF "${VERSION}"
HEAD_REF main
SHA512 96fca5df5a3a0bc91d8b626f1538c517df778dc2a0cf29f1061ef041a270bb2f798525ad4c6a64fbaf7c5e0617475a0abf581eb3f15003e769adc317f1c9e746
)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DCMAKE_CXX_STANDARD=20
-DCMAKE_CXX_STANDARD_REQUIRED=ON
-DCMAKE_CXX_EXTENSIONS=OFF)

vcpkg_cmake_install()

vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/bark)

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")

configure_file("${CURRENT_PORT_DIR}/usage" "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" @ONLY)

vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
4 changes: 4 additions & 0 deletions ports/bark/usage
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
The package @PORT@:@TARGET_TRIPLET@ provides CMake targets:

find_package(bark CONFIG REQUIRED)
target_link_libraries(main PRIVATE twig::bark)
36 changes: 36 additions & 0 deletions ports/bark/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"name": "bark",
"version-semver": "0.3.0",
"description": "A modern, low latency datadog client for C++",
"homepage": "https://github.com/twig-energy/bark",
"license": "MIT",
"dependencies": [
{
"name": "abseil",
"features": [
"cxx17"
]
},
"asio",
"fmt",
"mpmcqueue",
"spscqueue",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
],
"features": {
"test": {
"description": "Dependencies for testing",
"dependencies": [
"benchmark",
"doctest"
]
}
}
}
9 changes: 9 additions & 0 deletions versions/b-/bark.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "8e3cb21fde460b7fcb53f3efd5fd625f3fec42ba",
"version-semver": "0.3.0",
"port-version": 0
}
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,10 @@
"baseline": "3.15.0",
"port-version": 0
},
"bark": {
"baseline": "0.3.0",
"port-version": 0
},
"basisu": {
"baseline": "1.16.4",
"port-version": 0
Expand Down

0 comments on commit 121e0c5

Please sign in to comment.