Files
meta-kf5/classes/kdoctools.bbclass
Volker Krause 5c95f585bf Port native tools to use KF5_HOST_TOOLING
The previous hack of just copying the native tools into the target sysroot
has several limitations:
- it no longer works with relative RPATHs being used
- it fails in the case of kpackage where we need the same tools for host
  and target
2019-02-16 13:32:41 +01:00

16 lines
387 B
Plaintext

# Class for recipes using kdoctools to build their documentation
do_compile_prepend() {
# meinproc5 needs to find installed service type files
export XDG_DATA_DIRS=${STAGING_DATADIR}:$XDG_DATA_DIRS
}
DEPENDS += " \
kdoctools \
kdoctools-native \
libxslt-native \
karchive-native \
"
EXTRA_OECMAKE += " -DKF5_HOST_TOOLING=${STAGING_DIR_NATIVE}/${libdir}/cmake"