# Contributor: Síle Ekaterin Liszka # Maintainer: Síle Ekaterin Liszka pkgname=mutter pkgver=42.9 pkgrel=0 pkgdesc="Gnome window manager" url="https://www.gnome.org" arch="all" license="GPL-2.0+ AND MIT AND LGPL-2.0+ AND HPND-sell-variant AND LGPL-2.1+ AND (GPL-2.0+ AND HPND-sell-variant) AND (LGPL-2.1+ AND HPND-sell-variant) AND (GPL-2.0+ AND MIT)" depends="" makedepends="meson ninja atk-dev colord-dev dbus-dev gdk-pixbuf-dev glib-dev gnome-desktop-dev gnome-settings-daemon-dev graphene-dev gobject-introspection-dev gsettings-desktop-schemas-dev gtk+3.0-dev libgudev-dev json-glib-dev lcms2-dev libcanberra-dev elogind-dev libice-dev libinput-dev libsm-dev libwacom-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxi-dev libxinerama-dev libxkbcommon-dev libxkbfile-dev libxrandr-dev libxtst-dev pango-dev startup-notification-dev vala-dev xorg-server-dev xorg-server-xwayland" subpackages="$pkgname-dev $pkgname-doc" source="https://download.gnome.org/sources/mutter/${pkgver%.*}/mutter-$pkgver.tar.xz" build() { meson setup \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=release \ --wrap-mode=nofallback \ -Dsystemd=false \ -Dwayland=true \ -Dremote_desktop=false \ -Dtests=false \ -Dprofiler=false \ . output meson compile -C output } check() { meson test -C output } package() { DESTDIR="$pkgdir" meson install -C output } sha512sums="470d31524832cfd92701587db5d6abe09292514381be2c60326cb066f953515d2127d9eed1ee6dd83eb5c82e7cb1e565987e8e55b5482b2ab7d532f07513f55f mutter-42.9.tar.xz"