commit f6ba24959a44bb4a999305dd8dbef1e85e040826
parent 8182f672ba97ad1e47d1a2e514c3fb28c7dfbe14
Author: Dan Callaghan <djc@djc.id.au>
Date: Thu, 4 Nov 2010 20:35:54 +1000
added sensors-applet
Diffstat:
2 files changed, 45 insertions(+), 0 deletions(-)
diff --git a/metadata/categories.conf b/metadata/categories.conf
@@ -1,5 +1,6 @@
dev-python
gnome-desktop
+gnome-extra
gnome-platform
mail-client
sys-auth
diff --git a/packages/gnome-extra/sensors-applet/sensors-applet-2.2.7.exheres-0 b/packages/gnome-extra/sensors-applet/sensors-applet-2.2.7.exheres-0
@@ -0,0 +1,44 @@
+# Copyright 2010 Dan Callaghan <djc@djc.id.au>
+# Distributed under the terms of the GNU General Public License v2
+
+require gnome-2 sourceforge [ suffix=tar.gz ]
+
+SUMMARY="GNOME panel applet for hardware sensors"
+DESCRIPTION="
+Provides a GNOME panel applet which can display hardware sensor data (e.g. temperatures, fan speeds)
+from various sources.
+"
+
+LICENCES="GPL-2"
+SLOT="0"
+PLATFORMS="~amd64 ~x86"
+MYOPTIONS="
+ libnotify
+ udisks
+ sensors
+ nvidia [[ description = [ Use libXNVCtrl to support temperature sensors on nvidia GPUs ] ]]
+ "
+
+DEPENDENCIES="
+ build:
+ build+run:
+ gnome-desktop/gnome-panel
+ gnome-platform/libgnomeui:2
+ libnotify? ( x11-libs/libnotify )
+ udisks? ( sys-apps/dbus sys-apps/udisks )
+ sensors? ( sys-apps/lm_sensors )
+ nvidia? ( x11-libs/libXNVCtrl )
+"
+
+BUGS_TO="djc@djc.id.au"
+
+src_configure() {
+ econf \
+ --hates=disable-silent-rules \
+ --disable-scrollkeeper \
+ $(option_enable libnotify) \
+ $(option_enable udisks) \
+ $(option_with sensors libsensors) \
+ $(option_with nvidia)
+}
+