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


                                               
             
        



                                                                     
                                                                            
                          



                                                                                                
                      
                                        
                        
                                                   


         
                                            


           
                                                              

 
            
                                                                                                                                                            

                                                                                                                                                          
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=jsonrpc-glib
pkgver=3.42.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 meson json-glib-dev"
subpackages="$pkgname-dev"
source="https://download.gnome.org/sources/jsonrpc-glib/${pkgver%.*}/jsonrpc-glib-$pkgver.tar.xz
	disable-flaky-test.patch"

build() {
	abuild-meson \
		-Denable_gtk_doc=false \
		. 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="
615e446dba2b1bbefe1bf8891449de9d39e3486fefda590781f59469ea50e6affa487bcb260bd3e21ca30e696b1dec7a761c8d93ec9c0894d9bb4c3d65f106dc  jsonrpc-glib-3.42.0.tar.xz
ec2eea185a86c6ac16fc51c7d67faca7805c69e6127f1288d551ba7249f898672a5a4ef1f2d05531f65e5d5087d4d576b251f3330806809bdeab6abd6593dc34  disable-flaky-test.patch
"