blob: 7c0317ee25d4ba9542f5858f40544ea788173623 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=mutter
pkgver=3.36.1
pkgrel=0
pkgdesc="clutter-based window manager and compositor"
url="https://wiki.gnome.org/Projects/Mutter/"
arch="all !s390x" # limited by gnome-settings-daemon
license="GPL-2.0-or-later"
depends="xkeyboard-config zenity gsettings-desktop-schemas xorg-server-xwayland"
makedepends="gnome-desktop-dev libcanberra-dev upower-dev json-glib-dev
libxkbcommon-dev libxkbfile-dev wayland-protocols clutter-dev cogl-dev
libgudev-dev libinput-dev gnome-common itstool libxml2-utils
libxcomposite-dev libxdamage-dev elogind-dev meson pipewire-dev
gnome-settings-daemon-dev libice-dev libsm-dev startup-notification-dev
xorg-server graphene-dev"
options="!check" # Can't be run with release builds
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-dbg"
source="https://download.gnome.org/sources/mutter/${pkgver%.*}/mutter-$pkgver.tar.xz
fix-cogl-path-build-ordering.patch
fixudev-req.patch"
prepare() {
default_prepare
# disable test subdirs, causes looping on builders and we don't run
# tests anyway
sed -e '/subdir/d' -i cogl/tests/meson.build
}
build() {
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=plain \
-Degl_device=true \
-Dudev=true \
-Dnative_backend=true \
-Dintrospection=true \
-Dxwayland_path=/usr/bin/Xwayland \
-Dremote_desktop=true \
-Dprofiler=false \
. output
ninja -C output
}
package() {
DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="8ffb8713ee0a2fb6b284f317f49f5bae33b803086814cca3a632d6d5bba988268f26e5120b805edd5fb20255daf375c30e22e9df4b31976510daad6beb92bcb7 mutter-3.36.1.tar.xz
7959d301a89ba067b7b34a474abcc0f22a2355571b5a10508efd852b3f1a1bd6f17f0e16345552ebc3654d07bb7167588afee1d73ad66bc0237ee308757ac3b8 fix-cogl-path-build-ordering.patch
6f21171bbd0ad0fc67cbaf5fb1478b22b482a9ae33b9328cc51a5dd31bcf7d95cd41e6cbbac21d3d8801cc064a62a64ae38ed7d0501ab605b861058c32f3bc30 fixudev-req.patch"
|