[packages/mate-applet-sensors] - build nvidia plugin by default

qboosh qboosh at pld-linux.org
Sat Jan 4 10:36:50 CET 2014


commit 79a714245599139fb7b9d6f377682ccc18342087
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jan 4 10:37:21 2014 +0100

    - build nvidia plugin by default

 mate-applet-sensors.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/mate-applet-sensors.spec b/mate-applet-sensors.spec
index 4ec5249..4cc99b2 100644
--- a/mate-applet-sensors.spec
+++ b/mate-applet-sensors.spec
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-%bcond_with	nvidia	# NVidia sensors (BR: libXNVCtrl-devel)
+%bcond_without	nvidia	# NVidia sensors
 #
 Summary:	MATE Sensors Applet
 Summary(pl.UTF-8):	MATE Sensors Applet - aplet z czujnikami dla środowiska MATE
@@ -21,6 +21,7 @@ BuildRequires:	gettext-devel >= 0.10.40
 BuildRequires:	glib2-devel >= 1:2.26.0
 BuildRequires:	gtk+2-devel >= 2:2.14.0
 BuildRequires:	intltool >= 0.35.0
+%{?with_nvidia:BuildRequires:	libXNVCtrl-devel}
 BuildRequires:	libatasmart-devel >= 0.16
 BuildRequires:	libnotify-devel >= 0.7.0
 BuildRequires:	libtool >= 1:1.4.3
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mate-applet-sensors.git/commitdiff/79a714245599139fb7b9d6f377682ccc18342087



More information about the pld-cvs-commit mailing list