mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-07 14:04:43 +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
46 lines
1.1 KiB
Text
46 lines
1.1 KiB
Text
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=folks
|
|
pkgver=0.15.9
|
|
pkgrel=1
|
|
pkgdesc="GObject Library to aggregate people into metacontacts"
|
|
url="https://wiki.gnome.org/Projects/Folks"
|
|
arch="all"
|
|
license="LGPL-2.1-or-later"
|
|
makedepends="
|
|
evolution-data-server-dev
|
|
gobject-introspection-dev
|
|
gtk-doc
|
|
libgee-dev
|
|
meson
|
|
py3-dbusmock
|
|
py3-setuptools
|
|
python3
|
|
readline-dev
|
|
telepathy-glib-dev
|
|
tinysparql-dev
|
|
vala
|
|
"
|
|
options="!check" # Can only be run against installed instance
|
|
subpackages="$pkgname-devhelp $pkgname-dev $pkgname-doc $pkgname-lang"
|
|
source="https://download.gnome.org/sources/folks/${pkgver%.*}/folks-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Db_lto=true \
|
|
-Ddocs=true \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
8b1f0afaaf0907a9609863ec913eab75c7f60e3d1fd54e553fdb8d425f33cfb6043171bc5b7cc1dc66b1de702e1a8f5dd229c707d99af47dd3926ec0588c87fd folks-0.15.9.tar.xz
|
|
"
|