]> git.pld-linux.org Git - packages/cairo.git/commitdiff
- added gl bcond (OpenGL support in Cairo)
authorblekot <blekot@pld-linux.org>
Tue, 15 Nov 2011 15:58:03 +0000 (15:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cairo.spec -> 1.131

cairo.spec

index e94aa1628c793bbbafe1b57e0ba75719ffe0ac91..7be4721eced14506b26e03554c4d67a8aba7d235 100644 (file)
@@ -2,6 +2,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
@@ -190,6 +191,7 @@ Dokumentacja API Cairo.
 %configure \
        --disable-silent-rules \
        --enable-ft \
+       %{?with_gl:--enable-gl=yes}\
        %{?with_apidocs:--enable-gtk-doc} \
        --enable-pdf \
        --enable-png \
@@ -242,6 +244,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_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
This page took 0.060878 seconds and 4 git commands to generate.