From adc8d61b7aa6b543c43e06d51dda97b8e0a420e2 Mon Sep 17 00:00:00 2001 From: Jayanth Othayoth Date: Fri, 21 Apr 2023 04:38:58 -0500 Subject: [PATCH] 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 --- .../etcd/etcd-cpp-apiv3_0.14.2.bb | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.14.2.bb 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 00000000000..2994df322df --- /dev/null +++ b/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.14.2.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "C++ API for etcd's v3 client API" +HOMEPAGE = "https://github.com/etcd-cpp-apiv3/etcd-cpp-apiv3" + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=eae7da6a2cd1788a5cf8a9f838cf6450" + +SRC_URI += "git://github.com/etcd-cpp-apiv3/etcd-cpp-apiv3.git;branch=master;protocol=https" +SRCREV = "91c64e18d325f4b63f0dfbd795c50c9c3ec3d3e0" + +inherit cmake + +DEPENDS += "grpc protobuf cpprest grpc-native protobuf-native" + +S = "${WORKDIR}/git" + +EXTRA_OECONF += "-DCPPREST_EXCLUDE_WEBSOCKETS=ON" + +INSANE_SKIP:${PN}:append = " ldflags" +SOLIBS = ".so" +FILES_SOLIBSDEV = ""