# Maintainer: William Pitcock <nenolod@dereferenced.org>
setvar pkgname = 'gnome-shell'
setvar pkgver = '3.26.0'
setvar pkgrel = '0'
setvar pkgdesc = ""GNOME shell""
setvar url = ""https://wiki.gnome.org/Projects/GnomeShell""
setvar arch = ""all !aarch64 !armhf""
setvar license = ""GPL""
setvar depends = ""accountsservice caribou gdm""
setvar 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""
setvar subpackages = ""$pkgname-lang $pkgname-dbg""
setvar source = ""http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz""
setvar builddir = ""$srcdir/$pkgname-$pkgver""

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

proc check {
	cd $builddir
	make check
}

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

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