Files
meta-kf5/classes/kdoctools.bbclass
Andreas Cord-Landwehr bcf1d831ea Use append syntax for classes
The preferred way for bitbake classes is the append syntax because it
does not interact with the += syntax in derived recipes.
2022-05-28 11:52:38 +02:00

20 lines
497 B
Plaintext

# Class for recipes using kdoctools to build their documentation
#
# SPDX-FileCopyrightText: 2019 Volker Krause <vkrause@kde.org>
#
# SPDX-License-Identifier: MIT
do_compile:prepend() {
# meinproc5 needs to find installed service type files
export XDG_DATA_DIRS=${STAGING_DATADIR}:$XDG_DATA_DIRS
}
DEPENDS:append = " \
kdoctools \
kdoctools-native \
libxslt-native \
karchive-native \
"
EXTRA_OECMAKE:append = " -DKF5_HOST_TOOLING=${STAGING_DIR_NATIVE}/${libdir}/cmake"