[packages/mate-control-center] - handle appindicator support

qboosh qboosh at pld-linux.org
Wed Jan 1 12:58:10 CET 2014


commit ffa71f56c31b0e17c0cc5272b34a435ce809f81c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Jan 1 12:58:37 2014 +0100

    - handle appindicator support

 mate-control-center.spec | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/mate-control-center.spec b/mate-control-center.spec
index be99162..b18b6c5 100644
--- a/mate-control-center.spec
+++ b/mate-control-center.spec
@@ -1,7 +1,9 @@
 # TODO
-# - appindicator-0.1 >= 0.0.7
 # - .pcf fonts compress and move to system fonts dir
 #
+# Conditional build:
+%bcond_without	appindicator	# application indicators support (in mate-typing-monitor)
+#
 Summary:	MATE Desktop control-center
 Summary(pl.UTF-8):	Centrum sterowania środowiska MATE Desktop
 Name:		mate-control-center
@@ -23,6 +25,7 @@ BuildRequires:	gettext-devel >= 0.10.40
 BuildRequires:	glib2-devel >= 1:2.26.0
 BuildRequires:	gtk+2-devel >= 2:2.20.0
 BuildRequires:	intltool >= 0.37.1
+%{?with_appindicator:BuildRequires:	libappindicator-gtk2-devel >= 0.0.7}
 BuildRequires:	libcanberra-gtk-devel
 BuildRequires:	libmatekbd-devel >= 1.1.0
 BuildRequires:	librsvg-devel >= 2.0
@@ -116,6 +119,7 @@ Pliki programistyczne biblioteki libmate-window-settings.
 %{__autoconf}
 %{__automake}
 %configure \
+	%{!?with_appindicator:--disable-appindicator} \
 	--disable-schemas-compile \
 	--disable-scrollkeeper \
 	--disable-silent-rules \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mate-control-center.git/commitdiff/ffa71f56c31b0e17c0cc5272b34a435ce809f81c



More information about the pld-cvs-commit mailing list