meta-openembedded/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.15.4.bb
Alexander Kanavin fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00

30 lines
869 B
BlitzBasic

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 \
file://0001-include-stdint.h-for-int64_t-types.patch \
file://0001-Replacing-GPR_ASSERT-with-c-assert.patch \
"
SRCREV = "ba6216385fc332b23d95683966824c2b86c2474e"
inherit cmake
DEPENDS += "grpc protobuf cpprest grpc-native protobuf-native"
EXTRA_OECONF += "-DCPPREST_EXCLUDE_WEBSOCKETS=ON"
do_install:append() {
sed -i -e 's#${RECIPE_SYSROOT}##g' ${D}${libdir}/cmake/etcd-cpp-api/etcd-targets.cmake
}
SOLIBS = ".so"
FILES_SOLIBSDEV = ""
SKIP_RECIPE[etcd-cpp-apiv3] ?= "needs ccpprest which needs websocket does work with boost >= 1.87"