diff options
| author | Jayanth Othayoth <ojayanth@in.ibm.com> | 2023-04-21 04:38:58 -0500 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-04-21 10:21:36 -0700 |
| commit | 864f99b88509eb1850b692219a58968890cdbb7a (patch) | |
| tree | c361785f66e5a7b04c1ba0be6139c0e68726dbaa | |
| parent | afbc2234898088311c38d78997f63992e38aa08a (diff) | |
| download | meta-openembedded-864f99b88509eb1850b692219a58968890cdbb7a.tar.gz | |
etcd-cpp-apiv3: add recipe
etcd-cpp-apiv3 is a C++ API for etcd's v3 client API.
This is etcd community recommended C++ library for etcd.
libetcd-cpp-api.so shared library provides both synchronous runtime
(etcd/SyncClient.hpp) and asynchronous runtime (etcd/Client.hpp).
To fix the build issues reported in OpenEmbedded setup updated commit id
on top of v0.14.2 release. Refer #etcd-cpp-apiv3/issues/210 for details.
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.14.2.bb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.14.2.bb b/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.14.2.bb new file mode 100644 index 0000000000..2994df322d --- /dev/null +++ b/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.14.2.bb | |||
| @@ -0,0 +1,20 @@ | |||
| 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 += "git://github.com/etcd-cpp-apiv3/etcd-cpp-apiv3.git;branch=master;protocol=https" | ||
| 8 | SRCREV = "91c64e18d325f4b63f0dfbd795c50c9c3ec3d3e0" | ||
| 9 | |||
| 10 | inherit cmake | ||
| 11 | |||
| 12 | DEPENDS += "grpc protobuf cpprest grpc-native protobuf-native" | ||
| 13 | |||
| 14 | S = "${WORKDIR}/git" | ||
| 15 | |||
| 16 | EXTRA_OECONF += "-DCPPREST_EXCLUDE_WEBSOCKETS=ON" | ||
| 17 | |||
| 18 | INSANE_SKIP:${PN}:append = " ldflags" | ||
| 19 | SOLIBS = ".so" | ||
| 20 | FILES_SOLIBSDEV = "" | ||
