aboutsummaryrefslogtreecommitdiffstats
path: root/community/seahorse/APKBUILD
blob: 8cb9077a615f04cb409aee776a42d20d191cfef0 (plain)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=seahorse
pkgver=43.0
pkgrel=0
pkgdesc="GNOME application for managing PGP keys."
url="https://projects.gnome.org/seahorse/"
# riscv64 disabled due to missing rust in recursive dependency
arch="all !s390x !riscv64" # limited by libhandy
license="GPL-2.0-or-later"
depends="openssh dconf gnome-keyring gnupg-dirmngr"
makedepends="
	avahi-dev
	desktop-file-utils
	gcr-dev
	glib-dev
	gobject-introspection-dev
	gpgme-dev
	gtk+3.0-dev
	intltool
	itstool
	libhandy1-dev
	libpwquality-dev
	libsecret-dev
	libsm-dev
	libsoup3-dev
	libxml2-utils
	meson
	openldap-dev
	vala
	yelp-tools
	"
checkdepends="appstream-glib"
subpackages="$pkgname-lang $pkgname-doc"
source="https://download.gnome.org/sources/seahorse/${pkgver%.*}/seahorse-$pkgver.tar.xz
	stdout.patch
	"

build() {
	abuild-meson \
		-Db_lto=true \
		. builddir
	meson compile ${JOBS:+-j ${JOBS}} -C builddir
}

check() {
	meson test --no-rebuild --print-errorlogs -C builddir
}

package() {
	DESTDIR="$pkgdir" meson install -C builddir
}

sha512sums="
168fdfc829134915f513028b1d35b647aa18a0390786cbf512f7ddb7b125b239f3f3d880a847119a5aa22580354f0b594e553fe3940a3afbda5861e69dd88e5d  seahorse-43.0.tar.xz
7ae7fecb2319333c9ad07b89453977e4a2bae9cc775b1f030bf70e35f6a57b0d93e818bcb4b51ce959fd6411d4015606c172cc487cddd04834bad643195ee6d5  stdout.patch
"