1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
3 pkgname=gnome-documents
4 pkgver=3.34.0+34+g678141fa
6 pkgdesc="A document manager application for GNOME"
7 url="https://wiki.gnome.org/Apps/Documents"
10 depends=(evince gjs gtk3 gnome-desktop gnome-online-accounts libgdata
11 tracker-miners libzapojit webkit2gtk gnome-online-miners librsvg
12 libgepub gnome-epub-thumbnailer)
13 makedepends=(gobject-introspection git meson yelp-tools inkscape)
14 optdepends=('libreoffice-fresh: Support for Libreoffice document types')
16 _commit=678141fa4cdce0af0baccff965c27734b0c4546b # master
17 source=("git+https://gitlab.gnome.org/GNOME/gnome-documents.git#commit=$_commit"
18 "git+https://gitlab.gnome.org/GNOME/libgd.git"
19 0001-getting-started-Fix-the-build-with-inkscape-1.0.patch)
22 '9c7dea42e61b179c780795ae3441ec92a06d5660242649f39aaf441d0b1bb6c0')
26 git describe --tags | sed 's/-/+/g'
32 # https://bugs.archlinux.org/task/67942
33 git apply -3 ../0001-getting-started-Fix-the-build-with-inkscape-1.0.patch
36 git submodule set-url subprojects/libgd "$srcdir/libgd"
42 arch-meson $pkgname build -D getting_started=true
43 meson compile -C build
47 meson test -C build --print-errorlogs
51 meson install -C build --destdir "$pkgdir"