xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/protobuf/protobuf-c_1.4.1.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY = "Protocol Buffers - structured data serialisation mechanism"
2DESCRIPTION = "This is protobuf-c, a C implementation of the Google Protocol Buffers data \
3serialization format. It includes libprotobuf-c, a pure C library that \
4implements protobuf encoding and decoding, and protoc-c, a code generator that \
5converts Protocol Buffer .proto files to C descriptor code, based on the \
6original protoc. protobuf-c formerly included an RPC implementation; that code \
7has been split out into the protobuf-c-rpc project."
8HOMEPAGE = "https://github.com/protobuf-c/protobuf-c"
9SECTION = "console/tools"
10LICENSE = "BSD-2-Clause"
11LIC_FILES_CHKSUM = "file://LICENSE;md5=9f725889e0d77383e26cb42b0b62cea2"
12
13DEPENDS = "protobuf-native protobuf"
14
15SRC_URI = "git://github.com/protobuf-c/protobuf-c.git;branch=master;protocol=https"
16SRCREV = "abc67a11c6db271bedbb9f58be85d6f4e2ea8389"
17
18S = "${WORKDIR}/git"
19
20inherit autotools pkgconfig
21
22export PROTOC = "${STAGING_BINDIR_NATIVE}/protoc"
23
24# After several fix attempts there is still a race between generating
25# t.test-full.pb.h and compiling cxx_generate_packed_data.c despite
26# BUILT_SOURCES and explicit dependencies.
27PARALLEL_MAKE = ""
28
29PACKAGE_BEFORE_PN = "${PN}-compiler"
30
31FILES:${PN}-compiler = "${bindir}"
32
33RDEPENDS:${PN}-compiler = "protobuf-compiler"
34RDEPENDS:${PN}-dev += "${PN}-compiler"
35
36BBCLASSEXTEND = "native nativesdk"
37