25 lines
949 B
Bash
25 lines
949 B
Bash
# Template file for 'gnome-authenticator'
|
|
pkgname=gnome-authenticator
|
|
version=4.5.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=195d61084f41a90b3ef5dfa433309a5b86beef76ea6cd36e3329b72181eb23a1
|
|
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 /%"
|
|
}
|