1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="A panel plug-in for acpi, lm-sensors and hddtemp sensors"
9 HOMEPAGE="https://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
10 SRC_URI="https://archive.xfce.org/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2"
14 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
15 IUSE="+acpi hddtemp libnotify lm-sensors video_cards_nvidia"
17 REQUIRED_USE="|| ( hddtemp lm-sensors acpi )"
19 RDEPEND=">=x11-libs/gtk+-3.20:3=
20 >=xfce-base/libxfce4ui-4.12:=[gtk3(+)]
21 >=xfce-base/xfce4-panel-4.12:=
25 net-analyzer/openbsd-netcat
29 libnotify? ( >=x11-libs/libnotify-0.7:= )
30 lm-sensors? ( >=sys-apps/lm-sensors-3.1.0:= )
31 video_cards_nvidia? ( x11-drivers/nvidia-drivers[tools,static-libs] )"
37 DOCS=( AUTHORS ChangeLog NEWS NOTES README TODO )
41 --libexecdir="${EPREFIX}"/usr/$(get_libdir)
42 $(use_enable lm-sensors libsensors)
44 $(use_enable hddtemp netcat)
45 $(use_enable acpi procacpi)
46 $(use_enable acpi sysfsacpi)
47 $(use_enable video_cards_nvidia xnvctrl)
48 $(use_enable libnotify notification)
56 emake DESTDIR="${D}" install
58 find "${D}" -name '*.la' -delete || die
62 gnome2_icon_cache_update
66 gnome2_icon_cache_update