aports/community/libspelling/APKBUILD
Sertonix 6bd45b53fb */*: remove --no-rebuild from meson test
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
2025-05-09 20:48:14 +00:00

43 lines
986 B
Text

# Contributor: fossdd <fossdd@pwned.life>
# Maintainer: team/gnome <fossdd@pwned.life>
pkgname=libspelling
pkgver=0.4.8
pkgrel=0
pkgdesc="Spellcheck library for GTK 4"
url="https://gitlab.gnome.org/GNOME/libspelling"
arch="all"
license="LGPL-2.1-or-later"
makedepends="
enchant2-dev
gi-docgen
glib-dev
gobject-introspection-dev
gtk4.0-dev
gtksourceview5-dev
meson
vala
"
checkdepends="enchant2-data"
subpackages="$pkgname-doc $pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/libspelling/${pkgver%.*}/libspelling-$pkgver.tar.xz"
options="!check" # tests fail
build() {
abuild-meson \
-Db_lto=true \
-Dsysprof=false \
. output
meson compile -C output
}
check() {
meson test --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
3139e15081eb82192921770fd7e551c6c77c122dc776eaffa655ee6c4205c744cbfed8b59c7a8fd4b00c77998cf3ae181b76c54fbf34ab1be4e2baca62b45d17 libspelling-0.4.8.tar.xz
"