diff options
author | Adrian Bunk <bunk@stusta.de> | 2020-01-07 13:26:15 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-10 21:18:22 +0000 |
commit | 247b23b2de543beb8192bfb94cd3afd4a9dc19fc (patch) | |
tree | 783dea1caea7990698c90bcc67e0bf6ee1bd1569 /meta/recipes-support/enchant | |
parent | 26cc774954adee391d9d0a36797023422648bd5f (diff) | |
download | poky-247b23b2de543beb8192bfb94cd3afd4a9dc19fc.tar.gz |
enchant: Replace with enchant2 from meta-oe
webkitgtk does now support the new version.
(From OE-Core rev: aca863fc4259863d6841b25649c6718c64ccfe6b)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/enchant')
-rw-r--r-- | meta/recipes-support/enchant/enchant2_2.2.7.bb | 28 | ||||
-rw-r--r-- | meta/recipes-support/enchant/enchant_1.6.0.bb | 34 |
2 files changed, 28 insertions, 34 deletions
diff --git a/meta/recipes-support/enchant/enchant2_2.2.7.bb b/meta/recipes-support/enchant/enchant2_2.2.7.bb new file mode 100644 index 0000000000..bdfd738487 --- /dev/null +++ b/meta/recipes-support/enchant/enchant2_2.2.7.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | SUMMARY = "Enchant Spell checker API Library" | ||
2 | SECTION = "libs" | ||
3 | HOMEPAGE = "https://abiword.github.io/enchant/" | ||
4 | LICENSE = "LGPLv2.1+" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=a916467b91076e631dd8edb7424769c7" | ||
6 | |||
7 | DEPENDS = "glib-2.0" | ||
8 | |||
9 | inherit autotools pkgconfig | ||
10 | |||
11 | SRC_URI = "https://github.com/AbiWord/enchant/releases/download/v${PV}/enchant-${PV}.tar.gz" | ||
12 | SRC_URI[md5sum] = "8a6ea1bb143c64e0edf5e49c7e7cb984" | ||
13 | SRC_URI[sha256sum] = "1b22976135812b35cb5b8d21a53ad11d5e7c1426c93f51e7a314a2a42cab3a09" | ||
14 | |||
15 | UPSTREAM_CHECK_URI = "https://github.com/AbiWord/enchant/releases" | ||
16 | |||
17 | S = "${WORKDIR}/enchant-${PV}" | ||
18 | |||
19 | EXTRA_OEMAKE = "pkgdatadir=${datadir}/enchant-2" | ||
20 | |||
21 | PACKAGECONFIG ??= "aspell" | ||
22 | PACKAGECONFIG[aspell] = "--with-aspell,--without-aspell,aspell,aspell" | ||
23 | PACKAGECONFIG[hunspell] = "--with-hunspell,--without-hunspell,hunspell,hunspell" | ||
24 | |||
25 | FILES_${PN} += " \ | ||
26 | ${datadir}/enchant-2 \ | ||
27 | ${libdir}/enchant-2 \ | ||
28 | " | ||
diff --git a/meta/recipes-support/enchant/enchant_1.6.0.bb b/meta/recipes-support/enchant/enchant_1.6.0.bb deleted file mode 100644 index 44eb2e3df4..0000000000 --- a/meta/recipes-support/enchant/enchant_1.6.0.bb +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | SUMMARY = "Enchant Spell checker API Library" | ||
2 | SECTION = "libs" | ||
3 | HOMEPAGE = "http://www.abisource.com/projects/enchant/" | ||
4 | BUGTRACKER = "http://bugzilla.abisource.com/enter_bug.cgi?product=Enchant" | ||
5 | |||
6 | LICENSE = "LGPLv2.1+" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=dfcbabf9131dc9a95febef6753a2958b \ | ||
8 | file://src/enchant.h;beginline=1;endline=29;md5=8d881caa1d37523567e1d8f726675a18" | ||
9 | |||
10 | DEPENDS = "glib-2.0" | ||
11 | |||
12 | inherit autotools pkgconfig | ||
13 | |||
14 | PR = "r3" | ||
15 | |||
16 | SRC_URI = "http://www.abisource.com/downloads/enchant/${PV}/enchant-${PV}.tar.gz" | ||
17 | |||
18 | SRC_URI[md5sum] = "de11011aff801dc61042828041fb59c7" | ||
19 | SRC_URI[sha256sum] = "2fac9e7be7e9424b2c5570d8affe568db39f7572c10ed48d4e13cddf03f7097f" | ||
20 | |||
21 | PACKAGECONFIG ??= "aspell" | ||
22 | PACKAGECONFIG[aspell] = " --with-aspell-prefix=${STAGING_DIR_HOST}${prefix} --enable-aspell, --disable-aspell, aspell, aspell" | ||
23 | PACKAGECONFIG[ispell] = " --with-ispell-prefix=${STAGING_DIR_HOST}${prefix} --enable-ispell, --disable-ispell, ispell, ispell" | ||
24 | PACKAGECONFIG[uspell] = " --with-uspell-prefix=${STAGING_DIR_HOST}${prefix} --enable-uspell, --disable-uspell, uspell, uspell" | ||
25 | PACKAGECONFIG[hspell] = " --with-hspell-prefix=${STAGING_DIR_HOST}${prefix} --enable-hspell, --disable-hspell, hspell, hspell" | ||
26 | PACKAGECONFIG[myspell] = "--with-myspell-prefix=${STAGING_DIR_HOST}${prefix} --enable-myspell, --disable-myspell, myspell, myspell" | ||
27 | |||
28 | EXTRA_OECONF = "br_cv_binreloc=no" | ||
29 | |||
30 | export CXXFLAGS += " -L${STAGING_LIBDIR} -lstdc++ " | ||
31 | |||
32 | FILES_${PN} = "${bindir} ${libdir}/*${SOLIBS} ${datadir}/${BPN} ${libdir}/${BPN}/*.so" | ||
33 | FILES_${PN}-dev += "${libdir}/${BPN}/*{SOLIBSDEV} ${libdir}/${BPN}/*.la" | ||
34 | FILES_${PN}-staticdev += "${libdir}/${BPN}/*.a" | ||