Came up when building with meta-office in layers. A patch moving hunspell to meta-oe is pending. Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
28 lines
710 B
BlitzBasic
28 lines
710 B
BlitzBasic
require ${BPN}.inc
|
|
|
|
inherit cmake-lib
|
|
|
|
DEPENDS += "${BPN}-native"
|
|
|
|
SRC_URI += "file://0002-core-add-valid-extra-plugin-search-path.patch"
|
|
|
|
do_configure_append() {
|
|
# use native parsetrigrams
|
|
sed -i 's:\./parsetrigrams:${STAGING_BINDIR_NATIVE}/parsetrigrams:' ${B}/data/CMakeFiles/trigrams_sonnet.dir/build.make
|
|
}
|
|
|
|
FILES_${PN} += " \
|
|
${OE_QMAKE_PATH_PLUGINS}/kf5/sonnet \
|
|
"
|
|
|
|
FILES_${PN}-dbg += " \
|
|
${OE_QMAKE_PATH_PLUGINS}/kf5/sonnet/.debug \
|
|
"
|
|
|
|
CMAKE_ALIGN_SYSROOT[1] = "KF5Sonnet, -S${libdir}/lib, -S${STAGING_LIBDIR}/lib"
|
|
CMAKE_ALIGN_SYSROOT[2] = "KF5Sonnet, -S${includedir}, -S${STAGING_INCDIR}"
|
|
|
|
PACKAGECONFIG ??= ""
|
|
PACKAGECONFIG[hunspell] = "-DBUILD_HUNSPELL=ON,-DBUILD_HUNSPELL=OFF, hunspell"
|
|
|