summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-02-16 22:05:00 +0100
committerMichał Górny <mgorny@gentoo.org>2017-02-16 22:06:24 +0100
commitd1d667772a72c141c779bc88e3d6c3c0ac099dba (patch)
treee72c1ce6728e1a32a1250bf265fe0abc11c6e103 /xfce-extra
parentxfce-extra/xfce4-netload-plugin: Bump to 1.3.1 (diff)
downloadgentoo-d1d667772a72c141c779bc88e3d6c3c0ac099dba.tar.gz
gentoo-d1d667772a72c141c779bc88e3d6c3c0ac099dba.tar.bz2
gentoo-d1d667772a72c141c779bc88e3d6c3c0ac099dba.zip
xfce-extra/xfce4-sensors-plugin: Bump to 1.2.97, EAPI=6
Diffstat (limited to 'xfce-extra')
-rw-r--r--xfce-extra/xfce4-sensors-plugin/Manifest1
-rw-r--r--xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.2.97.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-sensors-plugin/Manifest b/xfce-extra/xfce4-sensors-plugin/Manifest
index ce2fe39245d5..208974b360eb 100644
--- a/xfce-extra/xfce4-sensors-plugin/Manifest
+++ b/xfce-extra/xfce4-sensors-plugin/Manifest
@@ -1 +1,2 @@
DIST xfce4-sensors-plugin-1.2.6.tar.bz2 454524 SHA256 235ef842bd45e701bceebb21a384ab09f21afceea8ed95f91bb4c6cf3abe1bc0 SHA512 5c520f1c253df1bb9e29855c5ccfc1536034945ca68b43cd8b6d97083e528b2430230d9c51d43953a71c3f0171ae718bf1557714729b1343ebd51f91f3f36d60 WHIRLPOOL 60b1069b621026f37637ca93a5c8a956eb77ee234df472fef9c2f3bec56efc5f09d923e23fd7ab8ed76526a14ad414b3d82f2c2c2d7ab68118b4bafbe4add9f0
+DIST xfce4-sensors-plugin-1.2.97.tar.bz2 476012 SHA256 7524ec4534de9ef7f676de2895a41bf70b73b94da5a27fd4a022b16eda56d0f4 SHA512 4083dda80ae74fd4b2e56da0a656da5a1926e40fed7715151e428abd85ed1a6f8e57208086bf769bf2f9668e63c2923ebab31ee68deb5279b68d627e5c2e47cb WHIRLPOOL 2ed692320144ac14571fdb61ed69958c5d3d5863d3314373591a1cd90166c0260c241e18db29e23d543864ada7e84da2d2cdbf0f552b269f9c9c8e12c666046c
diff --git a/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.2.97.ebuild b/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.2.97.ebuild
new file mode 100644
index 000000000000..0d9aec310a75
--- /dev/null
+++ b/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.2.97.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="A panel plug-in for acpi, lm_sensors and hddtemp sensors"
+HOMEPAGE="http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
+SRC_URI="mirror://xfce/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="+acpi hddtemp libnotify lm_sensors video_cards_nvidia"
+
+REQUIRED_USE="|| ( hddtemp lm_sensors acpi )"
+
+RDEPEND=">=x11-libs/gtk+-3.20:3=
+ >=xfce-base/libxfce4ui-4.12:=[gtk3(+)]
+ >=xfce-base/xfce4-panel-4.12:=
+ hddtemp? ( app-admin/hddtemp net-analyzer/gnu-netcat )
+ libnotify? ( >=x11-libs/libnotify-0.7:= )
+ lm_sensors? ( >=sys-apps/lm_sensors-3.1.0:= )
+ video_cards_nvidia? (
+ || (
+ x11-drivers/nvidia-drivers[tools,static-libs]
+ media-video/nvidia-settings
+ )
+ )"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog NEWS NOTES README TODO )
+
+src_configure() {
+ local myconf=(
+ --libexecdir="${EPREFIX}"/usr/$(get_libdir)
+ $(use_enable lm_sensors libsensors)
+ $(use_enable hddtemp)
+ $(use_enable hddtemp netcat)
+ $(use_enable acpi procacpi)
+ $(use_enable acpi sysfsacpi)
+ $(use_enable video_cards_nvidia xnvctrl)
+ $(use_enable libnotify notification)
+ )
+
+ econf "${myconf[@]}"
+}