extra/mutter to 41.3-1

This commit is contained in:
Kevin Mihelich 2022-01-12 00:20:50 +00:00
parent 86ef9fd3d7
commit 97e5f9577a

View file

@ -6,8 +6,8 @@
# - move xorg-server-xvfb from checkdepends to makedepends
pkgname=mutter
pkgver=41.2
pkgrel=2
pkgver=41.3
pkgrel=1
pkgdesc="A window manager for GNOME"
url="https://gitlab.gnome.org/GNOME/mutter"
arch=(x86_64)
@ -21,23 +21,24 @@ makedepends=(gobject-introspection git egl-wayland meson xorg-server
checkdepends=(pipewire-media-session python-dbusmock)
provides=(libmutter-9.so)
groups=(gnome)
_commit=664ac09eecfd365b5258f53d2c9e6c8410a37919 # tags/41.2^0
_commit=f51ad2911419ee2ab88b5548581227a57d0fd987 # tags/41.3^0
source=("git+https://gitlab.gnome.org/GNOME/mutter.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
cd mutter
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd $pkgname
cd mutter
}
build() {
CFLAGS="${CFLAGS/-O2/-O3} -fno-semantic-interposition"
LDFLAGS+=" -Wl,-Bsymbolic-functions"
arch-meson $pkgname build \
arch-meson mutter build \
-D egl_device=true \
-D wayland_eglstream=true \
-D installed_tests=false
@ -68,3 +69,5 @@ check() {
package() {
meson install -C build --destdir "$pkgdir"
}
# vim:set sw=2 et: