mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
1659d38199
This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. I tried backporting Richard's master change but there where many merge conflicts. I went the lazy route and ran the script. This is work based on "b402a3076 recipes: Update SRC_URI branch and protocols" Signed-off-by: Armin Kuster <akuster808@gmail.com>
38 lines
1.4 KiB
BlitzBasic
38 lines
1.4 KiB
BlitzBasic
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"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=cb901168715f4782a2b06c3ddaefa558"
|
|
|
|
DEPENDS = "protobuf-native protobuf"
|
|
|
|
SRCREV = "f20a3fa131c275a0e795d99a28f94b4dbbb5af26"
|
|
|
|
SRC_URI = "git://github.com/protobuf-c/protobuf-c.git;branch=master;protocol=https \
|
|
file://0001-avoid-race-condition.patch \
|
|
"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit autotools pkgconfig
|
|
|
|
# After several fix attempts there is still a race between generating
|
|
# t.test-full.pb.h and compiling cxx_generate_packed_data.c despite
|
|
# BUILT_SOURCES and explicit dependencies.
|
|
PARALLEL_MAKE = ""
|
|
|
|
PACKAGE_BEFORE_PN = "${PN}-compiler"
|
|
|
|
FILES:${PN}-compiler = "${bindir}"
|
|
|
|
RDEPENDS:${PN}-compiler = "protobuf-compiler"
|
|
RDEPENDS:${PN}-dev += "${PN}-compiler"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|