Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -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 | |
| 8 | SRC_URI[md5sum] = "33c2e343c1224d9c4ae757a70cbe08eb" |
| 9 | SRC_URI[sha256sum] = "235ef842bd45e701bceebb21a384ab09f21afceea8ed95f91bb4c6cf3abe1bc0" |
| 10 | |
| 11 | EXTRA_OECONF = " \ |
| 12 | --disable-procacpi \ |
| 13 | --disable-sysfsacpi \ |
| 14 | --disable-xnvctrl \ |
| 15 | " |
| 16 | |
| 17 | do_configure_prepend() { |
| 18 | sed -i 's:LIBSENSORS_CFLAGS=.*:LIBSENSORS_CFLAGS=-I${STAGING_INCDIR}:g' ${S}/configure.ac |
| 19 | } |
| 20 | |
| 21 | PACKAGECONFIG ??= "libsensors" |
| 22 | PACKAGECONFIG[libsensors] = "--enable-libsensors,--disable-libsensors, lmsensors" |
| 23 | PACKAGECONFIG[hddtemp] = "--enable-hddtemp,--disable-hddtemp, hddtemp" |
| 24 | PACKAGECONFIG[netcat] = "--enable-netcat,--disable-netcat, netcat" |
| 25 | PACKAGECONFIG[libnotify] = "--enable-notification,--disable-notification, libnotify" |
| 26 | |
| 27 | FILES_SOLIBSDEV = "${libdir}/xfce4/modules/lib*${SOLIBSDEV}" |