| SUMMARY = "Phosphor GPIO monitor application" |
| DESCRIPTION = "Application to monitor gpio assertions" |
| HOMEPAGE = "http://github.com/openbmc/phosphor-gpio-monitor" |
| PR = "r1" |
| PV = "1.0+git${SRCPV}" |
| LICENSE = "Apache-2.0" |
| LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" |
| inherit autotools pkgconfig |
| inherit obmc-phosphor-dbus-service |
| |
| GPIO_PACKAGES = " \ |
| ${PN}-monitor \ |
| ${PN}-presence \ |
| " |
| |
| PACKAGE_BEFORE_PN += "${GPIO_PACKAGES}" |
| ALLOW_EMPTY_${PN} = "1" |
| SYSTEMD_PACKAGES = "${GPIO_PACKAGES}" |
| |
| RPROVIDES_${PN}-monitor += "virtual/obmc-gpio-monitor" |
| RPROVIDES_${PN}-presence += "virtual/obmc-gpio-presence" |
| |
| PROVIDES += "virtual/obmc-gpio-monitor" |
| PROVIDES += "virtual/obmc-gpio-presence" |
| |
| DEPENDS += "autoconf-archive-native" |
| DEPENDS += "sdbusplus sdbusplus-native" |
| DEPENDS += "phosphor-dbus-interfaces" |
| DEPENDS += "libevdev" |
| DEPENDS += "phosphor-logging" |
| |
| RDEPENDS_${PN}-monitor += " \ |
| libsystemd \ |
| libevdev \ |
| phosphor-logging \ |
| " |
| RDEPENDS_${PN}-presence += " \ |
| libsystemd \ |
| libevdev \ |
| phosphor-logging \ |
| sdbusplus \ |
| " |
| |
| SYSTEMD_SERVICE_${PN}-monitor += "phosphor-gpio-monitor@.service" |
| SYSTEMD_SERVICE_${PN}-presence += "phosphor-gpio-presence@.service" |
| |
| FILES_${PN}-monitor += "${sbindir}/phosphor-gpio-monitor" |
| FILES_${PN}-monitor += "${sbindir}/phosphor-gpio-util" |
| FILES_${PN}-presence += "${sbindir}/phosphor-gpio-presence" |
| |
| SRC_URI += "git://github.com/openbmc/phosphor-gpio-monitor" |
| SRCREV = "bd0904b1e92a61d98b49fa9a20765b51b2a62348" |
| S = "${WORKDIR}/git" |