summaryrefslogtreecommitdiff
path: root/community/seahorse/APKBUILD
blob: 033f2655c9bc34c1be605b3c9bc69367b712a9d5 (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
58
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=seahorse
pkgver=43.0
pkgrel=3
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-client dconf gnome-keyring gnupg-dirmngr"
makedepends="
	avahi-dev
	desktop-file-utils
	gcr-dev
	glib-dev
	gobject-introspection-dev
	gpgme-dev
	gtk+3.0-dev
	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
	gnupg-2.4.patch
	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
6e4f80ce8282fa462b72a69933beb92d88148888d15d9ed3eee6c4261b0844a4b353679358f122a630e39ead54fe439779c6c98d14d0bbb72b84935b382b050f  gnupg-2.4.patch
7ae7fecb2319333c9ad07b89453977e4a2bae9cc775b1f030bf70e35f6a57b0d93e818bcb4b51ce959fd6411d4015606c172cc487cddd04834bad643195ee6d5  stdout.patch
"