summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/enchant/enchant2_2.6.5.bb
diff options
context:
space:
mode:
authorJiang Kai <jiangkai@fujitsu.com>2024-01-16 10:06:38 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-01-21 12:27:09 +0000
commit34eb325aa8fa22454c5a706845140a6c43cfbd6c (patch)
treecd3e10b88ad2fafe9940cc15ea02d85d73d2aabf /meta/recipes-support/enchant/enchant2_2.6.5.bb
parentcba6e5a16b62976692607c52e5ea6fe40d940067 (diff)
downloadopenembedded-core-34eb325aa8fa22454c5a706845140a6c43cfbd6c.tar.gz
enchant2: upgrade 2.6.4 -> 2.6.5
Changelog: ============ -permits error messages from spelling providers not to be valid UTF-8. -The --with-hunspell-dir configure option is removed (along with all the other ---with-PROVIDER-dir options, which did nothing). -Doxygen API documentation is now included in the release tarball Signed-off-by: Jiang Kai <jiangkai@fujitsu.com> Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/enchant/enchant2_2.6.5.bb')
-rw-r--r--meta/recipes-support/enchant/enchant2_2.6.5.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-support/enchant/enchant2_2.6.5.bb b/meta/recipes-support/enchant/enchant2_2.6.5.bb
new file mode 100644
index 0000000000..1d5c716bab
--- /dev/null
+++ b/meta/recipes-support/enchant/enchant2_2.6.5.bb
@@ -0,0 +1,29 @@
+SUMMARY = "Enchant Spell checker API Library"
+DESCRIPTION = "A library (and command-line program) that wraps a number of \
+different spelling libraries and programs with a consistent interface."
+SECTION = "libs"
+HOMEPAGE = "https://abiword.github.io/enchant/"
+BUGTRACKER = "https://github.com/AbiWord/enchant/issues/"
+LICENSE = "LGPL-2.1-or-later"
+LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
+
+DEPENDS = "glib-2.0 groff-native"
+
+inherit autotools pkgconfig github-releases
+
+SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/enchant-${PV}.tar.gz"
+SRC_URI[sha256sum] = "9e8fd28cb65a7b6da3545878a5c2f52a15f03c04933a5ff48db89fe86845728e"
+
+GITHUB_BASE_URI = "https://github.com/AbiWord/enchant/releases"
+
+S = "${WORKDIR}/enchant-${PV}"
+
+PACKAGECONFIG ??= "aspell"
+PACKAGECONFIG[aspell] = "--with-aspell,--without-aspell,aspell,aspell"
+PACKAGECONFIG[hunspell] = "--with-hunspell,--without-hunspell,hunspell,hunspell"
+
+FILES:${PN} += " \
+ ${datadir}/enchant-2 \
+ ${libdir}/enchant-2 \
+"
+FILES:${PN}-staticdev += "${libdir}/enchant-2/*.a"