aports/testing/mutter/APKBUILD
2019-05-26 13:23:05 +00:00

45 lines
1.6 KiB
Plaintext

# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=mutter
pkgver=3.32.2
pkgrel=0
pkgdesc="clutter-based window manager and compositor"
url="https://wiki.gnome.org/Projects/Mutter/"
arch="all !s390x !ppc64le" # 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 py3-setuptools
gnome-settings-daemon-dev libice-dev libsm-dev startup-notification-dev
xorg-server"
options="!check" # Can't be run with release builds
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
fixudev-req.patch"
build() {
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=release \
-Degl_device=true \
-Dudev=true \
-Dnative_backend=true \
-Dintrospection=true \
-Dxwayland_path=/usr/bin/Xwayland \
-Dremote_desktop=false \
. output
ninja -C output
}
package() {
DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="e4494d028ae71441fbdc584bd8acd9c2559d52ac72402bad9a7cb43f4f519487d11df6453172fd27a9df7f2cade020d6317931613bd0be343c66170e6cda0269 mutter-3.32.2.tar.xz
6f21171bbd0ad0fc67cbaf5fb1478b22b482a9ae33b9328cc51a5dd31bcf7d95cd41e6cbbac21d3d8801cc064a62a64ae38ed7d0501ab605b861058c32f3bc30 fixudev-req.patch"