void-packages/srcpkgs/gnome-session/template

26 lines
1003 B
Bash

# Template file for 'gnome-session'
pkgname=gnome-session
version=3.26.1
revision=1
build_style=gnu-configure
configure_args="--disable-schemas-compile"
hostmakedepends="pkg-config intltool libxslt docbook-xsl glib-devel"
makedepends="upower-devel json-glib-devel gtk+3-devel libSM-devel
startup-notification-devel libXtst-devel dbus-glib-devel elogind-devel
gsettings-desktop-schemas-devel gnome-desktop-devel"
depends="gsettings-desktop-schemas>=3.14 dconf>=0.20 alsa-plugins-pulseaudio
hicolor-icon-theme desktop-file-utils polkit-elogind"
short_desc="GNOME session management utilities"
maintainer="Enno Boland <gottox@voidlinux.eu>"
homepage="http://www.gnome.org"
license="GPL-2, LGPL-2.1"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=d9414b368db982d3837ca106e64019f18e6cdd5b13965bea6c7d02ddf5103708
pre_configure() {
sed -i "s/^#ifdef HAVE_SYSTEMD/#if 0/" \
gnome-session/main.c \
gnome-session/gsm-manager.c \
gnome-session/gsm-autostart-app.c
}