summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/protobuf/protobuf-c_1.5.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/protobuf/protobuf-c_1.5.1.bb')
-rw-r--r--meta-oe/recipes-devtools/protobuf/protobuf-c_1.5.1.bb42
1 files changed, 42 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.5.1.bb b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.5.1.bb
new file mode 100644
index 0000000000..30c9e19b16
--- /dev/null
+++ b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.5.1.bb
@@ -0,0 +1,42 @@
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=bd8de4f63e06b1ccc06e9f8dc5b1aa97"
12
13DEPENDS = "protobuf-native protobuf"
14
15SRC_URI = "git://github.com/protobuf-c/protobuf-c.git;branch=master;protocol=https \
16 file://protobuf-30.patch \
17"
18SRC_URI:append:class-native = " file://0001-Makefile.am-do-not-compile-the-code-which-was-genera.patch"
19
20SRCREV = "185beed28e65494be7505b30c1afeaf199e19b23"
21
22
23inherit autotools pkgconfig
24
25export PROTOC = "${STAGING_BINDIR_NATIVE}/protoc"
26
27# After several fix attempts there is still a race between generating
28# t.test-full.pb.h and compiling cxx_generate_packed_data.c despite
29# BUILT_SOURCES and explicit dependencies.
30PARALLEL_MAKE = ""
31
32PACKAGE_BEFORE_PN = "${PN}-compiler"
33
34FILES:${PN}-compiler = "${bindir}"
35
36RDEPENDS:${PN}-compiler = "protobuf-compiler"
37RDEPENDS:${PN}-dev += "${PN}-compiler"
38
39BBCLASSEXTEND = "native nativesdk"
40
41# No 64bit atomics
42LDFLAGS:append:riscv32 = " -latomic"