Introduce kcmutils class

kcmutils now uses a mandatory runtime dependency during build, which for
convenienc is provided by this new class.
This commit is contained in:
Andreas Cord-Landwehr
2022-09-19 20:41:00 +02:00
parent 919f7634dd
commit 0650add995
2 changed files with 20 additions and 1 deletions

12
classes/kcmutils.bbclass Normal file
View File

@@ -0,0 +1,12 @@
# Class for recipes using kcmutils host tools
#
# SPDX-FileCopyrightText: 2022 Andreas Cord-Landwehr <cordlandwehr@kde.org>
#
# SPDX-License-Identifier: MIT
DEPENDS:append = " \
kcmutils \
kcmutils-native \
"
EXTRA_OECMAKE:append = " -DKF5_HOST_TOOLING=${STAGING_DIR_NATIVE}/${libdir}/cmake"