1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
4 pkgname=(libshumate libshumate-docs)
7 pkgdesc="Map widget for GTK 4"
8 url="https://wiki.gnome.org/Projects/libshumate"
11 depends=(glib2 cairo sqlite gtk4 libsoup3)
12 makedepends=(gobject-introspection gi-docgen vala meson git)
13 checkdepends=(xorg-server-xvfb)
14 _commit=55d89e24de5086404b996a73e94cd56ee2e9541a # tags/1.0.3^0
15 source=("git+https://gitlab.gnome.org/GNOME/libshumate.git#commit=$_commit")
20 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
32 arch-meson $pkgname build "${meson_options[@]}"
33 meson compile -C build
37 xvfb-run -s '-nolisten local' \
38 meson test -C build --print-errorlogs
41 package_libshumate() {
42 provides=(libshumate-1.0.so)
44 meson install -C build --destdir "$pkgdir"
46 mkdir -p doc/usr/share
47 mv {"$pkgdir",doc}/usr/share/doc
50 package_libshumate-docs() {
51 pkgdesc+=" (documentation)"
57 # vim:set sw=2 sts=-1 et: