void-packages/srcpkgs/gnome-calculator/template

25 lines
1002 B
Bash

# Template file for 'gnome-calculator'
pkgname=gnome-calculator
version=3.28.2
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=bad41e322fc82f13f0fa0c773ad96802c272498adf8e2c8b8054549718cefa47
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" gtksourceview-devel"
fi
case "$XBPS_TARGET_MACHINE" in
arm*|aarch*) broken="error: Package gtksourceview-3.0 not found in specified Vala API directories or GObject-Introspection GIR directories" ;;
esac