diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2016-09-19 16:17:31 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-20 15:11:08 +0100 |
commit | 3f3198128c4f9a584f819b1a21c879166c040f89 (patch) | |
tree | 8b44b186ce2f395fab84534a8073d55571ccf6c2 /meta | |
parent | 506df09b702f82f3bada4d39f57e638394c857f6 (diff) | |
download | poky-3f3198128c4f9a584f819b1a21c879166c040f89.tar.gz |
enchant: add PACKAGECONFIG for *spell
* use PACKAGECONFIG for various *spell implementations
* keep aspell enabled by default
* prevent hunspell/myspell being autodetected as reported in "bitbake world status" e-mails:
WARN: enchant: enchant rdepends on hunspell, but it isn't a build dependency?
(From OE-Core rev: d7df8092c2be4c984d9292749f6cfa7ce41cbb53)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-support/enchant/enchant_1.6.0.bb | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/meta/recipes-support/enchant/enchant_1.6.0.bb b/meta/recipes-support/enchant/enchant_1.6.0.bb index 97a47614cd..44eb2e3df4 100644 --- a/meta/recipes-support/enchant/enchant_1.6.0.bb +++ b/meta/recipes-support/enchant/enchant_1.6.0.bb | |||
@@ -7,7 +7,7 @@ LICENSE = "LGPLv2.1+" | |||
7 | LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=dfcbabf9131dc9a95febef6753a2958b \ | 7 | LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=dfcbabf9131dc9a95febef6753a2958b \ |
8 | file://src/enchant.h;beginline=1;endline=29;md5=8d881caa1d37523567e1d8f726675a18" | 8 | file://src/enchant.h;beginline=1;endline=29;md5=8d881caa1d37523567e1d8f726675a18" |
9 | 9 | ||
10 | DEPENDS = "aspell glib-2.0" | 10 | DEPENDS = "glib-2.0" |
11 | 11 | ||
12 | inherit autotools pkgconfig | 12 | inherit autotools pkgconfig |
13 | 13 | ||
@@ -18,15 +18,17 @@ SRC_URI = "http://www.abisource.com/downloads/enchant/${PV}/enchant-${PV}.tar.gz | |||
18 | SRC_URI[md5sum] = "de11011aff801dc61042828041fb59c7" | 18 | SRC_URI[md5sum] = "de11011aff801dc61042828041fb59c7" |
19 | SRC_URI[sha256sum] = "2fac9e7be7e9424b2c5570d8affe568db39f7572c10ed48d4e13cddf03f7097f" | 19 | SRC_URI[sha256sum] = "2fac9e7be7e9424b2c5570d8affe568db39f7572c10ed48d4e13cddf03f7097f" |
20 | 20 | ||
21 | EXTRA_OECONF = "--with-aspell-prefix=${STAGING_DIR_HOST}${prefix} \ | 21 | PACKAGECONFIG ??= "aspell" |
22 | --enable-aspell br_cv_binreloc=no \ | 22 | PACKAGECONFIG[aspell] = " --with-aspell-prefix=${STAGING_DIR_HOST}${prefix} --enable-aspell, --disable-aspell, aspell, aspell" |
23 | " | 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" | ||
24 | 29 | ||
25 | export CXXFLAGS += " -L${STAGING_LIBDIR} -lstdc++ " | 30 | export CXXFLAGS += " -L${STAGING_LIBDIR} -lstdc++ " |
26 | 31 | ||
27 | FILES_${PN} = "${bindir} ${libdir}/*${SOLIBS} ${datadir}/${BPN} ${libdir}/${BPN}/*.so" | 32 | FILES_${PN} = "${bindir} ${libdir}/*${SOLIBS} ${datadir}/${BPN} ${libdir}/${BPN}/*.so" |
28 | FILES_${PN}-dev += "${libdir}/${BPN}/*{SOLIBSDEV} ${libdir}/${BPN}/*.la" | 33 | FILES_${PN}-dev += "${libdir}/${BPN}/*{SOLIBSDEV} ${libdir}/${BPN}/*.la" |
29 | FILES_${PN}-staticdev += "${libdir}/${BPN}/*.a" | 34 | FILES_${PN}-staticdev += "${libdir}/${BPN}/*.a" |
30 | |||
31 | RDEPENDS_${PN} += "aspell" | ||
32 | |||