Add kdoctools class

Allows us to maintain the necessary bits in a single place, rather than
in multiple recipes in meta-kde.
This commit is contained in:
Volker Krause
2019-02-08 14:05:52 +01:00
parent 1176794211
commit 63d4f58feb

15
classes/kdoctools.bbclass Normal file
View File

@@ -0,0 +1,15 @@
# 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
# meinproc5 needs to find its libraries
export LD_LIBRARY_PATH=${STAGING_LIBDIR_NATIVE}:$LD_LIBRARY_PATH
}
DEPENDS += " \
kdoctools \
kdoctools-native \
libxslt-native \
karchive-native \
"