xfce-extra/xfce4-sensors-plugin: Adopt to new nvdia-drivers situation
authorJustin Lecher <jlec@gentoo.org>
Tue, 26 Apr 2016 18:17:53 +0000 (20:17 +0200)
committerJustin Lecher <jlec@gentoo.org>
Tue, 26 Apr 2016 18:48:30 +0000 (20:48 +0200)
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@gentoo.org>
xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.2.5.ebuild
xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.2.6.ebuild

index 0b7516c240c1905b73cfee584aaf41d19485ef7a..cf349d5e7103bb6a48019fef1b6915b7e806afe2 100644 (file)
@@ -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"
index 7340e761247f51cd960591c8166ee6805528724b..56948bf0d8191b8affc9c3de03118c17e3950c4a 100644 (file)
@@ -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"