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" |
Vishwanatha Subbanna | 3de8405 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 4 | LICENSE = "Apache-2.0" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" |
Patrick Williams | 4b32c9a | 2020-03-31 16:43:15 -0500 | [diff] [blame] | 6 | DEPENDS += "sdbusplus" |
Vishwanatha Subbanna | 3de8405 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 7 | DEPENDS += "phosphor-dbus-interfaces" |
Patrick Williams | 158f5f5 | 2017-06-08 08:48:06 -0500 | [diff] [blame] | 8 | DEPENDS += "libevdev" |
Vishwanatha Subbanna | 3de8405 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 9 | DEPENDS += "phosphor-logging" |
Brad Bishop | 44f3cce | 2019-03-22 23:41:42 -0400 | [diff] [blame] | 10 | DEPENDS += "systemd" |
Vijay Khemka | 6890d30 | 2019-10-18 18:21:27 -0700 | [diff] [blame] | 11 | DEPENDS += "boost" |
| 12 | DEPENDS += "libgpiod" |
| 13 | DEPENDS += "cli11" |
| 14 | DEPENDS += "nlohmann-json" |
Andrew Geissler | 63ff114 | 2023-10-19 02:10:47 -0500 | [diff] [blame] | 15 | SRCREV = "46a9a5b926b294b280a186c796bd452230f2afef" |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 16 | PV = "1.0+git${SRCPV}" |
| 17 | PR = "r1" |
Gunnar Mills | b163e9b | 2017-07-10 15:49:43 -0500 | [diff] [blame] | 18 | |
Patrick Williams | bccaff3 | 2023-04-14 11:24:47 -0500 | [diff] [blame] | 19 | SRC_URI = "git://github.com/openbmc/phosphor-gpio-monitor;branch=master;protocol=https" |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 20 | |
| 21 | SYSTEMD_PACKAGES = "${GPIO_PACKAGES}" |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 22 | SYSTEMD_SERVICE:${PN}-monitor += "phosphor-multi-gpio-monitor.service" |
| 23 | SYSTEMD_SERVICE:${PN}-monitor += "phosphor-gpio-monitor@.service" |
| 24 | SYSTEMD_SERVICE:${PN}-presence += "phosphor-gpio-presence@.service" |
Patrick Rudolph | be5c650 | 2023-10-19 09:21:57 +0200 | [diff] [blame^] | 25 | SYSTEMD_SERVICE:${PN}-presence += "phosphor-multi-gpio-presence.service" |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 26 | S = "${WORKDIR}/git" |
| 27 | |
| 28 | inherit meson pkgconfig |
| 29 | inherit obmc-phosphor-dbus-service |
| 30 | |
| 31 | EXTRA_OEMESON:append = " -Dtests=disabled" |
| 32 | |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 33 | FILES:${PN}-monitor += "${bindir}/phosphor-gpio-monitor" |
| 34 | FILES:${PN}-monitor += "${bindir}/phosphor-multi-gpio-monitor" |
| 35 | FILES:${PN}-monitor += "${bindir}/phosphor-gpio-util" |
Anton Blanchard | 782d719 | 2021-08-16 23:51:27 -0600 | [diff] [blame] | 36 | 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] | 37 | FILES:${PN}-presence += "${bindir}/phosphor-gpio-presence" |
Patrick Rudolph | be5c650 | 2023-10-19 09:21:57 +0200 | [diff] [blame^] | 38 | FILES:${PN}-presence += "${bindir}/phosphor-multi-gpio-presence" |
Vishwanatha Subbanna | 3de8405 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 39 | |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 40 | ALLOW_EMPTY:${PN} = "1" |
William A. Kennington III | 626c2cf | 2021-06-04 18:08:38 -0700 | [diff] [blame] | 41 | |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 42 | GPIO_PACKAGES = " \ |
| 43 | ${PN}-monitor \ |
| 44 | ${PN}-presence \ |
| 45 | " |
| 46 | PACKAGE_BEFORE_PN += "${GPIO_PACKAGES}" |