]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - mutter/mutter.nm
mutter: Recomends to also install gnome-themes-standard and gsettings-desktop-schemas.
[people/ms/ipfire-3.x.git] / mutter / mutter.nm
CommitLineData
b7291cb8
SS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = mutter
7version = %{ver_maj}.%{ver_min}
8ver_maj = 3.7
9ver_min = 5
c19f1e90 10release = 2
b7291cb8
SS
11
12groups = UI/Desktops
13url = http://www.clutter-project.org/
14license = GPLv2+
15summary = Window and compositing manager based on Clutter
16
17description
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.
22
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.
28end
29
30source_dl = http://download.gnome.org/sources/%{name}/%{ver_maj}/
31sources = %{thisapp}.tar.xz
32
33build
34 requires
35 clutter-devel
36 gobject-introspection-devel >= 0.9.6
37 gsettings-desktop-schemas-devel
38 gtk3-devel >= 3.3.3
39 intltool
40 libSM-devel
41 libX11-devel
42 libXcomposite-devel
43 libXcursor-devel
44 libXdamage-devel
45 libXext-devel
46 libXinerama-devel
47 libXrandr-devel
48 pango-devel
49 paxctl
50 zenity
51 end
52
53 configure_options += \
54 --enable-compile-warnings=maximum \
55 --disable-static
56
57 configure_cmds
58 SHOULD_HAVE_DEFINED="HAVE_SM HAVE_SHAPE HAVE_RANDR"
59
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"
63 grep "$I" config.h
64 exit 1
65 else
66 echo "$I was defined as it should have been"
67 grep "$I" config.h
68 fi
69 done
70 end
71
72 make_build_targets += V=1
73
74 install_cmds
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
79 end
80end
81
82packages
83 package %{name}
84 requires
85 zenity
86 end
87
c19f1e90
SS
88 recommends
89 gnome-themes-standard
90 gsettings-desktop-schemas
91 end
92
b7291cb8
SS
93 script posttransin
94 glib-compile-schemas %{datadir}/glib-2.0/schemas &> /dev/null || :
95 end
96
97 script postun
98 glib-compile-schemas %{datadir}/glib-2.0/schemas &> /dev/null || :
99 end
100 end
101
102 package %{name}-devel
103 template DEVEL
104
105 files += \
106 %{datadir}/gir*/
107 end
108
109 package %{name}-debuginfo
110 template DEBUGINFO
111 end
112end