void-packages/srcpkgs/gnome-session/template

26 lines
1000 B
Bash

# Template file for 'gnome-session'
pkgname=gnome-session
version=3.22.3
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="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.gnome.org"
license="GPL-2, LGPL-2.1"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=cc486fc84d892fa744a382b5ea8b9b40fc5045bc0d5feccfb02e80137eab77e5
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
}