gnome-system-monitor: enable wnck support; add systemd build option (on by default).
This commit is contained in:
parent
2f8de3145c
commit
9f0d68ea18
1 changed files with 15 additions and 4 deletions
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'gnome-system-monitor'
|
# Template file for 'gnome-system-monitor'
|
||||||
pkgname=gnome-system-monitor
|
pkgname=gnome-system-monitor
|
||||||
version=3.12.2
|
version=3.12.2
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
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"
|
hostmakedepends="which pkg-config intltool itstool gnome-doc-utils"
|
||||||
makedepends="libwnck-devel gtkmm-devel>=3.9 librsvg-devel systemd-devel libgtop-devel
|
makedepends="libwnck-devel gtkmm-devel>=3.9 librsvg-devel libgtop-devel gnome-icon-theme>=3.12"
|
||||||
gnome-icon-theme>=3.12"
|
|
||||||
depends="gtkmm>=3.9 gnome-icon-theme"
|
depends="gtkmm>=3.9 gnome-icon-theme"
|
||||||
short_desc="Process viewer and system resource monitor for GNOME"
|
short_desc="Process viewer and system resource monitor for GNOME"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -14,3 +13,15 @@ homepage="http://www.gnome.org"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
||||||
checksum=ba074e2157302d91d73b68e13207bf85452b84234e429b1ec9b9a7b1c70736d8
|
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
|
||||||
|
|
Loading…
Reference in a new issue