diff --git a/srcpkgs/kf6-kstatusnotifieritem/template b/srcpkgs/kf6-kstatusnotifieritem/template index f94435d63dc..c195a39148c 100644 --- a/srcpkgs/kf6-kstatusnotifieritem/template +++ b/srcpkgs/kf6-kstatusnotifieritem/template @@ -1,16 +1,25 @@ # Template file for 'kf6-kstatusnotifieritem' pkgname=kf6-kstatusnotifieritem -version=6.14.0 +version=6.17.0 revision=1 build_style=cmake -hostmakedepends="extra-cmake-modules qt6-tools qt6-base " -makedepends="kf6-kwindowsystem-devel qt6-base-private-devel" +configure_args="$(vopt_bool python BUILD_PYTHON_BINDINGS)" +hostmakedepends="extra-cmake-modules qt6-tools qt6-base + $(vopt_if python 'python3-build python3-setuptools shiboken6 llvm')" +makedepends="kf6-kwindowsystem-devel qt6-base-private-devel + $(vopt_if python 'libshiboken6-devel libpyside6-devel python3-devel')" short_desc="Implementation of Status Notifier Items" maintainer="John " license="LGPL-2.1-or-later" homepage="https://invent.kde.org/frameworks/kstatusnotifieritem" distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz" -checksum=9d85c44a7704ad052740752106e59eb26e49d80467f9b1d3c92bd24b77395417 +checksum=678a9bfc870066d5413bbcfa09a56b82b0affd2bc222ce5701d02a8b129edd91 + +build_options="python" + +if [ -z "$CROSS_BUILD" ]; then + build_options_default="python" +fi kf6-kstatusnotifieritem-devel_package() { depends="${makedepends//private-} ${sourcepkg}>=${version}_${revision}"