blob: c892f570c46721d8c57c4f6e4d537d6607d5b85f [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001SUMMARY = "Enchant Spell checker API Library"
2DESCRIPTION = "A library (and command-line program) that wraps a number of \
3different spelling libraries and programs with a consistent interface."
4SECTION = "libs"
5HOMEPAGE = "https://abiword.github.io/enchant/"
6BUGTRACKER = "https://github.com/AbiWord/enchant/issues/"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00007LICENSE = "LGPL-2.1-or-later"
Andrew Geissler595f6302022-01-24 19:11:47 +00008LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
9
10DEPENDS = "glib-2.0"
11
Andrew Geissler87f5cff2022-09-30 13:13:31 -050012inherit autotools pkgconfig github-releases
Andrew Geissler595f6302022-01-24 19:11:47 +000013
Andrew Geissler87f5cff2022-09-30 13:13:31 -050014SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/enchant-${PV}.tar.gz"
Patrick Williams03907ee2022-05-01 06:28:52 -050015SRC_URI[sha256sum] = "3da12103f11cf49c3cf2fd2ce3017575c5321a489e5b9bfa81dd91ec413f3891"
Andrew Geissler595f6302022-01-24 19:11:47 +000016
Andrew Geissler87f5cff2022-09-30 13:13:31 -050017GITHUB_BASE_URI = "https://github.com/AbiWord/enchant/releases"
Andrew Geissler595f6302022-01-24 19:11:47 +000018
19S = "${WORKDIR}/enchant-${PV}"
20
21EXTRA_OEMAKE = "pkgdatadir=${datadir}/enchant-2"
22
23PACKAGECONFIG ??= "aspell"
24PACKAGECONFIG[aspell] = "--with-aspell,--without-aspell,aspell,aspell"
25PACKAGECONFIG[hunspell] = "--with-hunspell,--without-hunspell,hunspell,hunspell"
26
27FILES:${PN} += " \
28 ${datadir}/enchant-2 \
29 ${libdir}/enchant-2 \
30"
31FILES:${PN}-staticdev += "${libdir}/enchant-2/*.a"