void-packages/srcpkgs/gnome-shell/template

30 lines
1.2 KiB
Bash

# Template file for 'gnome-shell'
pkgname=gnome-shell
version=41.5
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
gnome-bluetooth-devel pipewire-devel gstreamer1-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=efbe8d1179983d5c2e68b1035f073fefe01b15fbdaf68f48adff96fa355b0bc5
do_check() {
mkdir /tmp/gnome-shell-xdg
XDG_RUNTIME_DIR=/tmp xvfb-run ninja -C build test
rm -rf /tmp/gnome-shell-xdg
}