#
# Conditional build:
%bcond_without egl # EGL framebuffer backend
-%bcond_without wayland # Wayland backend
+%bcond_with mir # Mir backend (requires cogl support for Mir, which in turn conflicts with wayland)
+%bcond_without wayland # Wayland backend and compositor
%bcond_without evdev # evdev support for input events
%bcond_with tslib # TSLib support for input events (outdated?)
%{?with_evdev:BuildRequires: libinput-devel >= 0.8.0}
BuildRequires: libtool >= 2:2.2.6
BuildRequires: libxslt-progs
+%{?with_mir:BuildRequires: mir-devel}
BuildRequires: pango-devel >= 1:1.30
BuildRequires: pkgconfig >= 1:0.16
BuildRequires: python-modules
%{?with_evdev:--enable-evdev-input} \
--enable-gdk-backend \
--enable-gtk-doc \
+ %{?with_mir:--enable-mir-backend} \
--enable-static \
%{?with_tslib:--enable-tslib-input} \
%if %{with wayland}
%{_pkgconfigdir}/clutter-glx-1.0.pc
%{_pkgconfigdir}/clutter-x11-1.0.pc
%{_pkgconfigdir}/clutter-egl-1.0.pc
+%{?with_mir:%{_pkgconfigdir}/clutter-mir-1.0.pc}
%{_pkgconfigdir}/clutter-wayland-1.0.pc
%{_pkgconfigdir}/clutter-wayland-compositor-1.0.pc