This repository has been archived by the owner on May 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 249
/
PKGBUILD
76 lines (68 loc) · 1.48 KB
/
PKGBUILD
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=epiphany
pkgver=44.2
pkgrel=1
pkgdesc="A GNOME web browser based on the WebKit rendering engine"
url="https://wiki.gnome.org/Apps/Web"
arch=(x86_64)
license=(GPL)
depends=(
gcr-4
gstreamer
gtk4
icu
libadwaita
libarchive
libportal-gtk4
libsoup3
webkitgtk-6.0
)
makedepends=(
docbook-xml
git
gobject-introspection
lsb-release
meson
startup-notification
yelp-tools
)
checkdepends=(
aspell
hspell
hunspell
libvoikko
nuspell
xorg-server-xvfb
)
groups=(gnome)
_commit=707137ffbd20ed6fc143094f7a46ddf929f603ba # tags/44.2^0
source=(
"git+https://gitlab.gnome.org/GNOME/epiphany.git#commit=$_commit"
fix-test.diff
)
b2sums=('SKIP'
'05121ff5f759ec637a718c9b39406f9a384227a312d69f6dc74e73fde8351689d588a30dddea3cfe0a6edb094fdcf5382eb5ff725bb2adfccdff87ab3cf4c953')
pkgver() {
cd epiphany
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd epiphany
# Fix encoding test; perhaps caused by different glibc or locale env
# https://gitlab.gnome.org/GNOME/epiphany/-/issues/1842
git apply -3 ../fix-test.diff
}
build() {
arch-meson epiphany build
meson compile -C build
}
check() {
WEBKIT_DISABLE_SANDBOX_THIS_IS_DANGEROUS=1 \
dbus-run-session xvfb-run -s '-nolisten local' \
meson test -C build --print-errorlogs
}
package() {
meson install -C build --destdir "$pkgdir"
}
# vim:set sw=2 sts=-1 et: