# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=gnome-shell pkgver=3.36.1 pkgrel=0 pkgdesc="GNOME shell" url="https://wiki.gnome.org/Projects/GnomeShell" arch="all !s390x !ppc64le !mips !mips64" license="GPL-2.0-or-later" depends="accountsservice caribou elogind gsettings-desktop-schemas upower ibus librsvg network-manager-applet gnome-bluetooth gnome-control-center font-adobe-source-code-pro ttf-cantarell adwaita-icon-theme gnome-themes-standard" makedepends="gnome-desktop-dev>=3.35.91 libxml2-dev libcanberra-dev gobject-introspection-dev startup-notification-dev libsoup-dev polkit-dev gcr-dev gjs-dev>=1.64.0 mutter-dev>=3.36.0 libcroco-dev pulseaudio-dev evolution-data-server-dev evolution-dev python3 meson libxml2-utils ibus-dev sassc networkmanager-dev libnma-dev gnome-control-center-dev py3-setuptools gnome-bluetooth-dev gstreamer-dev gnome-autoar-dev asciidoc libcap" checkdepends=" xvfb-run mesa-dri-swrast gdm " subpackages="$pkgname-lang $pkgname-doc $pkgname-dbg" source="https://download.gnome.org/sources/gnome-shell/${pkgver%.*}/gnome-shell-$pkgver.tar.xz revert-mr-1000.patch" options="!check" # Tests have circular dependency 'gnome-shell <-> gdm' build() { meson \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=plain \ -Dsystemd=false \ . output ninja -C output } check() { xvfb-run ninja -C output test } package() { DESTDIR="$pkgdir" ninja -C output install #allow realtime scheduling setcap cap_sys_nice+ep "$pkgdir"/usr/bin/gnome-shell } sha512sums="dce7a7236f9efd50148add12373664936a291e7b058c207e29f7abee5243146dac7c769ab7b0b0d5720363886748d70c9cc53fa70d1201f3c756bd9cad92fd53 gnome-shell-3.36.1.tar.xz cfda9cb5252149d07487684368630d9cef5e45a24c58b2f0b7bc30bc19056e1694e8d4879e0942982bdfb7fe99e218b9334bd966ef30d77c3fdd06b3816007fc revert-mr-1000.patch"