aboutsummaryrefslogtreecommitdiff
path: root/gspell/Pkgfile
diff options
context:
space:
mode:
authorJay Lanagan <j@lngn.net>2025-09-29 09:51:28 -0400
committerJay Lanagan <j@lngn.net>2025-09-29 09:51:28 -0400
commit9a6af577ce42cb73efc98c09ab1ef6f9e0083153 (patch)
tree883063343f20fe827c5aecdaa40fa9ddde2ecaf2 /gspell/Pkgfile
parentab119e4809a15d37522b7aea45d55911f8d43ac9 (diff)
downloadcrux-xfce4-9a6af577ce42cb73efc98c09ab1ef6f9e0083153.tar.gz
crux-xfce4-9a6af577ce42cb73efc98c09ab1ef6f9e0083153.zip
xfce4: initial migration
Diffstat (limited to 'gspell/Pkgfile')
-rw-r--r--gspell/Pkgfile34
1 files changed, 34 insertions, 0 deletions
diff --git a/gspell/Pkgfile b/gspell/Pkgfile
new file mode 100644
index 0000000..4de33cc
--- /dev/null
+++ b/gspell/Pkgfile
@@ -0,0 +1,34 @@
+# Description: A GTK spell check library
+# URL: https://gitlab.gnome.org/GNOME/gspell
+# Maintainer: Jay Lanagan, j at lngn dot net
+# Depends on: enchant gtk3 icu
+# Optional: hunspell gobject-introspection vala gtk-doc
+
+name=gspell
+version=1.14.0
+release=1
+source=(https://download.gnome.org/sources/$name/1.14/$name-$version.tar.xz)
+
+build() {
+
+ prt-get isinst vala && PKGMK_GSPELL+='-D vapi=true ' || PKGMK_GSPELL+=' -D vapi=false '
+ prt-get isinst gtk-doc && PKGMK_GSPELL+='-D gtk_doc=true ' || PKGMK_GSPELL+=' -D gtk_doc=false '
+ prt-get isinst gobject-introspection && PKGMK_GSPELL+='-D gobject_introspection=true ' || PKGMK_GSPELL+=' -D gobject_introspection=false '
+
+ meson setup $name-$version build $PKGMK_GSPELL \
+ --prefix=/usr \
+ --libexecdir=/usr/lib \
+ --sysconfdir=/etc \
+ --buildtype=plain \
+ -D tests=false \
+ -D install_tests=false \
+ -D gspell_app=false \
+ -D b_lto=true \
+ -D b_pie=true
+
+ meson compile -C build
+ DESTDIR=$PKG meson install -C build
+
+ rm -r $PKG/usr/share/{gtk-doc,locale}
+
+}