# Template file for 'mate-applets'
pkgname=mate-applets
version=1.12.1
revision=1
build_style=gnu-configure
configure_args="--with-gtk=3.0 --disable-static
 --enable-networkmanager --enable-ipv6"
hostmakedepends="pkg-config intltool itstool libxslt glib-devel"
makedepends="libSM-devel gtk+3-devel libmate-panel-devel NetworkManager-devel
 mate-desktop-devel mate-settings-daemon-devel libgtop-devel libwnck-devel
 upower0-devel polkit-devel libxml2-devel libmateweather-devel libnotify-devel
 gtksourceview-devel mate-icon-theme"
depends="mate-icon-theme upower0"
pycompile_module="mate_invest"
short_desc="Applets for MATE panel"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-3"
homepage="http://mate-desktop.org"
distfiles="http://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=0a3bc19e59c69eccdcc2342f29b7837563e51fbefdb232ca1884ca23d8f69c99

case "$XBPS_TARGET_MACHINE" in
	i686|x86_64)
		# libcpupower is x86 specific.
		makedepends+=" libcpupower-devel"
		;;
esac
