kauth.bbclass: only add dependencies for target recipes

This change avoids propagation of target specific dependencies when
class is inherited in native packages.
This commit is contained in:
Andreas Cord-Landwehr
2023-04-08 08:56:56 +02:00
parent 204f68f4e8
commit 85c0f7ffb4

View File

@@ -1,10 +1,11 @@
# Class for recipes using KAuth host tools # Class for recipes using KAuth host tools
# #
# SPDX-FileCopyrightText: 2019 Volker Krause <vkrause@kde.org> # SPDX-FileCopyrightText: 2019 Volker Krause <vkrause@kde.org>
# SPDX-FileCopyrightText: 2023 Andreas Cord-Landwehr <cordlandwehr@kde.org>
# #
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
DEPENDS:append = " \ DEPENDS:append:class-target = " \
kauth \ kauth \
kauth-native \ kauth-native \
polkit-qt-1 \ polkit-qt-1 \