From 06a7e27e8a2174a7c52d63cd7e3df99763670e88 Mon Sep 17 00:00:00 2001 From: John Date: Sun, 20 Jul 2025 20:50:48 +0200 Subject: [PATCH] kf6-kunitconversion: update to 6.17.0. --- srcpkgs/kf6-kunitconversion/template | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/srcpkgs/kf6-kunitconversion/template b/srcpkgs/kf6-kunitconversion/template index 17b312ca2ba..8fe641dba8a 100644 --- a/srcpkgs/kf6-kunitconversion/template +++ b/srcpkgs/kf6-kunitconversion/template @@ -1,17 +1,25 @@ # Template file for 'kf6-kunitconversion' pkgname=kf6-kunitconversion -version=6.14.0 +version=6.17.0 revision=1 build_style=cmake -hostmakedepends="extra-cmake-modules qt6-tools qt6-base - gettext" -makedepends="kf6-ki18n-devel" +configure_args="$(vopt_bool python BUILD_PYTHON_BINDINGS)" +hostmakedepends="extra-cmake-modules qt6-tools qt6-base gettext + $(vopt_if python 'python3-build python3-setuptools shiboken6 llvm')" +makedepends="kf6-ki18n-devel + $(vopt_if python 'libshiboken6-devel libpyside6-devel python3-devel')" short_desc="KDE Converting physical units" maintainer="John " license="LGPL-2.1-or-later" homepage="https://invent.kde.org/frameworks/kunitconversion" distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz" -checksum=d07d60ec2c5c21246f3aa9f89e01226e084c90fe99b62b08b651933c311cf08d +checksum=f2625a4ba25b3329fb9730249073bcd349b7a346362148c7fa97989efc7e5cca + +build_options="python" + +if [ -z "$CROSS_BUILD" ]; then + build_options_default="python" +fi kf6-kunitconversion-devel_package() { depends="$makedepends ${sourcepkg}>=${version}_${revision}"