blob: eb27642b2bab42bfc9a3f397fed53076c5ed50ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=jsonrpc-glib
pkgver=3.34.0
pkgrel=2
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=plain \
-Denable_gtk_doc=true \
. output
ninja -C output
}
check() {
ninja -C output test
}
package() {
DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="58908dd11f7848b09e63f7a7ff2185d0742c049ddffb033e768f783bcbcda7e75a658bec923372212694431b25b0fb894e3ea37ce2d7c52c99e49fd230319c10 jsonrpc-glib-3.34.0.tar.xz
ec2eea185a86c6ac16fc51c7d67faca7805c69e6127f1288d551ba7249f898672a5a4ef1f2d05531f65e5d5087d4d576b251f3330806809bdeab6abd6593dc34 disable-flaky-test.patch"
|