meta-google: google-misc: Split into include

We don't want to generate bump commits for each project in the repo.
Instead, provide an include that has common parameters used by all
google-misc projects.

Change-Id: Ice589c03aa0d38ca5043ee2081f3757568c4e4bb
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/meta-google/recipes-google/ipmi/metrics-ipmi-blobs_git.bb b/meta-google/recipes-google/ipmi/metrics-ipmi-blobs_git.bb
index 3eefb9d..4518f49 100644
--- a/meta-google/recipes-google/ipmi/metrics-ipmi-blobs_git.bb
+++ b/meta-google/recipes-google/ipmi/metrics-ipmi-blobs_git.bb
@@ -1,28 +1,27 @@
-HOMEPAGE = "http://github.com/openbmc/google-misc"
 SUMMARY = "gBMC Health Metrics Blob"
 DESCRIPTION = "BMC health metrics IPMI blob handler."
-PR = "r1"
-PV = "0.1+git${SRCPV}"
-LICENSE = "Apache-2.0"
+GOOGLE_MISC_PROJ = "metrics-ipmi-blobs"
 
-inherit meson pkgconfig
+require ../google-misc/google-misc.inc
 
-DEPENDS += "phosphor-ipmi-blobs"
-DEPENDS += "phosphor-logging"
-DEPENDS += "protobuf-native"
-DEPENDS += "protobuf"
+inherit pkgconfig
 
-SRC_URI = "git://github.com/openbmc/google-misc"
-SRCREV = "b056df698ca4405b7adfa5bbf931f4b8a9431e55"
-S = "${WORKDIR}/git/metrics-ipmi-blobs"
+DEPENDS += " \
+  phosphor-ipmi-blobs \
+  phosphor-logging \
+  protobuf-native \
+  protobuf \
+  "
 
-FILES_${PN} += "${libdir}/ipmid-providers/libmetricsblob.so*"
-FILES_${PN} += "${libdir}/blob-ipmid/libmetricsblob.so*"
-INSANE_SKIP_${PN} += "dev-so"
-
+FILES_${PN} += " \
+  ${libdir}/ipmid-providers/libmetricsblob.so* \
+  ${libdir}/blob-ipmid/libmetricsblob.so* \
+  "
 BLOBIPMI_PROVIDER_LIBRARY += "libmetricsblob.so"
 
+INSANE_SKIP_${PN} += "dev-so"
+
 do_install_append() {
-    install -d ${D}/${libdir}/blob-ipmid
-    ln -s ../ipmid-providers/libmetricsblob.so ${D}/${libdir}/blob-ipmid/libmetricsblob.so.0
+  install -d ${D}/${libdir}/blob-ipmid
+  ln -s ../ipmid-providers/libmetricsblob.so ${D}/${libdir}/blob-ipmid/libmetricsblob.so.0
 }