aboutsummaryrefslogtreecommitdiffstats
path: root/testing/epiphany/APKBUILD
blob: 2fa09512c3145327eb01646b9104bf92b44ec472 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=epiphany
pkgver=3.32.3
pkgrel=0
pkgdesc="A simple, clean, beautiful view of the web"
options="!check" # Location entry test fails on builders
url="https://wiki.gnome.org/Apps/Web"
arch="all !armhf !x86 !armv7" # Limited by webkit2gtk
license="GPL-3.0-or-later"
depends="gsettings-desktop-schemas"
makedepends="meson iso-codes-dev gtk+3.0-dev gsettings-desktop-schemas-dev
	icu-dev json-glib-dev libdazzle-dev libhandy-dev libnotify-dev libsecret-dev
	libsoup-dev libxml2-dev nettle-dev sqlite-dev webkit2gtk-dev gcr-dev itstool"
checkdepends="appstream-glib desktop-file-utils xvfb-run"
subpackages="$pkgname-lang $pkgname-doc"
source="https://download.gnome.org/sources/epiphany/${pkgver%.*}/epiphany-${pkgver}.tar.xz
	disable-faulty-test.patch"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		. output
	ninja -C output
}

check() {
	xvfb-run ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="1b5c6d101d86fae4d91f68560e0ab91b1ebdf3bfa93c82ca61392a62ff31e94aef821d65af92c2382c380c77f892eeb07bb125dce34c1aab67b96d24f6d44c8f  epiphany-3.32.3.tar.xz
ab8ceffd38a00217704bb9e0e0e514cb2aecc4ace2e8caf0f8cb8bf6468e347ed5cb4e87f0120a86e25f9a0b8fa58de499e9a2e1c2d8f5386c9189ba9752e211  disable-faulty-test.patch"