void-packages/srcpkgs/Endeavour/template

32 lines
1.0 KiB
Bash

# Template file for 'Endeavour'
pkgname=Endeavour
version=42.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-gtk4-devel evolution-data-server-devel"
short_desc="Task manager designed to perfectly fit the GNOME desktop"
maintainer="Michal Vasilek <michal@vasilek.cz>"
license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Apps/Todo"
distfiles="https://gitlab.gnome.org/World/Endeavour/-/archive/v${version}/Endeavour-v${version}.tar.gz"
checksum=6ad8d5f06b86715e6bd43f1bcbd1d4cf2dd9d5b7ee1876b7ffce88bcc5a4bbd8
build_options="gir"
build_options_default="gir"
do_check() {
glib-compile-schemas data
GSETTINGS_SCHEMA_DIR=$wrksrc/data ninja -C build test
}
gnome-todo_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - transitional dummy package"
build_style=meta
}