Summary(pl.UTF-8): Cairo - wieloplatformowa biblioteka graficzna 2D
Name: cairo
Version: 1.14.0
-Release: 1
+Release: 2
License: LGPL v2.1 or MPL v1.1
Group: Libraries
Source0: http://cairographics.org/releases/%{name}-%{version}.tar.xz
# Source0-md5: fc3a5edeba703f906f2241b394f0cced
Patch0: %{name}-link.patch
+Patch1: %{name}-gobject-deps.patch
URL: http://cairographics.org/
%{?with_directfb:BuildRequires: DirectFB-devel}
%if %{with gl} || %{with glesv2} || %{with openvg}
%{?with_xcb:BuildRequires: libxcb-devel >= 1.6}
BuildRequires: lzo-devel >= 2
BuildRequires: pixman-devel >= 0.30.0
-BuildRequires: pkgconfig >= 1:0.9
+BuildRequires: pkgconfig >= 1:0.18
%if %{with pdf} && %{with tests}
BuildRequires: poppler-glib-devel >= 0.17.4
%endif
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%{?with_apidocs:%{__gtkdocize}}
--enable-xml \
--with-html-dir=%{_gtkdocdir}
-%{__sed} -i 's/gobject-2.0 glib-2.0//' src/cairo.pc
-
%{__make}
%{?with_tests:%{__make} check}