void-packages/srcpkgs/gnome-authenticator/template

25 lines
949 B
Bash

# Template file for 'gnome-authenticator'
pkgname=gnome-authenticator
version=4.4.0
revision=1
build_style=meson
build_helper="rust"
hostmakedepends="pkg-config gettext glib-devel itstool cargo desktop-file-utils
gtk-update-icon-cache clang"
makedepends="gtk4-devel libadwaita-devel libglib-devel libzbar-devel
openssl-devel pipewire-devel rust-std"
depends="gnome-keyring"
short_desc="Two-factor authentication code generator for GNOME"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://gitlab.gnome.org/World/Authenticator"
distfiles="https://gitlab.gnome.org/World/Authenticator/-/archive/${version}/Authenticator-${version}.tar.gz"
checksum=d1349ddc195ca173b64780d153864e3f8613986e6c0504d613c9331e83efab5d
make_check=ci-skip # Test timeout while compiling tests
post_patch() {
[ -z "$CROSS_BUILD" ] && return 0
vsed -i src/meson.build \
-e "s%rust_target /%'${RUST_TARGET}' / rust_target /%"
}