mirror of
https://invent.kde.org/packaging/yocto-meta-kf5.git
synced 2026-01-29 21:08:43 +01:00
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:
12
classes/kcmutils.bbclass
Normal file
12
classes/kcmutils.bbclass
Normal 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"
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
LICENSE = "LGPL-2.0"
|
LICENSE = "LGPL-2.0"
|
||||||
PR = "r0"
|
PR = "r0"
|
||||||
|
|
||||||
DEPENDS = " \
|
DEPENDS:class-target = " \
|
||||||
qtbase \
|
qtbase \
|
||||||
libxml2-native \
|
libxml2-native \
|
||||||
kitemviews \
|
kitemviews \
|
||||||
@@ -24,11 +24,18 @@ DEPENDS = " \
|
|||||||
kpackage-native \
|
kpackage-native \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
DEPENDS:class-native = " \
|
||||||
|
qtbase-native \
|
||||||
|
extra-cmake-modules-native \
|
||||||
|
"
|
||||||
|
|
||||||
require kcmutils_metainfo.inc
|
require kcmutils_metainfo.inc
|
||||||
inherit cmake_kf5
|
inherit cmake_kf5
|
||||||
inherit ki18n
|
inherit ki18n
|
||||||
inherit reuse_license_checksums
|
inherit reuse_license_checksums
|
||||||
|
|
||||||
|
EXTRA_OECMAKE:class-native = " -DTOOLS_ONLY=ON "
|
||||||
|
|
||||||
FILES:${PN} += " \
|
FILES:${PN} += " \
|
||||||
${libdir}/qml/org/kde/kcmutils/ \
|
${libdir}/qml/org/kde/kcmutils/ \
|
||||||
"
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user