blob: d9adcfc0889ef0caeccc415c11cff56d959c22f3 [file] [log] [blame]
Vishwanatha Subbanna9cd1b332017-01-09 16:02:27 +05301SUMMARY = "Phosphor Physical LED Controller daemon"
2DESCRIPTION = "Daemon to trigger actions on a physical LED"
3HOMEPAGE = "http://github.com/openbmc/phosphor-led-sysfs"
4PR = "r1"
Patrick Venture195cf9d2018-10-02 20:54:25 -07005PV = "1.0+git${SRCPV}"
Vishwanatha Subbanna9cd1b332017-01-09 16:02:27 +05306LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
Patrick Venture195cf9d2018-10-02 20:54:25 -07008
George Liu54514762021-05-28 14:53:31 +08009inherit meson pkgconfig
Brad Bishop807fdd22017-01-26 12:36:52 -050010inherit obmc-phosphor-dbus-service
Vishwanatha Subbanna9cd1b332017-01-09 16:02:27 +053011
Vishwanatha Subbanna9cd1b332017-01-09 16:02:27 +053012DEPENDS += "sdbusplus"
Brad Bishop44f3cce2019-03-22 23:41:42 -040013DEPENDS += "systemd"
Xo Wang0d7ad402017-03-14 16:40:31 -070014DEPENDS += "phosphor-dbus-interfaces"
Andrew Geissler39b2f922019-06-25 02:12:26 +000015DEPENDS += "boost"
Vishwanatha Subbanna9cd1b332017-01-09 16:02:27 +053016
Brad Bishop807fdd22017-01-26 12:36:52 -050017DBUS_SERVICE_${PN} += "xyz.openbmc_project.led.controller@.service"
18
Vishwanatha Subbanna9cd1b332017-01-09 16:02:27 +053019SRC_URI += "git://github.com/openbmc/phosphor-led-sysfs"
Brad Bishop807fdd22017-01-26 12:36:52 -050020SRC_URI += "file://70-leds.rules"
Andrew Geisslerc43dce42021-05-28 06:50:58 +000021SRCREV = "c7d70b67fc301d43db135c59e69e6ab6f806d6c3"
Vishwanatha Subbanna9cd1b332017-01-09 16:02:27 +053022S = "${WORKDIR}/git"
Brad Bishop807fdd22017-01-26 12:36:52 -050023
24do_install_append() {
25 install -d ${D}/${base_libdir}/udev/rules.d/
Brad Bishopb09e0092019-11-14 14:37:51 -050026 install -m 0644 ${WORKDIR}/70-leds.rules ${D}/${base_libdir}/udev/rules.d/
Brad Bishop807fdd22017-01-26 12:36:52 -050027}