summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/grpc/grpc_agldemo.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-devtools/grpc/grpc_agldemo.inc')
-rw-r--r--recipes-devtools/grpc/grpc_agldemo.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-devtools/grpc/grpc_agldemo.inc b/recipes-devtools/grpc/grpc_agldemo.inc
new file mode 100644
index 00000000..73ab083d
--- /dev/null
+++ b/recipes-devtools/grpc/grpc_agldemo.inc
@@ -0,0 +1,12 @@
+FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
+
+SRC_URI += "file://0001-cmake-add-separate-export-for-plugin-targets.patch"
+
+do_install:append() {
+ # The gRPC package version seems to get clobbered in its CMake
+ # package (seemingly with the c-ares version), but the root cause
+ # is not obvious and the issue is not present with newer versions
+ # of things in kirkstone. So for now just fix the version to
+ # avoid mismatch errors.
+ sed -i "s/^set(PACKAGE_VERSION \"1\.16\.1\")$/set(PACKAGE_VERSION \"${PV}\")/" ${D}/${libdir}/cmake/${BPN}/gRPCConfigVersion.cmake
+}