void-packages/srcpkgs/kdepim-runtime/template

40 lines
1.4 KiB
Bash

# Template file for 'kdepim-runtime'
pkgname=kdepim-runtime
version=23.08.3
revision=1
build_style=cmake
# XXX KolabLibraries, Kolabxml
hostmakedepends="extra-cmake-modules python3 kdoctools kdesignerplugin
gettext qt5-qmake qt5-host-tools"
makedepends="akonadi-calendar-devel akonadi-notes-devel knotifyconfig-devel
pimcommon-devel kdav-devel libkgapi-devel kmbox-devel
qt5-networkauth-devel qca-qt5-devel qt5-webengine-devel
kholidays-devel qt5-webchannel-devel"
checkdepends="dbus"
short_desc="KDE PIM runtime applications/libraries"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later, AGPL-3.0-or-later, BSD-3-Clause, BSD-2-Clause"
homepage="https://invent.kde.org/unmaintained/kdepimlibs"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
checksum=998cb3c35b4535c72d48bcac66308e098141d21fb2b3db7f8b2229bc21536b1b
do_check() {
broken="akonadi-sqlite-synctest"
broken+="|akonadi-sqlite-pop3test"
broken+="|akonadi-sqlite-ewstest"
broken+="|akonadi-sqlite-serverbusytest"
broken+="|ewsmoveitemrequest_ut"
broken+="|ewsdeleteitemrequest_ut"
broken+="|ewsgetitemrequest_ut"
broken+="|ewsunsubscriberequest_ut"
broken+="|ewsattachment_ut"
broken+="|ewssettings_ut"
dbus-run-session ctest -E "($broken)"
}
post_install() {
for license in AGPL-3.0-or-later.txt BSD-3-Clause.txt BSD-2-Clause.txt; do
vlicense LICENSES/$license
done
}