Enable Wayland backend

This commit is contained in:
Matthias Clasen 2013-03-13 23:56:04 -04:00
parent 0b2ad90346
commit 15fab750ca

View File

@ -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@redhat.com> 1.13.8-2
- Enable Wayland backend
* Tue Mar 5 2013 Matthias Clasen <mclasen@redhat.com> 1.13.8-1
- Update to 1.13.8