msgpack-c: update 3.2.1 -> 4.0.0, add msgpack-cpp

Upstream has split the C and C++ versions into separate
components so add the recipe for CPP flavour.

The only consumer in meta-oe, tmate, still builds fine.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Alexander Kanavin 2021-09-08 16:19:55 +02:00 committed by Khem Raj
parent 88e4b40c84
commit 71ab0ca5d6
3 changed files with 25 additions and 3 deletions

View File

@ -278,6 +278,7 @@ RDEPENDS:packagegroup-meta-oe-devtools ="\
capnproto-compiler \
mpich \
msgpack-c \
msgpack-cpp \
mercurial \
nodejs \
openocd \

View File

@ -9,10 +9,9 @@ LIC_FILES_CHKSUM = "file://NOTICE;md5=7a858c074723608e08614061dc044352 \
PV .= "+git${SRCPV}"
SRC_URI = "git://github.com/msgpack/msgpack-c \
SRC_URI = "git://github.com/msgpack/msgpack-c;branch=c_master \
"
# cpp-3.2.1
SRCREV = "8085ab8721090a447cf98bb802d1406ad7afe420"
SRCREV = "a9a48cea3a78ba661ee8096b5dab456361b0ff23"
S = "${WORKDIR}/git"

View File

@ -0,0 +1,22 @@
SUMMARY = "MessagePack implementation for C and C++"
DESCRIPTION = "MessagePack is an efficient binary serialization format. It's like JSON. but fast and small"
HOMEPAGE = "http://msgpack.org/index.html"
LICENSE = "BSL-1.0"
LIC_FILES_CHKSUM = "file://NOTICE;md5=7a858c074723608e08614061dc044352 \
file://COPYING;md5=0639c4209b6f2abf1437c813b208f2d3 \
file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c \
"
PV .= "+git${SRCPV}"
SRC_URI = "git://github.com/msgpack/msgpack-c;branch=cpp_master \
"
SRCREV = "3bdbf0d2ee75d46d71afa691a594777d89a22cf7"
DEPENDS += "boost"
S = "${WORKDIR}/git"
inherit cmake pkgconfig
BBCLASSEXTEND += "native nativesdk"