Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 1 | SUMMARY = "Sensors plugin for the Xfce Panel" |
| 2 | HOMEPAGE = "http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin" |
| 3 | LICENSE = "GPL-2.0-or-later" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 5 | |
| 6 | inherit xfce-panel-plugin |
| 7 | |
| 8 | SRC_URI += "file://0001-Do-not-check-for-sys-class-power_supply-we-are-cross.patch" |
| 9 | SRC_URI[sha256sum] = "6c1605a738e5df40e084d08ac93f962cd445093396de1e9bfadc7ab4588c36b6" |
| 10 | |
| 11 | EXTRA_OECONF = " \ |
| 12 | --disable-procacpi \ |
| 13 | --disable-xnvctrl \ |
| 14 | " |
| 15 | |
| 16 | do_configure:prepend() { |
| 17 | sed -i 's:LIBSENSORS_CFLAGS=.*:LIBSENSORS_CFLAGS=-I${STAGING_INCDIR}:g' ${S}/configure.ac |
| 18 | } |
| 19 | |
| 20 | PACKAGECONFIG ??= "libnotify" |
| 21 | PACKAGECONFIG[libsensors] = "--enable-libsensors,--disable-libsensors, lmsensors" |
| 22 | PACKAGECONFIG[hddtemp] = "--enable-hddtemp,--disable-hddtemp, hddtemp" |
| 23 | PACKAGECONFIG[netcat] = "--enable-netcat,--disable-netcat, netcat" |
| 24 | PACKAGECONFIG[libnotify] = "--enable-notification,--disable-notification, libnotify" |
| 25 | |
| 26 | FILES_SOLIBSDEV = "${libdir}/xfce4/modules/lib*${SOLIBSDEV}" |