[packages/clutter] - added mir bcond
qboosh
qboosh at pld-linux.org
Sat Apr 18 22:29:51 CEST 2015
commit fe5ed950648039bddb876119ba450b61b38e9bb7
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Apr 18 22:31:46 2015 +0200
- added mir bcond
clutter.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/clutter.spec b/clutter.spec
index 5d914f9..45b612a 100644
--- a/clutter.spec
+++ b/clutter.spec
@@ -1,7 +1,8 @@
#
# 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?)
@@ -37,6 +38,7 @@ BuildRequires: json-glib-devel >= 0.12.0
%{?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
@@ -175,6 +177,7 @@ Dokumentacja API clutter.
%{?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}
@@ -231,6 +234,7 @@ rm -rf $RPM_BUILD_ROOT
%{_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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/clutter.git/commitdiff/fe5ed950648039bddb876119ba450b61b38e9bb7
More information about the pld-cvs-commit
mailing list