mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 20:36:40 +02:00
testing/jsonrpc-glib: new aport
This commit is contained in:
parent
3b0304ade9
commit
2bfc98b40f
33
testing/jsonrpc-glib/APKBUILD
Normal file
33
testing/jsonrpc-glib/APKBUILD
Normal file
@ -0,0 +1,33 @@
|
||||
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
||||
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
|
||||
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"
|
||||
19
testing/jsonrpc-glib/disable-flaky-test.patch
Normal file
19
testing/jsonrpc-glib/disable-flaky-test.patch
Normal file
@ -0,0 +1,19 @@
|
||||
See https://gitlab.gnome.org/GNOME/jsonrpc-glib/issues/2
|
||||
diff --git a/tests/meson.build b/tests/meson.build
|
||||
index 40b410b..3318c79 100644
|
||||
--- a/tests/meson.build
|
||||
+++ b/tests/meson.build
|
||||
@@ -38,13 +38,6 @@ test_server = executable('test-server', 'test-server.c',
|
||||
)
|
||||
test('test-server', test_server, env: test_env)
|
||||
|
||||
-test_stress = executable('test-stress', 'test-stress.c',
|
||||
- c_args: test_cflags,
|
||||
- link_args: test_link_args,
|
||||
- dependencies: test_deps,
|
||||
-)
|
||||
-test('test-stress', test_stress, env: test_env)
|
||||
-
|
||||
test_gauntlet = executable('test-gauntlet', 'test-gauntlet.c',
|
||||
c_args: test_cflags,
|
||||
link_args: test_link_args,
|
||||
Loading…
x
Reference in New Issue
Block a user