diff options
| author | Wang Mingyu <wangmy@cn.fujitsu.com> | 2020-03-03 03:51:58 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-03-02 22:46:06 -0800 |
| commit | 80b4a81b9443a27acc579193279ec5dde52870b5 (patch) | |
| tree | 5ac9b71ef6c7c64c94ea8c66f5f9792b09a6256c /meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.3.bb | |
| parent | 6b17a48152a41357ce4389c98fb2e6847f8dfadb (diff) | |
| download | meta-openembedded-80b4a81b9443a27acc579193279ec5dde52870b5.tar.gz | |
protobuf-c: upgrade 1.3.2 -> 1.3.3
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.3.bb')
| -rw-r--r-- | meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.3.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.3.bb b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.3.bb new file mode 100644 index 0000000000..94c3893574 --- /dev/null +++ b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.3.bb | |||
| @@ -0,0 +1,36 @@ | |||
| 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=cb901168715f4782a2b06c3ddaefa558" | ||
| 12 | |||
| 13 | DEPENDS = "protobuf-native protobuf" | ||
| 14 | |||
| 15 | SRCREV = "f20a3fa131c275a0e795d99a28f94b4dbbb5af26" | ||
| 16 | |||
| 17 | SRC_URI = "git://github.com/protobuf-c/protobuf-c.git \ | ||
| 18 | file://0001-avoid-race-condition.patch \ | ||
| 19 | " | ||
| 20 | |||
| 21 | S = "${WORKDIR}/git" | ||
| 22 | |||
| 23 | #make sure c++11 is used | ||
| 24 | CXXFLAGS += "-std=c++11" | ||
| 25 | BUILD_CXXFLAGS += "-std=c++11" | ||
| 26 | |||
| 27 | inherit autotools pkgconfig | ||
| 28 | |||
| 29 | PACKAGE_BEFORE_PN = "${PN}-compiler" | ||
| 30 | |||
| 31 | FILES_${PN}-compiler = "${bindir}" | ||
| 32 | |||
| 33 | RDEPENDS_${PN}-compiler = "protobuf-compiler" | ||
| 34 | RDEPENDS_${PN}-dev += "${PN}-compiler" | ||
| 35 | |||
| 36 | BBCLASSEXTEND = "native nativesdk" | ||
