summaryrefslogtreecommitdiff
path: root/user/gspell
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2024-12-15 12:27:53 -0800
committerZach van Rijn <me@zv.io>2024-12-24 02:43:23 +0000
commitbdc499ba8eecd2ea3afb94d19deaf5fdc7767639 (patch)
treede566d5c6796d676e9bc00527d074665f1654ea3 /user/gspell
parent76a4238ef2b40d7e42d6f5e1ccab759dc3fc6c48 (diff)
downloadpackages-bdc499ba8eecd2ea3afb94d19deaf5fdc7767639.tar.gz
packages-bdc499ba8eecd2ea3afb94d19deaf5fdc7767639.tar.bz2
packages-bdc499ba8eecd2ea3afb94d19deaf5fdc7767639.tar.xz
packages-bdc499ba8eecd2ea3afb94d19deaf5fdc7767639.zip
user/gspell: new package
Diffstat (limited to 'user/gspell')
-rw-r--r--user/gspell/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/gspell/APKBUILD b/user/gspell/APKBUILD
new file mode 100644
index 000000000..69599a5c1
--- /dev/null
+++ b/user/gspell/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=gspell
+pkgver=1.14.0
+pkgrel=0
+pkgdesc="Spelling checker library for GTK programs"
+url="https://gnome.org"
+arch="all"
+options="!check" # does not support enchant aspell backend; see
+ # https://bugzilla.gnome.org/show_bug.cgi?id=772406
+license="LGPL-2.1+"
+depends=""
+checkdepends="aspell aspell-dict-en"
+makedepends="enchant-dev glib-dev gobject-introspection-dev gtk-doc gtk+3.0-dev meson vala-dev"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+source="https://download.gnome.org/sources/gspell/${pkgver%.*}/gspell-$pkgver.tar.xz"
+
+build() {
+ meson setup \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --buildtype=release \
+ --wrap-mode=nofallback \
+ . output
+ meson compile -C output
+}
+
+check() {
+ LANG="en_US.UTF-8" meson test -C output
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C output
+}
+
+sha512sums="d2e9931f4c37170b483ece9ee50b0af8aa281cf1bde5ac009d2a0c7dd2dbfc90e591df13dd555465c04cccdc2864b788d372625be9f71d6541e6e6b0fd3c4370 gspell-1.14.0.tar.xz"