1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/community/mutter/APKBUILD
2021-07-24 22:07:44 +00:00

50 lines
1.8 KiB
Text

# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=mutter
pkgver=40.3
pkgrel=0
pkgdesc="clutter-based window manager and compositor"
url="https://wiki.gnome.org/Projects/Mutter/"
# riscv64 disabled due to missing rust in recursive dependency
arch="all !s390x !mips !mips64 !riscv64" # limited by gnome-settings-daemon, s390x: and pipewire
license="GPL-2.0-or-later"
depends="xkeyboard-config zenity gsettings-desktop-schemas 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
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() {
abuild-meson \
-Degl_device=true \
-Dudev=true \
-Dnative_backend=true \
-Dintrospection=true \
-Dxwayland_path=/usr/bin/Xwayland \
-Dremote_desktop=true \
-Dprofiler=false \
. output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
beb9cb1b8dee153fe204aa5d799e4ba44380c8483362ab4f7b149c715be6fa929345386b78af73ca6ae7e864dd2923e5c0de88404f8ffe5d22f2ae9238bcc074 mutter-40.3.tar.xz
6f21171bbd0ad0fc67cbaf5fb1478b22b482a9ae33b9328cc51a5dd31bcf7d95cd41e6cbbac21d3d8801cc064a62a64ae38ed7d0501ab605b861058c32f3bc30 fixudev-req.patch
"