# Template file for 'gnome-system-monitor'
pkgname=gnome-system-monitor
version=3.12.2
revision=3
build_style=gnu-configure
configure_args="--disable-schemas-compile --enable-wnck"
hostmakedepends="which pkg-config intltool itstool gnome-doc-utils"
makedepends="libwnck-devel gtkmm-devel>=3.9 librsvg-devel libgtop-devel gnome-icon-theme>=3.12"
depends="gtkmm>=3.9 gnome-icon-theme"
short_desc="Process viewer and system resource monitor for GNOME"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=ba074e2157302d91d73b68e13207bf85452b84234e429b1ec9b9a7b1c70736d8

# Package build options
build_options="systemd"

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