mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-09 01:32:06 +00:00
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>
32 lines
1.1 KiB
BlitzBasic
32 lines
1.1 KiB
BlitzBasic
SUMMARY = "C++ framework for json-rpc 1.0 and 2.0"
|
|
DESCRIPTION = "JsonRpc-Cpp is an OpenSource implementation of JSON-RPC \
|
|
protocol in C++. JSON-RPC is a lightweight remote procedure \
|
|
call protocol similar to XML-RPC."
|
|
HOMEPAGE = "https://github.com/cinemast/libjson-rpc-cpp"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4e728c5b36018f6c383b4b9efd9c8840"
|
|
SECTION = "libs"
|
|
|
|
DEPENDS = "curl jsoncpp libmicrohttpd hiredis"
|
|
|
|
SRC_URI = "git://github.com/cinemast/libjson-rpc-cpp;branch=master;protocol=https"
|
|
|
|
SRCREV = "ec5ce12fc9c0299e1454cc002c70218b5a6f005b"
|
|
|
|
|
|
PACKAGECONFIG ?= ""
|
|
PACKAGECONFIG[coverage] = "-DWITH_COVERAGE=YES,-DWITH_COVERAGE=NO,,"
|
|
|
|
inherit cmake
|
|
|
|
EXTRA_OECMAKE += "-DCOMPILE_TESTS=NO -DCOMPILE_STUBGEN=NO -DCOMPILE_EXAMPLES=NO \
|
|
-DBUILD_SHARED_LIBS=YES -DBUILD_STATIC_LIBS=YES \
|
|
-DCMAKE_LIBRARY_PATH=${libdir} \
|
|
"
|
|
|
|
do_install:append() {
|
|
sed -i -e 's#${RECIPE_SYSROOT}#\${CMAKE_SYSROOT}#g' ${D}${libdir}/libjson-rpc-cpp/cmake/libjson-rpc-cppTargets.cmake
|
|
}
|
|
|
|
FILES:${PN}-dev += "${libdir}/libjson-rpc-cpp/cmake"
|