mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-04 11:14:48 +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
41 lines
1.5 KiB
Text
41 lines
1.5 KiB
Text
# Contributor: Luca Weiss <luca@lucaweiss.eu>
|
|
# Maintainer: Luca Weiss <luca@lucaweiss.eu>
|
|
pkgname=libsignon-glib
|
|
pkgver=2.1
|
|
_spec_commit="67487954653006ebd0743188342df65342dc8f9b"
|
|
pkgrel=6
|
|
pkgdesc="GLib library to interface with the Signon Daemon"
|
|
url="https://gitlab.com/accounts-sso/libsignon-glib"
|
|
arch="all"
|
|
license="LGPL-2.1-only"
|
|
makedepends="meson glib-dev check-dev gobject-introspection-dev vala py3-gobject3 gtk-doc"
|
|
checkdepends="dbus-test-runner signond"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="https://gitlab.com/accounts-sso/libsignon-glib/-/archive/$pkgver/libsignon-glib-$pkgver.tar.gz
|
|
https://gitlab.com/accounts-sso/signon-dbus-specification/-/archive/$_spec_commit/signon-dbus-specification-$_spec_commit.tar.gz
|
|
"
|
|
options="!check" # some tests fail with "Could not access Signon Database."
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
cp "$srcdir"/signon-dbus-specification-$_spec_commit/* \
|
|
"$builddir"/libsignon-glib/interfaces/
|
|
}
|
|
|
|
build() {
|
|
abuild-meson \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="012add0d14eabcd715fd0abc5f139118ade1d879dec225934084afc5b3438cb480bf5e6b73bcd7cf78b0a6b312064631860774b1d58286c739e219d3ea736af4 libsignon-glib-2.1.tar.gz
|
|
8b65019e2793dd58b2b60f8893ab999513a6aa2374f5d1053341fcdec6e2debb4d729abbbef17c8a2cb0b905893f06118649f17698bb91dc4e2681b2fe99e4b3 signon-dbus-specification-67487954653006ebd0743188342df65342dc8f9b.tar.gz"
|