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/acpi-power-state-daemon/acpi-power-state-daemon_git.bb b/meta-google/recipes-google/acpi-power-state-daemon/acpi-power-state-daemon_git.bb
index 4e27309..0755d4e 100644
--- a/meta-google/recipes-google/acpi-power-state-daemon/acpi-power-state-daemon_git.bb
+++ b/meta-google/recipes-google/acpi-power-state-daemon/acpi-power-state-daemon_git.bb
@@ -1,28 +1,19 @@
SUMMARY = "ACPI Power/Sleep state daemon to allow host state events"
DESCRIPTION = "ACPI Power/Sleep state daemon to allow host state events"
-HOMEPAGE = "http://github.com/openbmc/google-misc"
-PR = "r1"
-PV = "1.0+git${SRCPV}"
+GOOGLE_MISC_PROJ = "acpi-power-state-daemon"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://../LICENSE;md5=34400b68072d710fecd0a2940a0d1658"
+require ../google-misc/google-misc.inc
-SRC_URI += "git://github.com/openbmc/google-misc"
-SRCREV = "1285115c16180bd28a3cfe79d9db8d10c84fe2ed"
-S = "${WORKDIR}/git/acpi-power-state-daemon"
-
-inherit meson
-inherit pkgconfig
-inherit systemd
+inherit pkgconfig systemd
DEPENDS += " \
- phosphor-dbus-interfaces \
- sdbusplus \
- systemd \
- "
+ phosphor-dbus-interfaces \
+ sdbusplus \
+ systemd \
+ "
SYSTEMD_SERVICE_${PN} = " \
- acpi-power-state.service \
- host-s0-state.target \
- host-s5-state.target \
- "
+ acpi-power-state.service \
+ host-s0-state.target \
+ host-s5-state.target \
+ "