%bcond_with cogl # Cogl surface backend [incompatible with cogl 1.12.x]
%bcond_with directfb # DirectFB surface backend
%bcond_with drm # DRM surface backend
-%bcond_without gl # OpenGL surface backend
+%bcond_with gl # OpenGL surface backend, http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2015-May/024387.html
%bcond_with glesv2 # OpenGLESv2 surface backend (mutually exclusive with gl)
%bcond_with openvg # OpenVG surface backend
%bcond_without pdf # PDF surface backend
Summary: Cairo - multi-platform 2D graphics library
Summary(pl.UTF-8): Cairo - wieloplatformowa biblioteka graficzna 2D
Name: cairo
-Version: 1.14.4
-Release: 1
+Version: 1.14.8
+Release: 2
License: LGPL v2.1 or MPL v1.1
Group: Libraries
-Source0: http://cairographics.org/releases/%{name}-%{version}.tar.xz
-# Source0-md5: 90a929e8fe66fb5d19b5adaaea1e9a12
+Source0: https://www.cairographics.org/releases/%{name}-%{version}.tar.xz
+# Source0-md5: 4ef0db2eacb271c74f8a3fd87822aa98
Patch0: %{name}-link.patch
Patch1: %{name}-gobject-deps.patch
-URL: http://cairographics.org/
+URL: https://www.cairographics.org/
%{?with_directfb:BuildRequires: DirectFB-devel}
%if %{with gl} || %{with glesv2} || %{with openvg}
BuildRequires: EGL-devel >= 1.1
%{__automake}
%configure \
--disable-silent-rules \
- %{?with_cogl:--enable-cogl} \
- %{?with_directfb:--enable-directfb} \
+ %{__enable_disable cogl} \
+ %{__enable_disable directfb} \
+ %{__enable_disable gl} \
+ %{__enable_disable glesv2} \
+ %{__enable_disable apidocs gtk-doc} \
+ %{__enable_disable pdf} \
+ %{__enable_disable ps} \
+ %{__enable_disable qt} \
+ %{__enable_disable svg} \
+ %{__enable_disable openvg vg} \
+ %{__enable_disable xcb} \
--enable-ft \
- %{?with_gl:--enable-gl} \
- %{?with_glesv2:--enable-glesv2} \
- %{?with_apidocs:--enable-gtk-doc} \
- %{?with_pdf:--enable-pdf} \
--enable-png \
- %{?with_ps:--enable-ps} \
- %{?with_qt:--enable-qt} \
- %{!?with_svg:--disable-svg} \
--enable-tee \
- %{?with_openvg:--enable-vg} \
- %{?with_xcb:--enable-xcb} \
--enable-xml \
--with-html-dir=%{_gtkdocdir}