summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2011-05-14 14:42:38 +0000
committerChristoph Mende <angelos@gentoo.org>2011-05-14 14:42:38 +0000
commit895d87f3d4da9a1284d7280b78e14a5dcd474056 (patch)
treefed909cd203cdac7e6254eae652b1a1b0d1b8dd7 /xfce-extra/xfce4-sensors-plugin
parentx86 stable per bug 363827 (diff)
downloadgentoo-2-895d87f3d4da9a1284d7280b78e14a5dcd474056.tar.gz
gentoo-2-895d87f3d4da9a1284d7280b78e14a5dcd474056.tar.bz2
gentoo-2-895d87f3d4da9a1284d7280b78e14a5dcd474056.zip
Add USE=nvidia
(Portage version: 2.2.0_alpha33/cvs/Linux x86_64)
Diffstat (limited to 'xfce-extra/xfce4-sensors-plugin')
-rw-r--r--xfce-extra/xfce4-sensors-plugin/ChangeLog6
-rw-r--r--xfce-extra/xfce4-sensors-plugin/metadata.xml3
-rw-r--r--xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.2.1.ebuild14
3 files changed, 16 insertions, 7 deletions
diff --git a/xfce-extra/xfce4-sensors-plugin/ChangeLog b/xfce-extra/xfce4-sensors-plugin/ChangeLog
index d05585f71724..9e510ac539c4 100644
--- a/xfce-extra/xfce4-sensors-plugin/ChangeLog
+++ b/xfce-extra/xfce4-sensors-plugin/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for xfce-extra/xfce4-sensors-plugin
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-sensors-plugin/ChangeLog,v 1.20 2011/05/10 07:46:13 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-sensors-plugin/ChangeLog,v 1.21 2011/05/14 14:42:38 angelos Exp $
+
+ 14 May 2011; Christoph Mende <angelos@gentoo.org>
+ xfce4-sensors-plugin-1.2.1.ebuild, metadata.xml:
+ Add USE=nvidia
10 May 2011; Christoph Mende <angelos@gentoo.org>
xfce4-sensors-plugin-1.2.1.ebuild:
diff --git a/xfce-extra/xfce4-sensors-plugin/metadata.xml b/xfce-extra/xfce4-sensors-plugin/metadata.xml
index d56729e92f8e..c90b26876fb9 100644
--- a/xfce-extra/xfce4-sensors-plugin/metadata.xml
+++ b/xfce-extra/xfce4-sensors-plugin/metadata.xml
@@ -2,4 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>xfce</herd>
+ <use>
+ <flag name="nvidia">Use nvctrl to obtain Nvidia GPU temperature value</flag>
+ </use>
</pkgmetadata>
diff --git a/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.2.1.ebuild b/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.2.1.ebuild
index a02086c2b48c..59aebec7429b 100644
--- a/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.2.1.ebuild
+++ b/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.2.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.2.1.ebuild,v 1.2 2011/05/10 07:46:13 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.2.1.ebuild,v 1.3 2011/05/14 14:42:38 angelos Exp $
EAPI=4
EAUTORECONF=yes
@@ -13,14 +13,15 @@ SRC_URI="mirror://xfce/src/panel-plugins/${PN}/1.2/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="+acpi debug hddtemp libnotify lm_sensors"
+IUSE="+acpi debug hddtemp libnotify lm_sensors nvidia"
RDEPEND=">=x11-libs/gtk+-2.10:2
>=xfce-base/libxfce4ui-4.6
>=xfce-base/xfce4-panel-4.4
+ hddtemp? ( app-admin/hddtemp net-analyzer/gnu-netcat )
libnotify? ( >=x11-libs/libnotify-0.4 )
lm_sensors? ( >=sys-apps/lm_sensors-3.1.0 )
- hddtemp? ( app-admin/hddtemp net-analyzer/gnu-netcat )"
+ nvidia? ( media-video/nvidia-settings )"
DEPEND="${RDEPEND}
dev-util/intltool
dev-util/pkgconfig"
@@ -28,12 +29,13 @@ DEPEND="${RDEPEND}
pkg_setup() {
XFCONF=(
--disable-static
- $(use_enable hddtemp)
- $(use_enable hddtemp netcat)
- $(use_enable lm_sensors libsensors)
$(use_enable acpi procacpi)
$(use_enable acpi sysfsacpi)
+ $(use_enable hddtemp netcat)
+ $(use_enable hddtemp)
$(use_enable libnotify notification)
+ $(use_enable lm_sensors libsensors)
+ $(use_enable nvidia xnvctrl)
$(xfconf_use_debug)
)