blob: 84b6efc455d279ed1d507c70a1ac04b2879aa8ee (
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
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# Maintainer: Que Quotion <quequotion@bugmenot.com>
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=epiphany-pantheon
pkgver=3.35.2+1+g16a4219dc
pkgrel=3
pkgdesc="A GNOME web browser based on the WebKit rendering engine (with elementary OS patches)"
url="https://wiki.gnome.org/Apps/Web"
arch=(x86_64)
license=(GPL)
depends=(webkit2gtk gcr libdazzle libhandy gst-plugins-base)
makedepends=(docbook-xml startup-notification lsb-release gobject-introspection yelp-tools
appstream-glib git meson)
checkdepends=(xorg-server-xvfb)
groups=(pantheon)
provides=(epiphany="${pkgver}" epiphany-sync)
conflicts=('epiphany')
_commit=16a4219dcb44b23d23c9ebe69ad466cb2ea7e597 # tags/3.35.2+1
source=("$pkgname::git+https://gitlab.gnome.org/GNOME/epiphany.git#commit=$_commit"
epiphany-sync{,.service}
"05-rename-to-epiphany.patch"
"06-double-click-for-new-tab.patch"
"07-overlay-bar-style.patch"
"08-rename-incongito-class-to-dodge-GNOME-style.patch"
"09-middle-click-closes-tab.patch"
"16-hide-the-fonts-and-styles-tab.patch"
"17-give-notebook-a-margin.patch")
sha1sums=('SKIP'
'2a8fda153bf3fb2d9a14b632082329ed6e2d8fab'
'2c1c89aee5e1ea2ca47d518690b93238213e73fd'
'7dbfdea116239bb3ee947e9175a43a6bdd768f1e'
'71fc912aee1e01bc6d17907d7bfa33852ef15fb2'
'cb88f86c9e44936993ab2e3a02f71874de422ae7'
'0f1085fb06e06298c7fb8feb12be0699d166dd2b'
'5c0d41eda4b449ceba4699e1a1e8b6359d12deb4'
'0f3e50ecb72b9cf671dc75d5ac987f5e05b2ed66'
'cd1090f20a153d77060aa1d6304c4d5e621c125f')
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgname
msg2 "rename to epiphany"; patch -Np1 < ../05-rename-to-epiphany.patch
msg2 "double click for new tab"; patch -Np1 < ../06-double-click-for-new-tab.patch
msg2 "overlay bar style"; patch -Np1 < ../07-overlay-bar-style.patch
msg2 "rename incognito class"; patch -Np1 < ../08-rename-incongito-class-to-dodge-GNOME-style.patch
msg2 "middle click closes tab"; patch -Np1 < ../09-middle-click-closes-tab.patch
msg2 "hide the fonts and styles tab"; patch -Np1 < ../16-hide-the-fonts-and-styles-tab.patch
msg2 "give notebook a margin"; patch -Np1 < ../17-give-notebook-a-margin.patch
}
build() {
arch-meson $pkgname build
ninja -C build
}
check() {
# ERROR:../epiphany/tests/ephy-web-app-utils-test.c:109:test_web_app_lifetime: assertion failed (g_list_length (apps) == 1): (0 == 1)
xvfb-run meson test -C build --print-errorlogs || :
}
package() {
DESTDIR="$pkgdir" meson install -C build
install -Dm 755 {"${srcdir}","${pkgdir}"/usr/bin}/epiphany-sync
install -Dm 644 {"${srcdir}","${pkgdir}"/usr/lib/systemd/user}/epiphany-sync.service
}
|