mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-10 15:28:30 +02:00
meson 1.7.0 and later don't include test build targets in the default build target. With --no-rebuild the test targets aren't build at all. Removing --no-rebuild shouldn't cause any false rebuilds since the files aren't changed between the build() and check() step. Fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/16891 Ref https://github.com/mesonbuild/meson/pull/10413
32 lines
912 B
Text
32 lines
912 B
Text
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: team/gnome <kboykinov@teamcentrixx.com>
|
|
pkgname=jsonrpc-glib
|
|
pkgver=3.44.1
|
|
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 meson json-glib-dev"
|
|
subpackages="$pkgname-dev"
|
|
source="https://download.gnome.org/sources/jsonrpc-glib/${pkgver%.*}/jsonrpc-glib-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Db_lto=true \
|
|
-Denable_gtk_doc=false \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
1f03ba046fc2853d433e37f97fa2c105020c4f01000213ff1135e4bfcc9d194806f8af375f437cdf6ef5043b01909f8502212e437a94b4b2748d6f05d2a3bbff jsonrpc-glib-3.44.1.tar.xz
|
|
"
|