1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
7 version = %{ver_maj}.%{ver_min}
13 url = http://www.clutter-project.org/
15 summary = Window and compositing manager based on Clutter
18 Mutter is a window and compositing manager that displays and manages
19 your desktop via OpenGL. Mutter combines a sophisticated display engine
20 using the Clutter toolkit with solid window-management logic inherited
21 from the Metacity window manager.
23 While Mutter can be used stand-alone, it is primarily intended to be
24 used as the display core of a larger system such as gnome-shell or
25 Moblin. For this reason, Mutter is very extensible via plugins, which
26 are used both to add fancy visual effects and to rework the window
27 management behaviors to meet the needs of the environment.
30 source_dl = http://download.gnome.org/sources/%{name}/%{ver_maj}/
31 sources = %{thisapp}.tar.xz
36 gobject-introspection-devel >= 0.9.6
37 gsettings-desktop-schemas-devel
53 configure_options += \
54 --enable-compile-warnings=maximum \
58 SHOULD_HAVE_DEFINED="HAVE_SM HAVE_SHAPE HAVE_RANDR"
60 for I in $SHOULD_HAVE_DEFINED; do
61 if ! grep -q "define $I" config.h; then
62 echo "$I was not defined in config.h"
66 echo "$I was defined as it should have been"
72 make_build_targets += V=1
75 # mutter requires to mmap some memory writable
76 # and executable at the same time. For that we
77 # disable the PAX_MPROTECT feature.
78 paxctl -m %{BUILDROOT}%{bindir}/mutter
90 gsettings-desktop-schemas
94 glib-compile-schemas %{datadir}/glib-2.0/schemas &> /dev/null || :
98 glib-compile-schemas %{datadir}/glib-2.0/schemas &> /dev/null || :
102 package %{name}-devel
109 package %{name}-debuginfo