# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 GNOME2_EAUTORECONF="yes" UVER= UREV=4 MY_PN="psensor" inherit gnome2 ubuntu-versionator DESCRIPTION="Indicator for monitoring hardware temperature used by the Unity7 user interface" HOMEPAGE="https://launchpad.net/psensor" SRC_URI="${UURL/${PN}/${MY_PN}}.orig.tar.gz ${UURL/${PN}/${MY_PN}}-${UREV}.debian.tar.xz" S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64" IUSE="hddtemp nls" COMMON_DEPEND=" >=dev-libs/json-c-0.15 >=dev-libs/glib-2.30.0:2 >=dev-libs/libayatana-appindicator-0.2.92 >=dev-libs/libatasmart-0.13 dev-libs/libunity:= >=gnome-base/libgtop-2.22.3:2= >=net-libs/libmicrohttpd-0.9.50 >=net-misc/curl-7.16.2 >=sys-apps/lm-sensors-3.5.0 >=sys-fs/udisks-2.0.0:2 >=x11-libs/cairo-1.2.4 >=x11-libs/gtk+-3.3.16:3 >=x11-libs/libnotify-0.7.0 " RDEPEND="${COMMON_DEPEND} gnome-base/dconf x11-libs/libX11 hddtemp? ( app-admin/hddtemp ) " DEPEND="${COMMON_DEPEND}" BDEPEND=" sys-apps/help2man sys-devel/gettext virtual/pkgconfig " MAKEOPTS="${MAKEOPTS} -j1" src_configure() { local myeconfargs=( $(use_enable nls) ) econf "${myeconfargs[@]}" }