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>
This commit is contained in:
Jayanth Othayoth
2023-04-21 04:38:58 -05:00
committed by Khem Raj
parent afbc223489
commit 864f99b885
@@ -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 = ""