void-packages/srcpkgs/gnome-todo/template

26 lines
887 B
Bash

# Template file for 'gnome-todo'
pkgname=gnome-todo
version=41.0
revision=1
build_style=meson
build_helper="gir"
configure_args="-Dintrospection=$(vopt_if gir true false)"
hostmakedepends="pkg-config glib-devel gettext itstool
$(vopt_if gir 'gobject-introspection')"
makedepends="gtk4-devel libadwaita-devel gnome-online-accounts-devel
libpeas-devel libportal-devel evolution-data-server-devel"
short_desc="Task manager designed to perfectly fit the GNOME desktop"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Apps/Todo"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=5a657c978f451f61fb773f0b14f3121b9236fc504b41eb20940b4ed2004224e5
build_options="gir"
build_options_default="gir"
do_check() {
glib-compile-schemas data
GSETTINGS_SCHEMA_DIR=$wrksrc/data ninja -C build test
}