mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 02:54:23 +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
38 lines
889 B
Text
38 lines
889 B
Text
# Contributor: fossdd <fossdd@pwned.life>
|
|
# Maintainer: team/gnome <fossdd@pwned.life>
|
|
pkgname=msgraph
|
|
pkgver=0.3.3
|
|
pkgrel=0
|
|
pkgdesc="Library to access MS Graph API for Office 365."
|
|
url="https://gitlab.gnome.org/GNOME/msgraph"
|
|
arch="all"
|
|
license="LGPL-3.0-or-later"
|
|
makedepends="
|
|
gi-docgen
|
|
glib-dev
|
|
gnome-online-accounts-dev
|
|
gobject-introspection-dev
|
|
json-glib-dev
|
|
libsoup3-dev
|
|
meson
|
|
uhttpmock-dev
|
|
"
|
|
subpackages="$pkgname-doc $pkgname-dev"
|
|
source="https://download.gnome.org/sources/msgraph/${pkgver%.*}/msgraph-$pkgver.tar.xz"
|
|
|
|
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="
|
|
8dbb53d5e16c6473a8c631be00d3d1d9ddef2969235c45128fbc66151e6a8ab8c5dfb672e4b3f38754cf0b762dbee1a61ff901f6d135e3d670b5c9a9355f83e0 msgraph-0.3.3.tar.xz
|
|
"
|