Browse Source

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 <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Fabrice Fontaine 3 years ago
parent
commit
338acc3d44
1 changed files with 4 additions and 1 deletions
  1. 4 1
      package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.mk

+ 4 - 1
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)