void-packages/srcpkgs/kdepim-addons/template

35 lines
1.5 KiB
Bash
Raw Normal View History

2021-12-10 20:22:49 +01:00
# Template file for 'kdepim-addons'
pkgname=kdepim-addons
2021-12-12 00:27:07 +01:00
version=21.12.0
2021-12-10 20:22:49 +01:00
revision=1
build_style=cmake
2021-12-12 00:27:07 +01:00
hostmakedepends="extra-cmake-modules python3 kdoctools kcoreaddons
kconfig kpackage gettext qt5-qmake qt5-host-tools"
2021-12-10 20:22:49 +01:00
makedepends="akonadi-import-wizard-devel discount-devel incidenceeditor-devel
kontactinterface-devel kitinerary-devel ktnef-devel libksieve-devel mailcommon-devel
2021-12-12 00:27:07 +01:00
mailimporter-devel messagelib-devel poppler-qt5-devel qt5-devel kpkpass-devel
kaddressbook-devel"
2021-12-10 20:22:49 +01:00
checkdepends=dbus
short_desc="Addons for KDE PIM applications"
maintainer="Louis Dupré Bertoni <contact@louis.xyz>"
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/pim/kdepim-addons"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
2021-12-12 00:27:07 +01:00
checksum=f00ae7ac3311bf31377830f44a44fe0a6b9c09a0749529aefd81254b0a1db603
2021-12-10 20:22:49 +01:00
do_check() {
# failing tests are disabled
cd build
exclude=".*sqlite.*|addressbookwidget|csvwidget|fancyheaderstyleplugin|folderconfiguresettingswidget|
grammalecteconfigwidget|grammalecteresultwidget|grantleeheaderstyleplugin|languagetoolconfigwidget|mailmergedialogt|
mailmergedialog|mailmergejob|mailmergewidget|markdownpreview.*|mergecontacts|
messageviewer-dkimauthenticationverifiedserverdialog|messageviewerplugins-.*"
dbus-run-session ctest -E "($(echo ${exclude} | tr -d ' '))test"
}
post_install() {
for license in LICENSES/*; do
vlicense $license
done
}