# Template file for 'gnome-calculator'
pkgname=gnome-calculator
version=3.30.1
revision=1
build_style=meson
hostmakedepends="glib-devel gnome-doc-utils intltool itstool pkg-config vala"
makedepends="gsettings-desktop-schemas-devel gtksourceview-devel libmpc-devel
 libsoup-devel"
depends="desktop-file-utils gsettings-desktop-schemas hicolor-icon-theme"
short_desc="The GNOME calculator"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Apps/Calculator"
changelog="https://raw.githubusercontent.com/GNOME/gnome-calculator/gnome-3-28/NEWS"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=ec7aac474da1beea07e4d23c227b282ae0270d2488d940bba455b25064657f62

if [ "$CROSS_BUILD" ]; then
	hostmakedepends+=" gtksourceview-devel"
fi
