# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=gnome-authenticator pkgver=4.3.1 pkgrel=0 pkgdesc="Two-Factor Authentication application" url="https://gitlab.gnome.org/World/Authenticator" # s390x, ppc64le, riscv64: rust ring # 32-bit: pipewire-rs: https://gitlab.freedesktop.org/pipewire/pipewire-rs/-/issues/43 arch="all !x86 !armhf !armv7 !s390x !ppc64le !riscv64" license="GPL-3.0-only" makedepends=" cargo clang-dev gst-plugins-bad-dev gst-plugins-base-dev gstreamer-dev gtk4.0-dev libadwaita-dev meson openssl-dev pipewire-dev sqlite-dev zbar-dev " checkdepends="appstream-glib desktop-file-utils" subpackages="$pkgname-dbg $pkgname-lang" source="https://gitlab.gnome.org/World/Authenticator/-/archive/$pkgver/Authenticator-$pkgver.tar.gz" builddir="$srcdir/Authenticator-$pkgver" build() { abuild-meson . output meson compile -C output } check() { meson test --no-rebuild --print-errorlogs -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums=" 8eb3f2e5317960dcf63a1af05e0c3e431b148125dc405aa809acd78d72c4265659e8652ef46098708b1838e3146f4a03112d18e699fa2067bacb2beaa32ff0e0 Authenticator-4.3.1.tar.gz "