aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-authenticator/APKBUILD
blob: 76c5c63582016922fda525edc3a043b3bab037d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-authenticator
pkgver=3.32.2
pkgrel=11
pkgdesc="Two-Factor Authentication application"
url="https://gitlab.gnome.org/World/Authenticator"
# s390x and mips64 blocked by libhandy
arch="noarch !s390x !mips64"
license="GPL-3.0-only"
depends="python3 py3-otp py3-beautifulsoup4 py3-pillow py3-pyfavicon py3-pyzbar
	py3-yoyo-migrations libhandy py3-setuptools"
makedepends="meson gtk+3.0-dev libsecret-dev zbar-dev gobject-introspection-dev"
checkdepends="appstream-glib desktop-file-utils"
subpackages="$pkgname-lang"
source="https://gitlab.gnome.org/World/Authenticator/-/archive/$pkgver/Authenticator-$pkgver.tar.gz
	dont-require-py3-gettext-support.patch
	0001-Remove-init_template-calls.patch"
builddir="$srcdir/Authenticator-$pkgver"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="3bd78354f4d18052d03650b455f07fb7fa9bb5cba0b6c92dcbfb5158dcf500f0b7f84e0be8942e0fbb74b1cefcd9019941c758538e05144c469bbe47b4355ce0  Authenticator-3.32.2.tar.gz
04ce91e3c12503fb21728c39cf20ab1cd5c81f0ad7b5f6ecc875921c387df5fcc3edb4675e0015f1ba7eda71cf53246b9c14b819a11d5d151846112966aa10c0  dont-require-py3-gettext-support.patch
bac065e33d70db2b27dd1302fc97d916173b07b32a84d5f3645c320c6a0a5c91ee8a031dd3114c94bda117196ef177942e119c87c5d9a9732efad2182b416223  0001-Remove-init_template-calls.patch"