1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="Document viewer (PDF, PostScript, XPS, djvu, dvi, tiff, cbr, cbz, cb7, cbt)"
8 url="https://wiki.gnome.org/Apps/Evince"
11 depends=(gtk3 libgxps libspectre gsfonts poppler-glib djvulibre t1lib dconf libsecret libsynctex
12 gsettings-desktop-schemas gnome-desktop libarchive gst-plugins-base-libs gspell libhandy
14 makedepends=(libnautilus-extension texlive-bin gobject-introspection docbook-xsl python gtk-doc git
15 meson appstream-glib yelp-tools)
16 optdepends=('texlive-bin: DVI support')
17 provides=(libev{document,view}3.so)
19 _commit=08780f527ac0306f527c48ea6cc77a7b2c6c5fa8 # tags/41.3^0
20 source=("git+https://gitlab.gnome.org/GNOME/evince.git#commit=$_commit")
25 git describe --tags | sed 's/-/+/g'
33 arch-meson $pkgname build -D ps=enabled
34 meson compile -C build
38 meson test -C build --print-errorlogs
42 meson install -C build --destdir "$pkgdir"