26 lines
1013 B
Bash
26 lines
1013 B
Bash
# Template file for 'gnome-authenticator'
|
|
pkgname=gnome-authenticator
|
|
version=4.2.0
|
|
revision=2
|
|
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"
|
|
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="7dbb9c9a10ca0a95750adebc860fa81674f4d49bd45f5c1c6ec063278631221c"
|
|
make_check=ci-skip # Test timeout while compiling tests
|
|
|
|
export BINDGEN_EXTRA_CLANG_ARGS="${BINDGEN_EXTRA_CLANG_ARGS} -DPW_ENABLE_DEPRECATED"
|
|
|
|
post_patch() {
|
|
[ -z "$CROSS_BUILD" ] && return 0
|
|
vsed -i src/meson.build \
|
|
-e "s%rust_target /%'${RUST_TARGET}' / rust_target /%"
|
|
}
|