1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
8 pkgdesc="Eye of Gnome: An image viewing and cataloging program"
9 url="https://wiki.gnome.org/Apps/EyeOfGnome"
12 depends=(gnome-desktop libexif lcms2 exempi libpeas librsvg libhandy)
13 makedepends=(gobject-introspection gi-docgen git meson yelp-tools systemd)
15 _commit=b38fb1f0048b086100ab9ff5c0b2e18142880e8a # tags/42.3^0
16 source=("git+https://gitlab.gnome.org/GNOME/eog.git#commit=$_commit")
21 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
25 arch-meson eog build -D gtk_doc=true -D libportal=false
26 meson compile -C build
30 meson test -C build --print-errorlogs
34 optdepends=('eog-plugins: Additional features')
37 meson install -C build --destdir "$pkgdir"
39 mkdir -p doc/usr/share
40 mv {"$pkgdir",doc}/usr/share/gtk-doc
44 pkgdesc+=" (documentation)"