void-packages/srcpkgs/gnome-shell/template

29 lines
1.2 KiB
Bash

# Template file for 'gnome-shell'
pkgname=gnome-shell
version=41.4
revision=1
build_style=meson
build_helper=gir
configure_args="-Dsystemd=false -Dtests=false"
hostmakedepends="gobject-introspection libxslt pkg-config python3 sassc
asciidoc perl glib-devel gettext gjs-devel"
makedepends="gnome-control-center-devel at-spi2-atk-devel
evolution-data-server-devel mutter-devel gsettings-desktop-schemas-devel
polkit-devel startup-notification-devel ibus-devel gnome-desktop-devel
NetworkManager-devel pulseaudio-devel gtk4-devel gnome-autoar-devel gjs-devel"
depends="elogind gnome-control-center gsettings-desktop-schemas upower"
checkdepends="xvfb-run mesa-dri $depends"
short_desc="GNOME core user interface"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Projects/GnomeShell"
changelog="https://gitlab.gnome.org/GNOME/gnome-shell/-/raw/gnome-41/NEWS"
distfiles="${GNOME_SITE}/gnome-shell/${version%.*}/gnome-shell-${version}.tar.xz"
checksum=c7eef74af304649c03b86db99bd0bac75a011fbff6774c8ee35583dbcdad8af4
do_check() {
mkdir /tmp/gnome-shell-xdg
XDG_RUNTIME_DIR=/tmp xvfb-run ninja -C build test
rm -rf /tmp/gnome-shell-xdg
}