diff options
Diffstat (limited to 'meta-oe/recipes-devtools/protobuf/protobuf-c_1.5.0.bb')
| -rw-r--r-- | meta-oe/recipes-devtools/protobuf/protobuf-c_1.5.0.bb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.5.0.bb b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.5.0.bb new file mode 100644 index 0000000000..545618a4ec --- /dev/null +++ b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.5.0.bb | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | SUMMARY = "Protocol Buffers - structured data serialisation mechanism" | ||
| 2 | DESCRIPTION = "This is protobuf-c, a C implementation of the Google Protocol Buffers data \ | ||
| 3 | serialization format. It includes libprotobuf-c, a pure C library that \ | ||
| 4 | implements protobuf encoding and decoding, and protoc-c, a code generator that \ | ||
| 5 | converts Protocol Buffer .proto files to C descriptor code, based on the \ | ||
| 6 | original protoc. protobuf-c formerly included an RPC implementation; that code \ | ||
| 7 | has been split out into the protobuf-c-rpc project." | ||
| 8 | HOMEPAGE = "https://github.com/protobuf-c/protobuf-c" | ||
| 9 | SECTION = "console/tools" | ||
| 10 | LICENSE = "BSD-2-Clause" | ||
| 11 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d11077c6a2b5d2e64b9f32b61a9b78ba" | ||
| 12 | |||
| 13 | DEPENDS = "protobuf-native protobuf" | ||
| 14 | |||
| 15 | SRC_URI = "git://github.com/protobuf-c/protobuf-c.git;branch=next;protocol=https" | ||
| 16 | SRC_URI:append:class-native = " file://0001-Makefile.am-do-not-compile-the-code-which-was-genera.patch" | ||
| 17 | |||
| 18 | SRCREV = "8c201f6e47a53feaab773922a743091eb6c8972a" | ||
| 19 | |||
| 20 | S = "${WORKDIR}/git" | ||
| 21 | |||
| 22 | inherit autotools pkgconfig | ||
| 23 | |||
| 24 | export PROTOC = "${STAGING_BINDIR_NATIVE}/protoc" | ||
| 25 | |||
| 26 | # After several fix attempts there is still a race between generating | ||
| 27 | # t.test-full.pb.h and compiling cxx_generate_packed_data.c despite | ||
| 28 | # BUILT_SOURCES and explicit dependencies. | ||
| 29 | PARALLEL_MAKE = "" | ||
| 30 | |||
| 31 | PACKAGE_BEFORE_PN = "${PN}-compiler" | ||
| 32 | |||
| 33 | FILES:${PN}-compiler = "${bindir}" | ||
| 34 | |||
| 35 | RDEPENDS:${PN}-compiler = "protobuf-compiler" | ||
| 36 | RDEPENDS:${PN}-dev += "${PN}-compiler" | ||
| 37 | |||
| 38 | BBCLASSEXTEND = "native nativesdk" | ||
