commit:     416d2886ba997c735c1ee96860f26496dd3a4cf0
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 26 18:17:53 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Apr 26 18:48:30 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=416d2886

xfce-extra/xfce4-sensors-plugin: Adopt to new nvdia-drivers situation

Add optional x11-drivers/nvidia-drivers[tools,static-libs] as provider of
media-video/nvidia-settings

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=580874

Package-Manager: portage-2.2.28
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 .../xfce4-sensors-plugin/xfce4-sensors-plugin-1.2.5.ebuild       | 9 +++++++--
 .../xfce4-sensors-plugin/xfce4-sensors-plugin-1.2.6.ebuild       | 9 +++++++--
 2 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.2.5.ebuild 
b/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.2.5.ebuild
index 0b7516c..cf349d5 100644
--- a/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.2.5.ebuild
+++ b/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.2.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -23,7 +23,12 @@ RDEPEND=">=x11-libs/gtk+-2.14:2
        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? ( media-video/nvidia-settings )"
+       video_cards_nvidia? (
+               || (
+                       x11-drivers/nvidia-drivers[tools,static-libs]
+                       media-video/nvidia-settings
+                       )
+               )"
 DEPEND="${RDEPEND}
        dev-util/intltool
        virtual/pkgconfig"

diff --git a/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.2.6.ebuild 
b/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.2.6.ebuild
index 7340e76..56948bf 100644
--- a/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.2.6.ebuild
+++ b/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.2.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -23,7 +23,12 @@ RDEPEND=">=x11-libs/gtk+-2.14:2=
        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? ( media-video/nvidia-settings )"
+       video_cards_nvidia? (
+               || (
+                       x11-drivers/nvidia-drivers[tools,static-libs]
+                       media-video/nvidia-settings
+                       )
+       )"
 DEPEND="${RDEPEND}
        dev-util/intltool
        virtual/pkgconfig"

Reply via email to