[clutter] Enable Wayland backend
Matthias Clasen
mclasen at fedoraproject.org
Thu Mar 14 03:55:31 UTC 2013
commit 15fab750ca8f9228c5ac7e321c694d6f04f356a3
Author: Matthias Clasen <mclasen at redhat.com>
Date: Wed Mar 13 23:56:04 2013 -0400
Enable Wayland backend
clutter.spec | 21 +++++++++++++++++++--
1 files changed, 19 insertions(+), 2 deletions(-)
---
diff --git a/clutter.spec b/clutter.spec
index 7e6f289..9cf9c59 100644
--- a/clutter.spec
+++ b/clutter.spec
@@ -1,6 +1,10 @@
+%if 0%{?fedora}
+%global with_wayland 1
+%endif
+
Name: clutter
Version: 1.13.8
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Open Source software library for creating rich graphical user interfaces
Group: Development/Libraries
@@ -18,6 +22,12 @@ BuildRequires: libXcomposite-devel
BuildRequires: libXdamage-devel
BuildRequires: libXi-devel
Requires: gobject-introspection
+%if %{with_wayland}
+BuildRequires: libwayland-client-devel
+BuildRequires: libwayland-cursor-devel
+BuildRequires: libxkbcommon-devel
+%endif
+
# F18
Obsoletes: clutter-gtk010 < 0.11.4-9
@@ -68,7 +78,11 @@ This package contains documentation for clutter.
%build
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi;
%configure $CONFIGFLAGS \
- --enable-xinput
+ --enable-xinput \
+ --enable-gdk-backend \
+%if %{with_wayland}
+ --enable-wayland-backend \
+%endif
# clutter git ships with some magic to put the git log in shipped tarballs
# which gets listed in files; don't blow up if it's missing
if ! test -f ChangeLog; then
@@ -108,6 +122,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%{_datadir}/gtk-doc/html/cally
%changelog
+* Wed Mar 13 2013 Matthias Clasen <mclasen at redhat.com> 1.13.8-2
+- Enable Wayland backend
+
* Tue Mar 5 2013 Matthias Clasen <mclasen at redhat.com> 1.13.8-1
- Update to 1.13.8
More information about the scm-commits
mailing list