# Template file for 'kdeplasma-addons'
pkgname=kdeplasma-addons
version=6.2.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
 -DKDE_INSTALL_QMLDIR=lib/qt6/qml -DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-base qt6-tools pkg-config gettext
 qt6-declarative-host-tools kf6-kcmutils kf6-kpackage kf6-kauth-tools"
makedepends="kf6-kdeclarative-devel kf6-kholidays-devel kf6-krunner-devel
 kf6-sonnet-devel kf6-kunitconversion-devel kf6-knewstuff-devel
 plasma5support-devel qt6-qt5compat-devel kf6-kio-devel
 kf6-knotifications-devel kf6-kservice-devel kf6-kxmlgui-devel
 qt6-quick3d-devel icu-devel kf6-kauth-devel kf6-kpackage-devel
 kf6-kcmutils-devel libplasma-devel kf6-kauth-devel"
short_desc="Various Plasma addons"
maintainer="Luciogi <githubvoidlinux.supremacy429@passinbox.com>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://invent.kde.org/plasma/kdeplasma-addons"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=28e678e944cfce1831a974fc4842e9fc9577bfdcd3af106d1b8a8522b56fc20e

if [ "$XBPS_WORDSIZE$XBPS_WORDSIZE" = "64$XBPS_TARGET_WORDSIZE" ]; then
	makedepends+=" qt6-webengine-devel"
fi

kdeplasma-addons5_package() {
	build_style=meta
	short_desc+=" - (Dummy transistional package)"
	depends="${sourcepkg}"
}