void-packages/srcpkgs/mailcommon/template

35 lines
1.1 KiB
Bash

# Template file for 'mailcommon'
pkgname=mailcommon
version=23.08.4
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules kconfig libxslt qt5-qmake
gettext qt5-host-tools python3 kgendesignerplugin"
makedepends="mailimporter-devel messagelib-devel kdesignerplugin-devel
pimcommon-devel libkleo-devel qt5-multimedia-devel kcontacts-devel"
checkdepends="dbus"
short_desc="KDE PIM library providing support for mail applications"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/release-service/${version}/src/mailcommon-${version}.tar.xz"
checksum=6ff8c12a6ae40e97f35603baffc43b34c6c725dedac1c0ebccd4474cf9fee987
do_check() {
cd build
broken="mailcommon-filter-filteractionencrypttest"
broken+="|mailcommon-filter-filteractionmissingidentitydialogtest" # hangs
dbus-run-session ctest -E "($broken)"
}
mailcommon-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedpends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/qt5/mkspecs
vmove "usr/lib/*.so"
}
}