# Template file for 'gitg'
pkgname=gitg
version=3.32.1
revision=5
build_style=meson
build_helper="qemu"
hostmakedepends="intltool gettext glib-devel gobject-introspection pkg-config vala"
makedepends="gtksourceview-devel libgit2-glib-devel libgee08-devel gtkspell3-devel
 webkit2gtk-devel libpeas-devel gsettings-desktop-schemas-devel libsecret-devel
 libdazzle-devel libsoup-devel"
depends="git"
short_desc="Git repository viewer for GTK+/GNOME"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Apps/Gitg"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=24a4aabf8a42aa2e783e1fb5996ebb3c2a82a01b9689269f1329517ef124ef5a

if [ "$CROSS_BUILD" ]; then
	configure_args+=" -Dexe_wrapper=qemu-${XBPS_TARGET_QEMU_MACHINE}-static"
fi
