summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/enchant
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/enchant')
-rw-r--r--meta/recipes-support/enchant/enchant2_2.6.9.bb (renamed from meta/recipes-support/enchant/enchant2_2.2.15.bb)18
1 files changed, 8 insertions, 10 deletions
diff --git a/meta/recipes-support/enchant/enchant2_2.2.15.bb b/meta/recipes-support/enchant/enchant2_2.6.9.bb
index ed87f11a8a..aaf3525ad8 100644
--- a/meta/recipes-support/enchant/enchant2_2.2.15.bb
+++ b/meta/recipes-support/enchant/enchant2_2.6.9.bb
@@ -4,28 +4,26 @@ different spelling libraries and programs with a consistent interface."
SECTION = "libs"
HOMEPAGE = "https://abiword.github.io/enchant/"
BUGTRACKER = "https://github.com/AbiWord/enchant/issues/"
-LICENSE = "LGPLv2.1+"
+LICENSE = "LGPL-2.1-or-later"
LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
-DEPENDS = "glib-2.0"
+DEPENDS = "glib-2.0 groff-native"
-inherit autotools pkgconfig
+inherit autotools pkgconfig github-releases
-SRC_URI = "https://github.com/AbiWord/enchant/releases/download/v${PV}/enchant-${PV}.tar.gz"
-SRC_URI[sha256sum] = "3b0f2215578115f28e2a6aa549b35128600394304bd79d6f28b0d3b3d6f46c03"
+SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/enchant-${PV}.tar.gz"
+SRC_URI[sha256sum] = "d9a5a10dc9b38a43b3a0fa22c76ed6ebb7e09eb535aff62954afcdbd40efff6b"
-UPSTREAM_CHECK_URI = "https://github.com/AbiWord/enchant/releases"
+GITHUB_BASE_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} += " \
+FILES:${PN} += " \
${datadir}/enchant-2 \
${libdir}/enchant-2 \
"
-FILES_${PN}-staticdev += "${libdir}/enchant-2/*.a"
+FILES:${PN}-staticdev += "${libdir}/enchant-2/*.a"