early-access version 2853
This commit is contained in:
12
externals/vcpkg/ports/influxdb-cxx/include-stringview.patch
vendored
Executable file
12
externals/vcpkg/ports/influxdb-cxx/include-stringview.patch
vendored
Executable file
@@ -0,0 +1,12 @@
|
||||
diff --git a/src/Point.cxx b/src/Point.cxx
|
||||
index 8f7fc10..95b119e 100644
|
||||
--- a/src/Point.cxx
|
||||
+++ b/src/Point.cxx
|
||||
@@ -30,6 +30,7 @@
|
||||
#include <memory>
|
||||
#include <sstream>
|
||||
#include <iomanip>
|
||||
+#include <string_view>
|
||||
|
||||
namespace influxdb
|
||||
{
|
29
externals/vcpkg/ports/influxdb-cxx/portfile.cmake
vendored
Executable file
29
externals/vcpkg/ports/influxdb-cxx/portfile.cmake
vendored
Executable file
@@ -0,0 +1,29 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO offa/influxdb-cxx
|
||||
REF v0.6.7
|
||||
SHA512 4e871c6d06c94b24b45aeedb7c74c75aed17332fbde76fc1e6c2ad06aeb41e268a95f4cab1c12c4402765c11811feb84bf48d60b138717c485327848782e402c
|
||||
HEAD_REF master
|
||||
PATCHES include-stringview.patch
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
boost INFLUXCXX_WITH_BOOST
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DINFLUXCXX_TESTING=OFF
|
||||
-DINFLUXCXX_SYSTEMTEST=OFF
|
||||
${FEATURE_OPTIONS}
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
vcpkg_cmake_config_fixup(PACKAGE_NAME InfluxDB CONFIG_PATH lib/cmake/InfluxDB)
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
28
externals/vcpkg/ports/influxdb-cxx/vcpkg.json
vendored
Executable file
28
externals/vcpkg/ports/influxdb-cxx/vcpkg.json
vendored
Executable file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"name": "influxdb-cxx",
|
||||
"version": "0.6.7",
|
||||
"port-version": 1,
|
||||
"description": "InfluxDB C++ client library",
|
||||
"homepage": "https://github.com/offa/influxdb-cxx",
|
||||
"dependencies": [
|
||||
"curl",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
],
|
||||
"features": {
|
||||
"boost": {
|
||||
"description": "Enables UDP and Unix sockets as Transport Layer",
|
||||
"dependencies": [
|
||||
"boost-asio",
|
||||
"boost-conversion",
|
||||
"boost-property-tree"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user