meta-google: acpi-power-state-daemon: Import from gBMC

Initial recipes-google/acpi-power-state-daemon from gBMC

Google-Bug-Id: 182214245
Upstream: 311f7935ef5633e5da9599d75a01cf561cd00306
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: Ide5a16f2a65317c2c9f753eb4fef7d5f01abe27d
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
new file mode 100644
index 0000000..bf26a8c
--- /dev/null
+++ b/meta-google/recipes-google/acpi-power-state-daemon/acpi-power-state-daemon_git.bb
@@ -0,0 +1,28 @@
+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}"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://../LICENSE;md5=34400b68072d710fecd0a2940a0d1658"
+
+SRC_URI += "git://github.com/openbmc/google-misc"
+SRCREV = "15fe169d1fbdd510bb9cfc9bb725baf0613350ff"
+S = "${WORKDIR}/git/acpi-power-state-daemon"
+
+inherit meson
+inherit pkgconfig
+inherit systemd
+
+DEPENDS += " \
+    phosphor-dbus-interfaces \
+    sdbusplus \
+    systemd \
+    "
+
+SYSTEMD_SERVICE_${PN} = " \
+    acpi-power-state.service \
+    host-s0-state.target \
+    host-s5-state.target \
+    "