gnome-system-monitor: enable wnck support; add systemd build option (on by default).

This commit is contained in:
Juan RP 2014-05-20 13:38:45 +02:00
parent 2f8de3145c
commit 9f0d68ea18

View file

@ -1,12 +1,11 @@
# Template file for 'gnome-system-monitor'
pkgname=gnome-system-monitor
version=3.12.2
revision=1
revision=2
build_style=gnu-configure
configure_args="--disable-schemas-compile --enable-systemd"
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 systemd-devel libgtop-devel
gnome-icon-theme>=3.12"
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>"
@ -14,3 +13,15 @@ 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"
desc_option_systemd="Enable support for systemd"
build_options_default="systemd"
if [ "$build_option_systemd" ]; then
configure_args+=" --enable-systemd"
makedepends+=" systemd-devel"
else
configure_args+=" --disable-systemd"
fi