[gnome-build-meta/alatiera/nuspell: 4/4] sdk: add nuspell




commit 177bf27f670e905420c6d59271255ee45c515035
Author: Jordan Petridis <jordan centricular com>
Date:   Sun Dec 5 13:22:17 2021 +0200

    sdk: add nuspell
    
    Nuspell is another popular spellchecker, and used by enchant.
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/1393>

 elements/sdk/enchant-2.bst |  2 ++
 elements/sdk/nuspell.bst   | 16 ++++++++++++++++
 2 files changed, 18 insertions(+)
---
diff --git a/elements/sdk/enchant-2.bst b/elements/sdk/enchant-2.bst
index 768a84148..9bc37ae81 100644
--- a/elements/sdk/enchant-2.bst
+++ b/elements/sdk/enchant-2.bst
@@ -6,12 +6,14 @@ build-depends:
 - freedesktop-sdk.bst:public-stacks/buildsystem-autotools.bst
 depends:
 - sdk/glib.bst
+- sdk/nuspell.bst
 - freedesktop-sdk.bst:components/hunspell.bst
 - freedesktop-sdk.bst:bootstrap-import.bst
 variables:
   conf-local: >-
     --with-hunspell
     --with-hunspell-dir=/usr/share/myspell
+    --with-nuspell
 public:
   bst:
     split-rules:
diff --git a/elements/sdk/nuspell.bst b/elements/sdk/nuspell.bst
new file mode 100644
index 000000000..e66786a89
--- /dev/null
+++ b/elements/sdk/nuspell.bst
@@ -0,0 +1,16 @@
+kind: cmake
+sources:
+- kind: tar
+  url: https://github.com/nuspell/nuspell/archive/refs/tags/v5.0.1.tar.gz
+build-depends:
+- freedesktop-sdk.bst:public-stacks/buildsystem-cmake.bst
+depends:
+- freedesktop-sdk.bst:components/hunspell.bst
+- freedesktop-sdk.bst:components/icu.bst
+- freedesktop-sdk.bst:bootstrap-import.bst
+public:
+  bst:
+    split-rules:
+      devel:
+        (>):
+        - '%{libdir}/libnuspell.so'


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]