# Template file for 'cawbird'
pkgname=cawbird
version=1.3.2
revision=2
build_style=meson
hostmakedepends="glib-devel pkg-config vala"
makedepends="gspell-devel gst-plugins-base1-devel gtk+3-devel
 json-glib-devel libglib-devel liboauth-devel libsoup-devel rest-devel
 sqlite-devel"
checkdepends="xvfb-run"
short_desc="Native Gtk+ Twitter client for the Linux desktop"
maintainer="Paper <paper@tilde.institute>"
license="GPL-3.0-or-later"
homepage="https://ibboard.co.uk/cawbird/"
distfiles="https://github.com/IBBoard/cawbird/archive/refs/tags/v${version}.tar.gz"
checksum=20dd01b1b93f2608bbf6a83d5e4589927f875eff111a11366283b121c6136de7

do_check() {
	mkdir -p "$HOME/.config"
	cd build
	GSETTINGS_SCHEMA_DIR=data/ GSETTINGS_BACKEND='memory' xvfb-run meson test
}
