]> git.pld-linux.org Git - packages/cairo.git/commitdiff
- 'without svg' bcond added
authorJacek Konieczny <jajcus@pld-linux.org>
Wed, 6 Apr 2011 08:56:06 +0000 (08:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cairo.spec -> 1.124

cairo.spec

index 27f61ef3b684e8a7e67e771875daabfe3a5270db..7b7656bc4843fcaf3b155b472ef1b2d125935820 100644 (file)
@@ -1,6 +1,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
@@ -26,7 +27,7 @@ BuildRequires:        freetype-devel >= 1:2.3.0
 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
@@ -191,6 +192,7 @@ Dokumentacja API Cairo.
        --enable-pdf \
        --enable-png \
        --enable-ps \
+       %{!?with_svg:--disable-svg} \
        --enable-tee \
        %{?with_xcb:--enable-xcb} \
        --with-html-dir=%{_gtkdocdir}
@@ -243,7 +245,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_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}
This page took 0.040762 seconds and 4 git commands to generate.