Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "Enchant Spell checker API Library" |
Andrew Geissler | 90fd73c | 2021-03-05 15:25:55 -0600 | [diff] [blame] | 2 | DESCRIPTION = "A library (and command-line program) that wraps a number of \ |
| 3 | different spelling libraries and programs with a consistent interface." |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 4 | SECTION = "libs" |
| 5 | HOMEPAGE = "https://abiword.github.io/enchant/" |
Andrew Geissler | 90fd73c | 2021-03-05 15:25:55 -0600 | [diff] [blame] | 6 | BUGTRACKER = "https://github.com/AbiWord/enchant/issues/" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 7 | LICENSE = "LGPLv2.1+" |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 8 | LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 9 | |
| 10 | DEPENDS = "glib-2.0" |
| 11 | |
| 12 | inherit autotools pkgconfig |
| 13 | |
| 14 | SRC_URI = "https://github.com/AbiWord/enchant/releases/download/v${PV}/enchant-${PV}.tar.gz" |
Andrew Geissler | 0903674 | 2021-06-25 14:25:14 -0500 | [diff] [blame] | 15 | SRC_URI[sha256sum] = "df68063b6c13b245fa7246b0e098a03e74f7a91c6d8947bc5c4f42ce55e2e41d" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 16 | |
| 17 | UPSTREAM_CHECK_URI = "https://github.com/AbiWord/enchant/releases" |
| 18 | |
| 19 | S = "${WORKDIR}/enchant-${PV}" |
| 20 | |
| 21 | EXTRA_OEMAKE = "pkgdatadir=${datadir}/enchant-2" |
| 22 | |
| 23 | PACKAGECONFIG ??= "aspell" |
| 24 | PACKAGECONFIG[aspell] = "--with-aspell,--without-aspell,aspell,aspell" |
| 25 | PACKAGECONFIG[hunspell] = "--with-hunspell,--without-hunspell,hunspell,hunspell" |
| 26 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 27 | FILES:${PN} += " \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 28 | ${datadir}/enchant-2 \ |
| 29 | ${libdir}/enchant-2 \ |
| 30 | " |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 31 | FILES:${PN}-staticdev += "${libdir}/enchant-2/*.a" |