aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/enchant/enchant2_2.2.7.bb
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2020-01-06 20:05:02 +0200
committerKhem Raj <raj.khem@gmail.com>2020-01-06 19:22:26 -0800
commitf9bcd330a778507544347bce2b522914f0b0bdf0 (patch)
tree810a00ef2f00aeab8c32d361cdb72417efc311e2 /meta-oe/recipes-support/enchant/enchant2_2.2.7.bb
parentef23e883f28945928c755b8a8fadf4a4dce5ff33 (diff)
downloadmeta-openembedded-contrib-f9bcd330a778507544347bce2b522914f0b0bdf0.tar.gz
enchant2: Upgrade 2.2.3 -> 2.2.7
Also add UPSTREAM_CHECK_URI. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/enchant/enchant2_2.2.7.bb')
-rw-r--r--meta-oe/recipes-support/enchant/enchant2_2.2.7.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/enchant/enchant2_2.2.7.bb b/meta-oe/recipes-support/enchant/enchant2_2.2.7.bb
new file mode 100644
index 0000000000..b30b2d8e4e
--- /dev/null
+++ b/meta-oe/recipes-support/enchant/enchant2_2.2.7.bb
@@ -0,0 +1,28 @@
+SUMMARY = "Enchant Spell checker API Library v2"
+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] = "8a6ea1bb143c64e0edf5e49c7e7cb984"
+SRC_URI[sha256sum] = "1b22976135812b35cb5b8d21a53ad11d5e7c1426c93f51e7a314a2a42cab3a09"
+
+UPSTREAM_CHECK_URI = "https://github.com/AbiWord/enchant/releases"
+
+S = "${WORKDIR}/enchant-${PV}"
+
+EXTRA_OEMAKE = "pkgdatadir=${datadir}/enchant-2"
+
+PACKAGECONFIG ??= "hunspell"
+PACKAGECONFIG[aspell] = "--with-aspell,--without-aspell,aspell,aspell"
+PACKAGECONFIG[hunspell] = "--with-hunspell,--without-hunspell,hunspell,hunspell"
+
+FILES_${PN} += " \
+ ${datadir}/enchant-2 \
+ ${libdir}/enchant-2 \
+"