aboutsummaryrefslogblamecommitdiffstats
path: root/community/jsonrpc-glib/APKBUILD
blob: 9c8f00e8b60a3135170b08a8807553e2dce35025 (plain) (tree)
1
2
3
4
5


                                               
             
        









                                                                                                
                      

                                       
                                                   


         
                                            


           
                                                              

 
                                                                                                                                                                        
                                                                                                                                                           
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=jsonrpc-glib
pkgver=3.38.0
pkgrel=1
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() {
	abuild-meson \
		-Denable_gtk_doc=true \
		. output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="1862403c37b7140e91720264a1b00a408b969f0464fc022a5c24be0eea993526d118ece6611927e1309071c3db9d3d6bf9f13ae8ed23ff1d34f36fb68c2584cd  jsonrpc-glib-3.38.0.tar.xz
ec2eea185a86c6ac16fc51c7d67faca7805c69e6127f1288d551ba7249f898672a5a4ef1f2d05531f65e5d5087d4d576b251f3330806809bdeab6abd6593dc34  disable-flaky-test.patch"