# Maintainer: team/gnome pkgname=libshumate pkgver=1.0.5 pkgrel=2 pkgdesc="GTK4 widget to display maps" url="https://gitlab.gnome.org/GNOME/libshumate" arch="all" license="LGPL-2.1-or-later" makedepends=" gobject-introspection-dev gtk4.0-dev libsoup3-dev meson vala " checkdepends="dbus mesa-dri-gallium xvfb-run" subpackages="$pkgname-dev $pkgname-lang" source="https://gitlab.gnome.org/GNOME/libshumate/-/archive/$pkgver/libshumate-$pkgver.tar.gz" build() { abuild-meson \ -Db_lto=true \ -Dgtk_doc=false \ . output meson compile -C output } check() { dbus-run-session \ xvfb-run -a \ meson test --no-rebuild --print-errorlogs -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums=" 61d3ff033c9c07ff5c2524ad8f6825ada19732bc24bf4b43427f4b31e470378a3630cc603bf65f0e8a68438e27871726a27f0a9b87037641173447164e7f1b7b libshumate-1.0.5.tar.gz "