# Maintainer (Arch): Jan Alexander Steffens (heftig) # Contributor (Arch): Jan de Groot # Maintainer: Omar Vega Ramos # Contributor: Isaac David # Contributor: Iván Ávalos # Contributor (Hyperbola): André Silva # Contributor (Hyperbola): Márcio Silva # parabola changes and rationale: # - rebranded to parabola # - switched default searchengine to duckduckgo # - removed useless dependency on icu because it's not # used at runtime according to readelf -d pkgname=epiphany pkgver=41.3 pkgrel=1 pkgrel+=.parabola1 pkgdesc="A GNOME web browser based on the WebKit rendering engine" pkgdesc+=", with DuckDuckGo-HTML search" url="https://wiki.gnome.org/Apps/Web" arch=(x86_64) arch+=(i686 armv7h) license=(GPL) depends=(webkit2gtk gcr icu libdazzle libhandy libarchive) depends=( $( sed 's| icu | |' <<<${depends[@]} ) ) depends+=(libhogweed.so) makedepends=(docbook-xml startup-notification lsb-release gobject-introspection yelp-tools git meson) checkdepends=(xorg-server-xvfb aspell hspell hunspell nuspell libvoikko) groups=(gnome) _commit=ce3713dfd4f69275c2c46a6687c24deb8b8aa367 # tags/41.3^0 source=("git+https://gitlab.gnome.org/GNOME/epiphany.git#commit=$_commit") source+=(libre.patch) sha256sums=('SKIP' '72550d13552736e5c1b81a69465472e3b8195dbba118ba79a172754145d240a6') # check() requires networking _run_check=1 pkgver() { cd $pkgname git describe --tags | sed 's/-/+/g' } prepare() { cd $pkgname patch -Np1 -i ../libre.patch } build() { arch-meson $pkgname build -D libportal=disabled meson compile -C build } check() { (( _run_check )) || ! echo "skipping check()" || return 0 dbus-run-session xvfb-run \ -s '-screen 0 1920x1080x24 -nolisten local' \ meson test -C build --print-errorlogs } package() { meson install -C build --destdir "$pkgdir" }