void-packages/srcpkgs/gnome-session/template
2017-04-14 10:41:27 +02:00

25 lines
1,000 B
Bash

# Template file for 'gnome-session'
pkgname=gnome-session
version=3.24.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="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=3b4449238e396b95f9616dfd6f99d8345afaf30c7e3cb6a3549f253d9f966eee
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
}