summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/enchant/enchant2_2.2.12.bb
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-11-02 17:49:00 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-03 08:20:42 +0000
commit53971a92b7a1b7c94fefc6ea89db6e1e715f1972 (patch)
tree28927065634c429e6f398e96171ffe044ae03ed1 /meta/recipes-support/enchant/enchant2_2.2.12.bb
parent1d2d6b801d553d63db671e5f574c892f4623b753 (diff)
downloadopenembedded-core-53971a92b7a1b7c94fefc6ea89db6e1e715f1972.tar.gz
enchant2: upgrade 2.2.9 -> 2.2.12
License-Update: reformatting Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/enchant/enchant2_2.2.12.bb')
-rw-r--r--meta/recipes-support/enchant/enchant2_2.2.12.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-support/enchant/enchant2_2.2.12.bb b/meta/recipes-support/enchant/enchant2_2.2.12.bb
new file mode 100644
index 0000000000..1ce8245731
--- /dev/null
+++ b/meta/recipes-support/enchant/enchant2_2.2.12.bb
@@ -0,0 +1,28 @@
+SUMMARY = "Enchant Spell checker API Library"
+SECTION = "libs"
+HOMEPAGE = "https://abiword.github.io/enchant/"
+LICENSE = "LGPLv2.1+"
+LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
+
+DEPENDS = "glib-2.0"
+
+inherit autotools pkgconfig
+
+SRC_URI = "https://github.com/AbiWord/enchant/releases/download/v${PV}/enchant-${PV}.tar.gz"
+SRC_URI[sha256sum] = "6b9bc58ae714ee7f5335ade966f4ac5718d5339e280cc9e1cca9ab278c06227e"
+
+UPSTREAM_CHECK_URI = "https://github.com/AbiWord/enchant/releases"
+
+S = "${WORKDIR}/enchant-${PV}"
+
+EXTRA_OEMAKE = "pkgdatadir=${datadir}/enchant-2"
+
+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"