# Template file for 'gnome-session'
pkgname=gnome-session
version=3.12.1
revision=3
build_style=gnu-configure
configure_args="--disable-schemas-compile"
hostmakedepends="pkg-config intltool libxslt docbook-xsl"
makedepends="upower-devel json-glib-devel gtk+3-devel libSM-devel
 startup-notification-devel libXtst-devel dbus-glib-devel
 gsettings-desktop-schemas-devel>=3.10 gnome-desktop-devel>=3.12"
depends="gsettings-desktop-schemas>=3.12 dconf>=0.20 alsa-plugins-pulseaudio
 hicolor-icon-theme desktop-file-utils"
short_desc="GNOME session management utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="GPL-2, LGPL-2.1"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=fa308771ac18bc5f77e5a5be3b2d93df1625168cb40167c1dfa898e9006e25d3

# Package build options
build_options="systemd"

if [ "$build_option_systemd" ]; then
	configure_args+=" --enable-systemd"
	makedepends+=" systemd-devel"
else
	configure_args+=" --disable-systemd"
fi
