mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-18 05:01:58 +02:00
The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and
${datadir}/cmake end up in the dev package, so recipes no longer need to
provide custom packaging rules to handles these files.
http://git.openembedded.org/openembedded-core/commit/?id=d91dc4666683a96e9d03cbbd21b8a546f9069c93
Originally-conceived-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
35 lines
1.2 KiB
BlitzBasic
35 lines
1.2 KiB
BlitzBasic
DESCRIPTION = "A high performance, open source, general-purpose RPC framework. \
|
|
Provides gRPC libraries for multiple languages written on top of shared C core library \
|
|
(C++, Node.js, Python, Ruby, Objective-C, PHP, C#)"
|
|
HOMEPAGE = "https://github.com/grpc/grpc"
|
|
SECTION = "libs"
|
|
LICENSE = "Apache-2"
|
|
|
|
DEPENDS = "gflags c-ares protobuf protobuf-native protobuf-c protobuf-c-native openssl"
|
|
DEPENDS_append_class-target = " gtest grpc-native "
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
|
|
|
S = "${WORKDIR}/git"
|
|
SRCREV = "db68cb3652cc7697647e9934b5316d98a6ba04d1"
|
|
BRANCH = "v1.8.x"
|
|
SRC_URI = "git://github.com/grpc/grpc.git;protocol=https;branch=${BRANCH} \
|
|
file://0001-CMakeLists.txt-Fix-libraries-installation-for-Linux.patch \
|
|
file://0004-CMakeLists.txt-Find-c-ares-in-target-sysroot-alone.patch \
|
|
"
|
|
SRC_URI_append_class-target = " file://0001-CMakeLists.txt-Fix-grpc_cpp_plugin-path-during-cross.patch"
|
|
|
|
inherit cmake
|
|
|
|
EXTRA_OECMAKE = " \
|
|
-DgRPC_CARES_PROVIDER=package \
|
|
-DgRPC_ZLIB_PROVIDER=package \
|
|
-DgRPC_SSL_PROVIDER=package \
|
|
-DgRPC_PROTOBUF_PROVIDER=package \
|
|
-DgRPC_GFLAGS_PROVIDER=package \
|
|
-DgRPC_INSTALL=1 \
|
|
-DBUILD_SHARED_LIBS=ON \
|
|
"
|
|
|
|
BBCLASSEXTEND = "native"
|