void-packages/srcpkgs/gnome-shell/template
2021-06-14 16:46:48 +02:00

36 lines
1.5 KiB
Bash

# Template file for 'gnome-shell'
pkgname=gnome-shell
version=40.2
revision=1
build_style=meson
build_helper=gir
configure_args="-Dsystemd=false"
hostmakedepends="gobject-introspection libxslt pkg-config python3 sassc
asciidoc perl glib-devel gettext gjs-devel"
makedepends="at-spi2-atk evolution-data-server-devel folks-devel
gcr-devel gjs-devel gnome-bluetooth-devel gnome-control-center-devel gnome-desktop-devel
gnome-menus-devel gsettings-desktop-schemas-devel gstreamer1-devel gtk4-devel
ibus-devel json-glib-devel libcanberra-devel libcroco-devel libglib-devel
libsecret-devel libsoup-devel libX11-devel libxml2-devel mutter-devel
libnma-devel polkit-devel pulseaudio-devel pipewire-devel
startup-notification-devel telepathy-logger-devel gnome-autoar-devel elogind-devel"
depends="elogind glxinfo gnome-control-center gsettings-desktop-schemas upower"
checkdepends="xvfb-run gdm 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://raw.githubusercontent.com/GNOME/gnome-shell/gnome-3-38/NEWS"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=4e9d829b039fa0add33bb6583fc7b4e028ed8dcff7af8a577e09cc66988c281c
_xdg_runtime_dir="/tmp/gnome-shell-xdg"
pre_check() {
mkdir "$_xdg_runtime_dir"
export XDG_RUNTIME_DIR="$_xdg_runtime_dir"
make_cmd="xvfb-run ninja"
}
post_check() {
rm -r "$_xdg_runtime_dir"
}