void-packages/srcpkgs/akonadi-calendar/template

46 lines
1.4 KiB
Bash

# Template file for 'akonadi-calendar'
pkgname=akonadi-calendar
version=24.08.0
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 python3 qt6-base gettext
kf6-kcoreaddons kf6-kconfig"
makedepends="kf6-kconfig-devel kmime6-devel kf6-kcodecs-devel kf6-ki18n-devel
kf6-kwidgetsaddons-devel kf6-kxmlgui-devel kf6-kio-devel kf6-kdbusaddons-devel
kf6-kcalendarcore-devel kf6-knotifications-devel kmailtransport-devel
kidentitymanagement-devel kcalutils-devel messagelib-devel"
short_desc="Akonadi calendar integration"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/release-service/${version}/src/akonadi-calendar-${version}.tar.xz"
checksum=cb354795a681770c865544f5b0b2786042674b3a9f442a0daff04ec91c222d97
if [ "$XBPS_WORDSIZE$XBPS_WORDSIZE" != "64$XBPS_TARGET_WORDSIZE" ]; then
broken="Qt6 WebEngine"
fi
do_check() {
cd build
ctest -E 'kcalcoreserializertest'
}
do_check() {
cd build
ctest -E 'kcalcoreserializertest'
}
akonadi-calendar-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}