From 338acc3d440a5ade6c0d79b86a7b67342ea3f371 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Thu, 17 Feb 2022 17:36:54 +0100 Subject: [PATCH] package/kf5/kf5-kcoreaddons: add python3 optional dependency python3 is an optional dependency since the addition of the package in commit bf48bf86295bc4628bcd14fd4ca415d6971c8ab8 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.mk b/package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.mk index 76be8876cc..9a034ba763 100644 --- a/package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.mk +++ b/package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.mk @@ -10,7 +10,10 @@ KF5_KCOREADDONS_SOURCE = kcoreaddons-$(KF5_KCOREADDONS_VERSION).tar.xz KF5_KCOREADDONS_LICENSE = LGPL-2.1 KF5_KCOREADDONS_LICENSE_FILES = COPYING.LIB -KF5_KCOREADDONS_DEPENDENCIES = kf5-extra-cmake-modules qt5tools +KF5_KCOREADDONS_DEPENDENCIES = \ + kf5-extra-cmake-modules \ + qt5tools \ + $(if $(BR2_PACKAGE_PYTHON3),python3) KF5_KCOREADDONS_INSTALL_STAGING = YES KF5_KCOREADDONS_CXXFLAGS = $(TARGET_CXXFLAGS)