]> git.pld-linux.org Git - packages/cairo.git/commitdiff
- builds on AC auto/ac/cairo-1_6_4-2
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 25 Sep 2008 11:42:29 +0000 (11:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cairo.spec -> 1.86

cairo.spec

index 027885f15f95c725be5e46fffc67d9426c109536..d8e76859b4d72fd70ffd51229d852782bf026ebe 100644 (file)
@@ -1,11 +1,15 @@
 #
 # Conditional build:
 %bcond_without apidocs         # disable gtk-doc
-%bcond_with    glitz           # build with glitz backend
-%bcond_without xcb             # XCB backend
-%bcond_with    tests           # perform tests (can fail due to out of memory)
-%bcond_without lcd             # freetype LCD filtering (instead of internal)
-#
+%bcond_with            glitz           # build with glitz backend
+%if "%{pld_release}" == "ac"
+%bcond_with            xcb                     # XCB backend
+%else
+%bcond_without xcb                     # XCB backend
+%endif
+%bcond_with    tests                   # perform tests (can fail due to out of memory)
+%bcond_without lcd                     # freetype LCD filtering (instead of internal)
+
 Summary:       Cairo - multi-platform 2D graphics library
 Summary(pl.UTF-8):     Cairo - wieloplatformowa biblioteka graficzna 2D
 Name:          cairo
@@ -34,11 +38,16 @@ BuildRequires:      libtool
 BuildRequires: pixman-devel >= 0.10.0
 BuildRequires: pkgconfig
 BuildRequires: poppler-glib-devel >= 0.8.0
+BuildRequires: rpm >= 4.4.9-56
 %if %{with xcb}
 BuildRequires: libxcb-devel >= 0.9.92
 BuildRequires: xcb-util-devel >= 0.2
 %endif
+%if "%{pld_release}" == "ac"
+BuildRequires: xrender-devel >= 0.6
+%else
 BuildRequires: xorg-lib-libXrender-devel >= 0.6
+%endif
 BuildRequires: zlib-devel
 %{!?with_lcd:Requires: freetype >= 1:2.1.10}
 %{?with_lcd:Requires:  freetype >= 1:2.3.0}
@@ -85,7 +94,11 @@ Requires:    libpng-devel
 %{?with_xcb:Requires:  libxcb-devel >= 0.9.92}
 Requires:      pixman-devel >= 0.10.0
 %{?with_xcb:Requires:  xcb-util-devel >= 0.2}
+%if "%{pld_release}" == "ac"
+Requires:      xrender-devel >= 0.6
+%else
 Requires:      xorg-lib-libXrender-devel >= 0.6
+%endif
 
 %description devel
 Development files for Cairo library.
This page took 0.093287 seconds and 4 git commands to generate.