Enable wayland backend

This commit is contained in:
Matthias Clasen 2013-03-13 23:27:54 -04:00
parent 1f126e7b10
commit 069f9ad531

View File

@ -1,3 +1,7 @@
%if 0%{?fedora}
%global with_wayland 1
%endif
Name: cogl
Version: 1.13.4
Release: 1%{?dist}
@ -22,6 +26,14 @@ BuildRequires: mesa-libGL-devel
BuildRequires: pango-devel
BuildRequires: pkgconfig
%if %{with_wayland}
BuildRequires: libwayland-client-devel
BuildRequires: libwayland-cursor-devel
BuildRequires: libwayland-egl-devel
BuildRequires: libxkbcommon-devel
%endif
%description
Cogl is a small open source library for using 3D graphics hardware to draw
pretty pictures. The API departs from the flat state machine style of
@ -65,7 +77,7 @@ This package contains documentation for %{name}.
%build
CFLAGS="$RPM_OPT_FLAGS -fPIC"
%configure --enable-cairo=yes --enable-gdk-pixbuf=yes --enable-cogl-pango=yes --enable-glx=yes --enable-gtk-doc --enable-introspection=yes
%configure --enable-cairo=yes --enable-gdk-pixbuf=yes --enable-cogl-pango=yes --enable-glx=yes --enable-gtk-doc --enable-introspection=yes --enable-wayland-egl-platform
make V=1
@ -100,6 +112,9 @@ rm %{buildroot}%{_datadir}/cogl/examples-data/crate.jpg
%{_datadir}/gtk-doc/html/cogl-2.0-experimental
%changelog
* Wed Mar 13 2013 Matthias Clasen <mclasen@redhat.com> 1.13.4-2
- Enable wayland backend
* Thu Feb 21 2013 Bastien Nocera <bnocera@redhat.com> 1.13.4-1
- Update to 1.13.4