mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2024-09-20 11:23:16 +00:00
community/libspelling: new aport
This commit is contained in:
parent
e507ba54ef
commit
c3cdf94065
1 changed files with 43 additions and 0 deletions
43
community/libspelling/APKBUILD
Normal file
43
community/libspelling/APKBUILD
Normal file
|
@ -0,0 +1,43 @@
|
|||
# Contributor: fossdd <fossdd@pwned.life>
|
||||
# Maintainer: team/gnome <fossdd@pwned.life>
|
||||
pkgname=libspelling
|
||||
pkgver=0.4.0
|
||||
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"
|
||||
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 --no-rebuild --print-errorlogs -C output
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
ee908282312b536dfb352f0842a44f4f11cb79c01f6c6baeb4604cd34d341264cd429814ec6dce9da77a1749ebe9b6f831719c760c55b740fdad2eed9285211c libspelling-0.4.0.tar.xz
|
||||
"
|
Loading…
Reference in a new issue