summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/enchant/enchant2_2.2.8.bb
diff options
context:
space:
mode:
authorAnuj Mittal <anuj.mittal@intel.com>2020-03-02 12:45:52 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-02 20:57:24 +0000
commitd9d386122f70b6692f614e526fe3168d674533bf (patch)
tree3944a3da85cea415e513edd4cc482da5f2c7322f /meta/recipes-support/enchant/enchant2_2.2.8.bb
parent7bd664600cce0fba4e256c690078ef69e39be299 (diff)
downloadopenembedded-core-contrib-d9d386122f70b6692f614e526fe3168d674533bf.tar.gz
enchant2: upgrade 2.2.7 -> 2.2.8
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/enchant/enchant2_2.2.8.bb')
-rw-r--r--meta/recipes-support/enchant/enchant2_2.2.8.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-support/enchant/enchant2_2.2.8.bb b/meta/recipes-support/enchant/enchant2_2.2.8.bb
new file mode 100644
index 0000000000..4ddbe55da5
--- /dev/null
+++ b/meta/recipes-support/enchant/enchant2_2.2.8.bb
@@ -0,0 +1,29 @@
+SUMMARY = "Enchant Spell checker API Library"
+SECTION = "libs"
+HOMEPAGE = "https://abiword.github.io/enchant/"
+LICENSE = "LGPLv2.1+"
+LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=a916467b91076e631dd8edb7424769c7"
+
+DEPENDS = "glib-2.0"
+
+inherit autotools pkgconfig
+
+SRC_URI = "https://github.com/AbiWord/enchant/releases/download/v${PV}/enchant-${PV}.tar.gz"
+SRC_URI[md5sum] = "c7b9d6a392ecb8758e499f783e8dc883"
+SRC_URI[sha256sum] = "c7b5e2853f0dd0b1aafea2f9e071941affeec3a76df8e3f6d67a718c89293555"
+
+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"