mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 19: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
42 lines
996 B
Text
42 lines
996 B
Text
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=gspell
|
|
pkgver=1.14.0
|
|
pkgrel=1
|
|
pkgdesc="Flexible API to add spell checking to a GTK+ application"
|
|
url="https://gitlab.gnome.org/GNOME/gspell"
|
|
arch="all"
|
|
license="LGPL-2.1-or-later"
|
|
depends="iso-codes"
|
|
makedepends="
|
|
enchant2
|
|
enchant2-dev
|
|
glib-dev
|
|
gobject-introspection-dev
|
|
gtk+3.0-dev
|
|
iso-codes-dev
|
|
meson
|
|
vala
|
|
"
|
|
checkdepends="xvfb-run hunspell-en ibus"
|
|
subpackages="$pkgname-dbg $pkgname-dev $pkgname-lang"
|
|
source="https://download.gnome.org/sources/gspell/${pkgver%.*}/gspell-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Dgtk_doc=false \
|
|
output .
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
xvfb-run -a meson test --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
d2e9931f4c37170b483ece9ee50b0af8aa281cf1bde5ac009d2a0c7dd2dbfc90e591df13dd555465c04cccdc2864b788d372625be9f71d6541e6e6b0fd3c4370 gspell-1.14.0.tar.xz
|
|
"
|