packages: gobject-introspection/gobject-introspection.spec -=?UTF-8?Q?=20?='without cairo...

jajcus jajcus at pld-linux.org
Tue Jun 19 13:14:19 CEST 2012


Author: jajcus                       Date: Tue Jun 19 11:14:19 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- 'without cairo' bcond added

---- Files affected:
packages/gobject-introspection:
   gobject-introspection.spec (1.46 -> 1.47) 

---- Diffs:

================================================================
Index: packages/gobject-introspection/gobject-introspection.spec
diff -u packages/gobject-introspection/gobject-introspection.spec:1.46 packages/gobject-introspection/gobject-introspection.spec:1.47
--- packages/gobject-introspection/gobject-introspection.spec:1.46	Tue Apr 17 21:50:38 2012
+++ packages/gobject-introspection/gobject-introspection.spec	Tue Jun 19 13:14:14 2012
@@ -1,6 +1,10 @@
 # $Revision$, $Date$
 # TODO:
 # - requires gobject-introspection-devel to build - fix it
+#
+# Conditional build:
+%bcond_without	cairo		# build without cairo
+#
 Summary:	Introspection for GObject libraries
 Summary(pl.UTF-8):	Obserwacja bibliotek GObject
 Name:		gobject-introspection
@@ -15,7 +19,7 @@
 BuildRequires:	autoconf >= 2.63
 BuildRequires:	automake >= 1:1.11
 BuildRequires:	bison
-BuildRequires:	cairo-gobject-devel
+%{?with_cairo:BuildRequires:	cairo-gobject-devel}
 BuildRequires:	flex
 BuildRequires:	glib2-devel >= 1:2.30.0
 BuildRequires:	glibc-misc
@@ -90,6 +94,7 @@
 %{__autoheader}
 %{__automake}
 %configure \
+	%{!?with_cairo:--disable-tests} \
 	--disable-silent-rules \
 	--enable-gtk-doc \
 	--with-html-dir=%{_gtkdocdir}
@@ -189,6 +194,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.47  2012/06/19 11:14:14  jajcus
+- 'without cairo' bcond added
+
 Revision 1.46  2012/04/17 19:50:38  megabajt
 - updated to 1.32.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/gobject-introspection/gobject-introspection.spec?r1=1.46&r2=1.47



More information about the pld-cvs-commit mailing list