packages: cairo/cairo.spec - added gl bcond (OpenGL support in Cairo)

blekot blekot at pld-linux.org
Tue Nov 15 16:58:08 CET 2011


Author: blekot                       Date: Tue Nov 15 15:58:08 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added gl bcond (OpenGL support in Cairo) 

---- Files affected:
packages/cairo:
   cairo.spec (1.130 -> 1.131) 

---- Diffs:

================================================================
Index: packages/cairo/cairo.spec
diff -u packages/cairo/cairo.spec:1.130 packages/cairo/cairo.spec:1.131
--- packages/cairo/cairo.spec:1.130	Mon Oct 24 13:06:24 2011
+++ packages/cairo/cairo.spec	Tue Nov 15 16:58:03 2011
@@ -3,6 +3,7 @@
 # Conditional build:
 %bcond_without	apidocs		# disable gtk-doc
 %bcond_without	svg		# disable SVG support (to boostrap librsvg)
+%bcond_with	gl		# enable OpenGL support
 %if "%{pld_release}" == "ac"
 %bcond_with	xcb		# XCB backend
 %else
@@ -191,6 +192,7 @@
 %configure \
 	--disable-silent-rules \
 	--enable-ft \
+	%{?with_gl:--enable-gl=yes}\
 	%{?with_apidocs:--enable-gtk-doc} \
 	--enable-pdf \
 	--enable-png \
@@ -243,6 +245,8 @@
 %{_includedir}/cairo
 %exclude %{_includedir}/cairo/cairo-gobject.h
 %{_pkgconfigdir}/cairo.pc
+%{?with_gl:%{_pkgconfigdir}/cairo-gl.pc}
+%{?with_gl:%{_pkgconfigdir}/cairo-glx.pc}
 %{_pkgconfigdir}/cairo-fc.pc
 %{_pkgconfigdir}/cairo-ft.pc
 %{_pkgconfigdir}/cairo-pdf.pc
@@ -294,6 +298,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.131  2011/11/15 15:58:03  blekot
+- added gl bcond (OpenGL support in Cairo)
+
 Revision 1.130  2011/10/24 11:06:24  cieciwa
 - s/enabled-freetype/enabled-ft/
 - added binutils-{devel,libs} to use bfd.
================================================================

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



More information about the pld-cvs-commit mailing list