mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-31 13:20:03 +00:00
protobuf: add protobuf-c recipe
replaces/obsoletes: commit 0d31f8448412 [Added protobuf-c criu dependency] in meta-virtualization This version of the recipe also adds a separated package for the compiler. Signed-off-by: Felipe F. Tonello <eu@felipetonello.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
a78aebb606
commit
3bae88a2ee
@@ -0,0 +1,28 @@
|
|||||||
|
SUMMARY = "Protocol Buffers - structured data serialisation mechanism"
|
||||||
|
DESCRIPTION = "This is protobuf-c, a C implementation of the Google Protocol Buffers data \
|
||||||
|
serialization format. It includes libprotobuf-c, a pure C library that \
|
||||||
|
implements protobuf encoding and decoding, and protoc-c, a code generator that \
|
||||||
|
converts Protocol Buffer .proto files to C descriptor code, based on the \
|
||||||
|
original protoc. protobuf-c formerly included an RPC implementation; that code \
|
||||||
|
has been split out into the protobuf-c-rpc project."
|
||||||
|
HOMEPAGE = "https://github.com/protobuf-c/protobuf-c"
|
||||||
|
SECTION = "console/tools"
|
||||||
|
LICENSE = "BSD-2-Clause"
|
||||||
|
|
||||||
|
DEPENDS = "protobuf-native protobuf"
|
||||||
|
|
||||||
|
PACKAGE_BEFORE_PN = "${PN}-compiler"
|
||||||
|
RDEPENDS_${PN}-compiler = "protobuf-compiler"
|
||||||
|
RDEPENDS_${PN}-dev += "${PN}-compiler"
|
||||||
|
|
||||||
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=235c3195a3968524dc1524b4ebea0c0e"
|
||||||
|
SRC_URI = "https://github.com/protobuf-c/protobuf-c/archive/v${PV}.tar.gz"
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "b884aeba4283309445a8e3b6e7322dd6"
|
||||||
|
SRC_URI[sha256sum] = "2d708fb3c024b9e6e86df141faff802194f5db90a4b79e6d4aa6bd61dd983dd6"
|
||||||
|
|
||||||
|
inherit autotools pkgconfig
|
||||||
|
|
||||||
|
FILES_${PN}-compiler = "${bindir}"
|
||||||
|
|
||||||
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
Reference in New Issue
Block a user