Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "Sensors plugin for the Xfce Panel" |
| 2 | HOMEPAGE = "http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin" |
| 3 | LICENSE = "GPLv2" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=b94789bed9aec03b9656a9cc5398c706" |
| 5 | |
| 6 | inherit xfce-panel-plugin |
| 7 | |
Andrew Geissler | 72956ed | 2021-01-08 16:11:14 -0600 | [diff] [blame] | 8 | SRC_URI[sha256sum] = "83c64ae4618dd592971cfa0bc285a9b47af801a3ed856835cdb2a4c533c7846c" |
| 9 | SRC_URI += "file://0001-Do-not-check-for-sys-class-power_supply-we-are-cross.patch" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 10 | |
| 11 | EXTRA_OECONF = " \ |
| 12 | --disable-procacpi \ |
| 13 | --disable-xnvctrl \ |
| 14 | " |
| 15 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 16 | do_configure:prepend() { |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 17 | sed -i 's:LIBSENSORS_CFLAGS=.*:LIBSENSORS_CFLAGS=-I${STAGING_INCDIR}:g' ${S}/configure.ac |
| 18 | } |
| 19 | |
| 20 | PACKAGECONFIG[libsensors] = "--enable-libsensors,--disable-libsensors, lmsensors" |
| 21 | PACKAGECONFIG[hddtemp] = "--enable-hddtemp,--disable-hddtemp, hddtemp" |
| 22 | PACKAGECONFIG[netcat] = "--enable-netcat,--disable-netcat, netcat" |
| 23 | PACKAGECONFIG[libnotify] = "--enable-notification,--disable-notification, libnotify" |
| 24 | |
| 25 | FILES_SOLIBSDEV = "${libdir}/xfce4/modules/lib*${SOLIBSDEV}" |