# Contributor: Paper <paper@tilde.institute>
# Maintainer: fossdd <fossdd@pwned.life>
pkgname=confy
pkgver=0.8.0
pkgrel=0
pkgdesc="Conferences schedule viewer for GNOME"
url="https://confy.kirgroup.net/"
license="GPL-3.0-or-later"
arch="noarch"
depends="
	gtk4.0
	py3-cairo
	py3-gobject3
	py3-icalendar
	libadwaita
	libnotify
	"
checkdepends="desktop-file-utils"
makedepends="
	blueprint-compiler
	gettext-dev
	glib-dev
	meson
	"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~fabrixxm/confy/archive/$pkgver.tar.gz"
subpackages="$pkgname-lang $pkgname-pyc"

build() {
	abuild-meson . output
	meson compile -C output
}

check() {
	meson test --print-errorlogs -C output
}

package() {
	DESTDIR="$pkgdir" meson install -C output
}

sha512sums="
38c9903159f1caf8ad1da720c3d93cc7d8e0bcf0b9707ef40ba76959e04edec3b83126333e91fd9cb964c3f1bd07b85c4b15f7d0f83290f8e0491ef346a95eea  confy-0.8.0.tar.gz
"
