Skip to content

Commit

Permalink
etcd-cpp-apiv3: add recipe
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
Jayanth Othayoth authored and kraj committed Apr 21, 2023
1 parent afbc223 commit 864f99b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.14.2.bb
Original file line number Diff line number Diff line change
@@ -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 = ""

0 comments on commit 864f99b

Please sign in to comment.