# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=gnome-shell
pkgver=3.26.0
pkgrel=0
pkgdesc="GNOME shell"
url="https://wiki.gnome.org/Projects/GnomeShell"
arch="all !aarch64 !armhf !s390x"
license="GPL"
depends="accountsservice caribou gdm"
makedepends="gnome-desktop-dev
	libxml2-dev
	libcanberra-dev
	gobject-introspection-dev
	startup-notification-dev
	libsoup-dev
	polkit-dev
	gcr-dev
	gjs-dev
	mutter-dev
	libcroco-dev
	pulseaudio-dev

	evolution-data-server-dev evolution-dev

	python3
	meson
	itstool
	libxml2-utils"
subpackages="$pkgname-lang $pkgname-dbg"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--disable-man
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="3da595226f6c95dbdb934eedf99c83515de516a2a86fa4cb2964520e3b411a0ac450a93743443db94e553681628ece0633dd5196c17e950292bcbd3050c736a7  gnome-shell-3.26.0.tar.xz"
