]> git.pld-linux.org Git - packages/cairo.git/blobdiff - cairo.spec
- updated for 1.4.8
[packages/cairo.git] / cairo.spec
index c84e18c3b97c676ed81f3d8409b00be9042ae2af..ea63699bf3415364fb8f9dea82ff8a91efa7d3b8 100644 (file)
@@ -2,19 +2,19 @@
 # Conditional build:
 %bcond_without apidocs         # disable gtk-doc
 %bcond_with    glitz           # build with glitz backend
-%bcond_with    xcb             # enable XCB backend
+%bcond_without xcb             # XCB backend
 %bcond_with    tests           # perform tests (can fail due to out of memory)
 %bcond_without lcd             # use own LCD filtering instead of freetype's
 #
 Summary:       Cairo - multi-platform 2D graphics library
 Summary(pl.UTF-8):     Cairo - wieloplatformowa biblioteka graficzna 2D
 Name:          cairo
-Version:       1.2.6
-Release:       3
+Version:       1.4.6
+Release:       1
 License:       LGPL v2.1 or MPL v1.1
 Group:         Libraries
 Source0:       http://cairographics.org/releases/%{name}-%{version}.tar.gz
-# Source0-md5: 487b3d7515752fe57f780d0fd707b01a
+# Source0-md5: ae16e73f9dca46ac93b4ce435e93773c
 Patch0:                %{name}-link.patch
 Patch1:                http://david.freetype.org/lcd/cairo-1.2.4-lcd-filter-1.patch
 URL:           http://cairographics.org/
@@ -28,7 +28,10 @@ BuildRequires:       fontconfig-devel
 BuildRequires: libpng-devel
 BuildRequires: libtool
 BuildRequires: pkgconfig
-%{?with_xcb:BuildRequires:     libxcb-devel}
+%if %{with xcb}
+BuildRequires: libxcb-devel >= 0.9.92
+BuildRequires: xcb-util-devel >= 0.2
+%endif
 BuildRequires: xorg-lib-libXrender-devel >= 0.6
 BuildRequires: zlib-devel
 %{!?with_lcd:Requires: freetype >= 1:2.1.10}
@@ -73,7 +76,8 @@ Requires:     fontconfig-devel
 Requires:      freetype-devel >= 1:2.1.10
 %{?with_glitz:Requires:        glitz-devel >= 0.5.1}
 Requires:      libpng-devel
-%{?with_xcb:Requires:  libxcb-devel}
+%{?with_xcb:Requires:  libxcb-devel >= 0.9.92}
+%{?with_xcb:Requires:  xcb-util-devel >= 0.2}
 Requires:      xorg-lib-libXrender-devel >= 0.6
 
 %description devel
This page took 0.048458 seconds and 4 git commands to generate.