# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=jsonrpc-glib pkgver=3.32.0 pkgrel=0 pkgdesc="Library to communicate using the JSON-RPC 2.0 specification" url="https://gitlab.gnome.org/GNOME/jsonrpc-glib" arch="all" license="GPL-3.0-or-later" makedepends="gtk+3.0-dev vala gobject-introspection-dev gtk-doc meson json-glib-dev" subpackages="$pkgname-dev $pkgname-doc" source="https://download.gnome.org/sources/jsonrpc-glib/${pkgver%.*}/jsonrpc-glib-$pkgver.tar.xz disable-flaky-test.patch" build() { meson \ --prefix=/usr \ --buildtype=release \ -Denable_gtk_doc=true \ . output ninja -C output } check() { ninja -C output test } package() { DESTDIR="$pkgdir" ninja -C output install } sha512sums="c6c52d36d3f8f736bc07c50174ca4a50e3cde6b23928751f260b4482e15cda9726b8279228653e4fde114111592131f344f3c7cf820edcc680fb0b32f9089ea5 jsonrpc-glib-3.32.0.tar.xz ec2eea185a86c6ac16fc51c7d67faca7805c69e6127f1288d551ba7249f898672a5a4ef1f2d05531f65e5d5087d4d576b251f3330806809bdeab6abd6593dc34 disable-flaky-test.patch"