packages: ghostscript/ghostscript.spec - 'without cairo' bcond

jajcus jajcus at pld-linux.org
Wed Apr 6 11:25:49 CEST 2011


Author: jajcus                       Date: Wed Apr  6 09:25:49 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- 'without cairo' bcond

---- Files affected:
packages/ghostscript:
   ghostscript.spec (1.199 -> 1.200) 

---- Diffs:

================================================================
Index: packages/ghostscript/ghostscript.spec
diff -u packages/ghostscript/ghostscript.spec:1.199 packages/ghostscript/ghostscript.spec:1.200
--- packages/ghostscript/ghostscript.spec:1.199	Sat Sep 18 07:27:42 2010
+++ packages/ghostscript/ghostscript.spec	Wed Apr  6 11:25:44 2011
@@ -5,6 +5,7 @@
 #   http://dl.sourceforge.net/djvu/gsdjvu-1.3.tar.gz (or newer)
 #
 # Conditional build:
+%bcond_without	cairo		# disable cairo support (for cairo bootstrap)
 %bcond_without	system_jbig2dec	# build with included jbig2dec
 %bcond_with	svga		# svgalib display support (vgalib,lvga256 devices) [broken in sources]
 %bcond_without	gtk		# gsx (GTK+ based frontend)
@@ -36,7 +37,7 @@
 URL:		http://www.ghostscript.com/
 BuildRequires:	autoconf >= 2.57
 BuildRequires:	automake >= 1.6
-BuildRequires:	cairo-devel >= 1.2.0
+%{?with_cairo:BuildRequires:	cairo-devel >= 1.2.0}
 BuildRequires:	cups-devel
 BuildRequires:	docbook-style-dsssl
 BuildRequires:	fontconfig-devel
@@ -209,6 +210,7 @@
 %{__autoconf}
 %configure \
 	CFLAGS="%{rpmcflags} -DA4" \
+	%{!?with_cairo:--disable-cairo} \
 	--enable-dynamic \
 	--with-drivers=ALL%{?with_svga:,vgalib,lvga256} \
 	--with-fontpath="%{_datadir}/fonts:%{_datadir}/fonts/Type1" \
@@ -406,6 +408,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.200  2011/04/06 09:25:44  jajcus
+- 'without cairo' bcond
+
 Revision 1.199  2010/09/18 05:27:42  qboosh
 - release 3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ghostscript/ghostscript.spec?r1=1.199&r2=1.200&f=u



More information about the pld-cvs-commit mailing list