# Maintainer: 100best # Contributor: Jan Alexander Steffens (heftig) # Contributor: Jan de Groot _pkgname=epiphany pkgname=epiphany-unstable pkgver=3.37.91 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=(webkit2gtk gcr icu libdazzle libhandy1 libportal) makedepends=(docbook-xml startup-notification lsb-release gobject-introspection yelp-tools appstream-glib git meson) checkdepends=(xorg-server-xvfb) groups=(gnome) _commit=35ca06a35237953caf2fd9f7c8982ec1a66454ef # tags/3.37.91^0 source=("git+https://gitlab.gnome.org/GNOME/epiphany.git#commit=$_commit") sha256sums=('SKIP') conflicts=(epiphany epiphany-git) provides=(epiphany) pkgver() { cd $_pkgname git describe --tags | sed 's/-/+/g' } prepare() { cd $_pkgname } build() { arch-meson $_pkgname build meson compile -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) dbus-run-session xvfb-run \ -s '-screen 0 1920x1080x24 -nolisten local' \ meson test -C build --print-errorlogs || : } package() { DESTDIR="$pkgdir" meson install -C build }