extra/mutter to 42.0-2

This commit is contained in:
Kevin Mihelich 2022-04-07 13:06:26 +00:00
parent 59fcb16275
commit 99e1d0fcef

View file

@ -8,7 +8,7 @@
pkgbase=mutter
pkgname=(mutter mutter-docs)
pkgver=42.0
pkgrel=1
pkgrel=2
pkgdesc="A window manager for GNOME"
url="https://gitlab.gnome.org/GNOME/mutter"
arch=(x86_64)
@ -19,7 +19,7 @@ depends=(dconf gobject-introspection-runtime gsettings-desktop-schemas
xorg-xwayland graphene libxkbfile libsysprof-capture)
makedepends=(gobject-introspection git egl-wayland meson xorg-server
wayland-protocols sysprof gi-docgen xorg-server-xvfb)
checkdepends=(pipewire-media-session python-dbusmock)
checkdepends=(wireplumber python-dbusmock)
options=(debug)
_commit=9249aba72a5c4454894c08735a4963ca1665e34d # tags/42.0^0
source=("git+https://gitlab.gnome.org/GNOME/mutter.git#commit=$_commit")
@ -32,6 +32,12 @@ pkgver() {
prepare() {
cd mutter
# Fix Dash-to-dock not autohiding
git cherry-pick -n 2aad56b949b8 0280b0aaa563
# https://bugs.archlinux.org/task/74360
git cherry-pick -n f9857cb8bd7af20e819283917ae165fa40c19f07
}
build() {
@ -51,7 +57,7 @@ _check() (
glib-compile-schemas "${GSETTINGS_SCHEMA_DIR:=$PWD/build/data}"
export XDG_RUNTIME_DIR GSETTINGS_SCHEMA_DIR
pipewire &
wireplumber &
_p1=$!
pipewire-media-session &