mirror of
https://invent.kde.org/packaging/yocto-meta-kf5.git
synced 2026-05-02 18:32:16 +02:00
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:
15
classes/kdoctools.bbclass
Normal file
15
classes/kdoctools.bbclass
Normal 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 \
|
||||
"
|
||||
Reference in New Issue
Block a user