# 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.4.0
+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: b0882df4621bcf5b69f024b9475f8d4e
+# 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/
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}
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