blob: 68f3f64295138ba94e2a65158f893f6bddb25d17 [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001SUMMARY = "Sensors plugin for the Xfce Panel"
2HOMEPAGE = "http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
Andrew Geissler9aee5002022-03-30 16:27:02 +00003LICENSE = "GPL-2.0-only"
Andrew Geissler595f6302022-01-24 19:11:47 +00004LIC_FILES_CHKSUM = "file://COPYING;md5=b94789bed9aec03b9656a9cc5398c706"
5
6inherit xfce-panel-plugin
7
8SRC_URI[sha256sum] = "da90f12e6ae995bcd1c81be35479a7a9d32308c65ecd64e568ba8c9592d39fcb"
9SRC_URI += "file://0001-Do-not-check-for-sys-class-power_supply-we-are-cross.patch"
10
11EXTRA_OECONF = " \
12 --disable-procacpi \
13 --disable-xnvctrl \
14"
15
16do_configure:prepend() {
17 sed -i 's:LIBSENSORS_CFLAGS=.*:LIBSENSORS_CFLAGS=-I${STAGING_INCDIR}:g' ${S}/configure.ac
18}
19
20PACKAGECONFIG[libsensors] = "--enable-libsensors,--disable-libsensors, lmsensors"
21PACKAGECONFIG[hddtemp] = "--enable-hddtemp,--disable-hddtemp, hddtemp"
22PACKAGECONFIG[netcat] = "--enable-netcat,--disable-netcat, netcat"
23PACKAGECONFIG[libnotify] = "--enable-notification,--disable-notification, libnotify"
24
25FILES_SOLIBSDEV = "${libdir}/xfce4/modules/lib*${SOLIBSDEV}"