Vishwanatha Subbanna | 3de8405 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 1 | SUMMARY = "Phosphor GPIO monitor application" |
| 2 | DESCRIPTION = "Application to monitor gpio assertions" |
| 3 | HOMEPAGE = "http://github.com/openbmc/phosphor-gpio-monitor" |
| 4 | PR = "r1" |
Patrick Venture | 7e32f4c | 2018-10-21 08:24:24 -0700 | [diff] [blame] | 5 | PV = "1.0+git${SRCPV}" |
Vishwanatha Subbanna | 3de8405 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 6 | LICENSE = "Apache-2.0" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" |
Brad Bishop | 28095f1 | 2019-10-29 15:12:15 -0400 | [diff] [blame] | 8 | inherit meson pkgconfig |
Vishwanatha Subbanna | 3de8405 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 9 | inherit obmc-phosphor-dbus-service |
| 10 | |
Gunnar Mills | b163e9b | 2017-07-10 15:49:43 -0500 | [diff] [blame] | 11 | GPIO_PACKAGES = " \ |
| 12 | ${PN}-monitor \ |
| 13 | ${PN}-presence \ |
| 14 | " |
| 15 | |
Brad Bishop | 2083f66 | 2018-04-11 11:42:57 -0400 | [diff] [blame] | 16 | PACKAGE_BEFORE_PN += "${GPIO_PACKAGES}" |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 17 | ALLOW_EMPTY:${PN} = "1" |
Gunnar Mills | b163e9b | 2017-07-10 15:49:43 -0500 | [diff] [blame] | 18 | SYSTEMD_PACKAGES = "${GPIO_PACKAGES}" |
| 19 | |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 20 | RPROVIDES:${PN}-monitor += "virtual/obmc-gpio-monitor" |
| 21 | RPROVIDES:${PN}-presence += "virtual/obmc-gpio-presence" |
Gunnar Mills | b163e9b | 2017-07-10 15:49:43 -0500 | [diff] [blame] | 22 | |
Vishwanatha Subbanna | 3de8405 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 23 | PROVIDES += "virtual/obmc-gpio-monitor" |
Gunnar Mills | b163e9b | 2017-07-10 15:49:43 -0500 | [diff] [blame] | 24 | PROVIDES += "virtual/obmc-gpio-presence" |
Vishwanatha Subbanna | 3de8405 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 25 | |
Patrick Williams | 4b32c9a | 2020-03-31 16:43:15 -0500 | [diff] [blame] | 26 | DEPENDS += "sdbusplus" |
Vishwanatha Subbanna | 3de8405 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 27 | DEPENDS += "phosphor-dbus-interfaces" |
Patrick Williams | 158f5f5 | 2017-06-08 08:48:06 -0500 | [diff] [blame] | 28 | DEPENDS += "libevdev" |
Vishwanatha Subbanna | 3de8405 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 29 | DEPENDS += "phosphor-logging" |
Brad Bishop | 44f3cce | 2019-03-22 23:41:42 -0400 | [diff] [blame] | 30 | DEPENDS += "systemd" |
Vijay Khemka | 6890d30 | 2019-10-18 18:21:27 -0700 | [diff] [blame] | 31 | DEPENDS += "boost" |
| 32 | DEPENDS += "libgpiod" |
| 33 | DEPENDS += "cli11" |
| 34 | DEPENDS += "nlohmann-json" |
Gunnar Mills | b163e9b | 2017-07-10 15:49:43 -0500 | [diff] [blame] | 35 | |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 36 | SYSTEMD_SERVICE:${PN}-monitor += "phosphor-multi-gpio-monitor.service" |
| 37 | SYSTEMD_SERVICE:${PN}-monitor += "phosphor-gpio-monitor@.service" |
| 38 | SYSTEMD_SERVICE:${PN}-presence += "phosphor-gpio-presence@.service" |
Gunnar Mills | b163e9b | 2017-07-10 15:49:43 -0500 | [diff] [blame] | 39 | |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 40 | FILES:${PN}-monitor += "${bindir}/phosphor-gpio-monitor" |
| 41 | FILES:${PN}-monitor += "${bindir}/phosphor-multi-gpio-monitor" |
| 42 | FILES:${PN}-monitor += "${bindir}/phosphor-gpio-util" |
Anton Blanchard | 782d719 | 2021-08-16 23:51:27 -0600 | [diff] [blame] | 43 | FILES:${PN}-monitor += "${nonarch_base_libdir}/udev/rules.d/99-gpio-keys.rules" |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 44 | FILES:${PN}-presence += "${bindir}/phosphor-gpio-presence" |
Vishwanatha Subbanna | 3de8405 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 45 | |
Patrick Williams | bb99d22 | 2022-01-24 15:55:09 -0600 | [diff] [blame] | 46 | SRC_URI += "git://github.com/openbmc/phosphor-gpio-monitor;branch=master;protocol=https" |
Andrew Geissler | 9a38f14 | 2021-10-26 13:21:15 +0000 | [diff] [blame] | 47 | SRCREV = "c4b6ce728089737ad85ab5cfa7f34e2a912f091b" |
Vishwanatha Subbanna | 3de8405 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 48 | S = "${WORKDIR}/git" |
William A. Kennington III | 626c2cf | 2021-06-04 18:08:38 -0700 | [diff] [blame] | 49 | |
Patrick Williams | ed104d4 | 2021-08-31 13:19:27 -0500 | [diff] [blame] | 50 | EXTRA_OEMESON:append = " -Dtests=disabled" |