# Maintainer (Arch): Jan Alexander Steffens (heftig) # Maintainer (Arch): Jan de Groot # Maintainer: Omar Vega Ramos # Contributor: Isaac David # Contributor: André Silva # Contributor: Márcio Silva # parabola changes and rationale: # - rebranded to parabola # - switched default searchengine to duckduckgo pkgname=epiphany pkgver=3.30.3 pkgrel=1 pkgrel+=.par2 pkgdesc="A GNOME web browser based on the WebKit rendering engine" pkgdesc=+", with DuckDuckGo HTML support" url="https://wiki.gnome.org/Apps/Web" arch=(x86_64) arch+=(i686 armv7h) license=(GPL) depends=(webkit2gtk gcr icu libdazzle) makedepends=(docbook-xml startup-notification lsb-release gobject-introspection yelp-tools appstream-glib git meson) checkdepends=(xorg-server-xvfb) groups=(gnome) _commit=0777a3db37a3c8520740448bf50f620a94a8e551 # tags/3.30.3^0 source=("git+https://gitlab.gnome.org/GNOME/epiphany.git#commit=$_commit" libre.patch) sha256sums=('SKIP' '8cee8e5f896ce12832d50e7ab97ef16165d70d135018742e0f5bc15507d4e708') pkgver() { cd $pkgname git describe --tags | sed 's/-/+/g' } prepare() { cd $pkgname patch -Np1 -i ../libre.patch } build() { arch-meson $pkgname build \ -D distributor_name="Parabola GNU/Linux-libre" 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 || : } package() { local _icu_ver _icu_ver=$(pacman -S --print-format='%v' icu) depends+=("icu>=${_icu_ver}" "icu<$((${_icu_ver%%.*} + 1))") DESTDIR="$pkgdir" meson install -C build }