# Template file for 'mate-applets'
pkgname=mate-applets
version=1.28.1
revision=1
build_style=gnu-configure
configure_args="--disable-static --enable-ipv6 --libexecdir=/usr/libexec/mate"
hostmakedepends="glib-devel itstool gettext pkg-config polkit libxml2"
makedepends="gtksourceview4-devel libgtop-devel xorgproto
 libglib-devel gtk+3-devel dbus-glib-devel gucharmap-devel libxml2-devel
 libmate-panel-devel libmateweather-devel libnotify-devel libwnck-devel
 mate-desktop-devel mate-icon-theme mate-settings-daemon-devel polkit-devel
 upower-devel libnl3-devel"
depends="mate-icon-theme"
short_desc="Applets for MATE panel"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://mate-desktop.org"
changelog="https://raw.githubusercontent.com/mate-desktop/mate-applets/master/NEWS"
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/mate-applets-${version}.tar.xz"
checksum=a5967141527dc5b172d322a6003c23aeec253160f650bb36430a06ddaefa7e2e
replaces="mate-applets-data>=0"

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