]> git.pld-linux.org Git - packages/cairo.git/blobdiff - cairo.spec
- another approach to sanitize cairo.pc dependencies (cairo-gobject patch)
[packages/cairo.git] / cairo.spec
index 5bcc204dc88d5b66ae5069e80fe43c4413622db0..c26cf22c998ac54715aa2b140d89c4aa35be6141 100644 (file)
@@ -25,12 +25,13 @@ Summary:    Cairo - multi-platform 2D graphics library
 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}
@@ -63,7 +64,7 @@ BuildRequires:        libtool >= 2:2.2
 %{?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
@@ -235,6 +236,7 @@ Dokumentacja API Cairo.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{?with_apidocs:%{__gtkdocize}}
@@ -262,8 +264,6 @@ Dokumentacja API Cairo.
        --enable-xml \
        --with-html-dir=%{_gtkdocdir}
 
-%{__sed} -i 's/gobject-2.0 glib-2.0//' src/cairo.pc
-
 %{__make}
 %{?with_tests:%{__make} check}
 
This page took 0.085647 seconds and 4 git commands to generate.