# Template file for 'kalarm'
pkgname=kalarm
version=26.04.1
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
 -DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins
 -DKDE_INSTALL_QMLDIR=lib/qt6/qml
 -DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt6/mkspecs/modules"
hostmakedepends="extra-cmake-modules qt6-base qt6-tools libxslt kf6-kdoctools
 pkg-config kf6-kauth-tools kf6-kconfig gettext"
makedepends="
 kf6-kcalendarcore-devel
 kf6-kcodecs-devel
 kf6-kcompletion-devel
 kf6-kconfig-devel
 kf6-kconfigwidgets-devel
 kf6-kcontacts-devel
 kf6-kcrash-devel
 kf6-kdbusaddons-devel
 kf6-kglobalaccel-devel
 kf6-kguiaddons-devel
 kf6-kholidays-devel
 kf6-ki18n-devel
 kf6-kitemmodels-devel
 kf6-kjobwidgets-devel
 kf6-kio-devel
 kf6-knotifications-devel
 kf6-knotifyconfig-devel
 kf6-kservice-devel
 kf6-kwidgetsaddons-devel
 kf6-kwindowsystem-devel
 kf6-kxmlgui-devel
 kf6-ktextwidgets-devel
 kf6-kstatusnotifieritem-devel
 kf6-kiconthemes-devel
 kcalutils-devel
 kidentitymanagement-devel
 kmime6-devel
 kf6-akonadi-devel
 akonadi-contacts-devel
 akonadi-mime-devel
 libkdepim-devel
 kf6-kauth-devel
 mailcommon-devel messagelib-devel
 vlc-devel
 mpv-devel"
short_desc="Personal alarm scheduler"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.kde.org/applications/utilities/kalarm"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
checksum=45c144398b380f03424159a8333f50e7f67e8058c0baef1b605e5bb7f5036e9c
replaces="kalarmcal>=0"

if [ "$XBPS_WORDSIZE$XBPS_WORDSIZE" != "64$XBPS_TARGET_WORDSIZE" ]; then
	broken="Qt6 WebEngine"
fi
