# Template file for 'gnome-secrets'
pkgname=gnome-secrets
version=8.0
revision=2
build_style=meson
hostmakedepends="pkg-config gettext gobject-introspection python3-pykeepass
 python3-pyotp glib-devel desktop-file-utils gtk-update-icon-cache
 python3-validators python3-zxcvbn"
makedepends="libglib-devel gtk4-devel libadwaita-devel libpwquality-devel"
depends="gtk4 libadwaita libpwquality-python3 python3-gobject
 python3-pycryptodomex python3-pykeepass python3-pyotp python3-validators
 python3-zxcvbn"
short_desc="Keepass compatible password manager for GNOME"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://gitlab.gnome.org/World/secrets"
distfiles="https://gitlab.gnome.org/World/secrets/-/archive/${version}/secrets-${version}.tar.gz"
checksum=8b4f0377534b57e9d8eea8d67ab2019d2363dd7c1ade56d62f4264c523a4edfa
make_check=no  # Test suite fails, reported upstream: https://gitlab.gnome.org/World/secrets/-/issues/481

gnome-passwordsafe_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	build_style=meta
	short_desc+=" - transitional dummy package"
}
