aboutsummaryrefslogtreecommitdiffstats
path: root/community/epiphany/APKBUILD
blob: 35883d11663313b981aab06569d59696fae7bd7f (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=epiphany
pkgver=3.34.3.1
pkgrel=1
pkgdesc="A simple, clean, beautiful view of the web"
url="https://wiki.gnome.org/Apps/Web"
arch="all !s390x" # libhandy is not available on s390x
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 ibus"
subpackages="$pkgname-lang $pkgname-doc"
source="https://download.gnome.org/sources/epiphany/${pkgver%.*.*}/epiphany-$pkgver.tar.xz"

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

check() {
	# https://gitlab.gnome.org/GNOME/epiphany/issues/829
	env PATH="$PATH:$builddir/output/src" xvfb-run ninja -C output test
}

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

sha512sums="c4692ff8c4ea534a420cc8469c1b1f8f6ad7ad83f687ffd0bedc6d6d71b83391c9b65c7a9a21190ce92bd709569a423700e1ac2be6bcfe413e47e5702f51aa0e  epiphany-3.34.3.1.tar.xz"