void-packages/srcpkgs/korganizer/template

30 lines
1.1 KiB
Bash

# Template file for 'korganizer'
pkgname=korganizer
version=24.02.2
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 kf6-kdoctools
kf6-kcmutils kf6-kcoreaddons kf6-kconfig gettext"
makedepends="akonadi-calendar-devel akonadi-notes-devel incidenceeditor-devel
qt6-multimedia-devel kf6-kholidays-devel kontactinterface-devel"
short_desc="Calendar and scheduling Program"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://kde.org/applications/en/office/org.kde.korganizer"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
checksum=374a2c352f4c645f5eff15d3b165a7a596647537b596c1eee49ded2134170417
if [ "$XBPS_WORDSIZE$XBPS_WORDSIZE" != "64$XBPS_TARGET_WORDSIZE" ]; then
broken="Qt6 WebEngine"
fi
do_check() {
cd build
# akonadi-sqlite-koeventpopupmenutest requires dbus session
ctest -E akonadi-sqlite-koeventpopupmenutest
}