-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
41 lines (38 loc) · 1.4 KB
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Template file for 'mailcommon'
pkgname=mailcommon
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 kf6-kconfig libxslt qt6-base qt6-tools
gettext python3"
makedepends="mailimporter-devel messagelib-devel qt6-tools-devel
pimcommon-devel libkleo-devel qt6-multimedia-devel phonon-devel kf6-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=d2e6421838376b53d7fca9aa0663083b3b94f0209eb2fc5601ad612bee421604
if [ "$XBPS_WORDSIZE$XBPS_WORDSIZE" != "64$XBPS_TARGET_WORDSIZE" ]; then
broken="Qt6 WebEngine"
fi
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/*.so"
}
}