packages: cairo/cairo.spec - 'without svg' bcond added

jajcus jajcus at pld-linux.org
Wed Apr 6 10:56:12 CEST 2011


Author: jajcus                       Date: Wed Apr  6 08:56:12 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- 'without svg' bcond added

---- Files affected:
packages/cairo:
   cairo.spec (1.123 -> 1.124) 

---- Diffs:

================================================================
Index: packages/cairo/cairo.spec
diff -u packages/cairo/cairo.spec:1.123 packages/cairo/cairo.spec:1.124
--- packages/cairo/cairo.spec:1.123	Tue Mar 22 21:55:44 2011
+++ packages/cairo/cairo.spec	Wed Apr  6 10:56:06 2011
@@ -2,6 +2,7 @@
 #
 # Conditional build:
 %bcond_without	apidocs		# disable gtk-doc
+%bcond_without	svg		# disable SVG support (to boostrap librsvg)
 %if "%{pld_release}" == "ac"
 %bcond_with	xcb		# XCB backend
 %else
@@ -27,7 +28,7 @@
 BuildRequires:	glib2-devel >= 1:2.0
 %{?with_apidocs:BuildRequires:	gtk-doc >= 1.6}
 BuildRequires:	libpng-devel >= 2:1.4.0
-BuildRequires:	librsvg-devel >= 2.15.0
+%{?with_svg:BuildRequires:	librsvg-devel >= 2.15.0}
 BuildRequires:	libspectre-devel >= 0.2.0
 BuildRequires:	libtool >= 1.4
 BuildRequires:	pixman-devel >= 0.18.4
@@ -192,6 +193,7 @@
 	--enable-pdf \
 	--enable-png \
 	--enable-ps \
+	%{!?with_svg:--disable-svg} \
 	--enable-tee \
 	%{?with_xcb:--enable-xcb} \
 	--with-html-dir=%{_gtkdocdir}
@@ -244,7 +246,7 @@
 %{_pkgconfigdir}/cairo-pdf.pc
 %{_pkgconfigdir}/cairo-png.pc
 %{_pkgconfigdir}/cairo-ps.pc
-%{_pkgconfigdir}/cairo-svg.pc
+%{?with_svg:%{_pkgconfigdir}/cairo-svg.pc}
 %{_pkgconfigdir}/cairo-tee.pc
 %{?with_xcb:%{_pkgconfigdir}/cairo-xcb.pc}
 %{?with_xcb:%{_pkgconfigdir}/cairo-xcb-shm.pc}
@@ -290,6 +292,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.124  2011/04/06 08:56:06  jajcus
+- 'without svg' bcond added
+
 Revision 1.123  2011/03/22 20:55:44  mmazur
 - rel 5
 - enable tee backend support (required by iceweasel4)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cairo/cairo.spec?r1=1.123&r2=1.124&f=u



More information about the pld-cvs-commit mailing list