diff options
Diffstat (limited to 'meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.15.4.bb')
-rw-r--r-- | meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.15.4.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.15.4.bb b/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.15.4.bb new file mode 100644 index 0000000000..c3a5a02a3f --- /dev/null +++ b/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.15.4.bb | |||
@@ -0,0 +1,29 @@ | |||
1 | DESCRIPTION = "C++ API for etcd's v3 client API" | ||
2 | HOMEPAGE = "https://github.com/etcd-cpp-apiv3/etcd-cpp-apiv3" | ||
3 | |||
4 | LICENSE = "BSD-3-Clause" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=eae7da6a2cd1788a5cf8a9f838cf6450" | ||
6 | |||
7 | SRC_URI = " \ | ||
8 | git://github.com/etcd-cpp-apiv3/etcd-cpp-apiv3.git;branch=master;protocol=https \ | ||
9 | file://0001-include-stdint.h-for-int64_t-types.patch \ | ||
10 | file://0001-Replacing-GPR_ASSERT-with-c-assert.patch \ | ||
11 | " | ||
12 | |||
13 | SRCREV = "ba6216385fc332b23d95683966824c2b86c2474e" | ||
14 | |||
15 | inherit cmake | ||
16 | |||
17 | DEPENDS += "grpc protobuf cpprest grpc-native protobuf-native" | ||
18 | |||
19 | |||
20 | EXTRA_OECONF += "-DCPPREST_EXCLUDE_WEBSOCKETS=ON" | ||
21 | |||
22 | do_install:append() { | ||
23 | sed -i -e 's#${RECIPE_SYSROOT}##g' ${D}${libdir}/cmake/etcd-cpp-api/etcd-targets.cmake | ||
24 | } | ||
25 | |||
26 | SOLIBS = ".so" | ||
27 | FILES_SOLIBSDEV = "" | ||
28 | |||
29 | SKIP_RECIPE[etcd-cpp-apiv3] ?= "needs ccpprest which needs websocket does work with boost >= 1.87" | ||