aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/akonadi-mime/template
blob: 15aa84d766fd716c19f9c0800fc2b4a0523942ab (plain) (blame)
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
# Template file for 'akonadi-mime'
pkgname=akonadi-mime
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-kcoreaddons kf6-kdoctools python3
 gettext"
makedepends="kmime6-devel kf6-akonadi-devel"
short_desc="Libraries and daemons to implement basic email handling"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later, GPL-2.0-or-later"
homepage="https://community.kde.org/KDE_PIM/Akonadi"
distfiles="${KDE_SITE}/release-service/${version}/src/akonadi-mime-${version}.tar.xz"
checksum=b0651626bda53a0ba36c8044d1147239cc551ef00eed1dfff8388a166d1ce413

if [ "$CROSS_BUILD" ];then
	hostmakedepends+=" qt6-base qt6-tools kf6-kconfig"
fi

do_check() {
	cd build
	ctest -E "mailserializerplugintest"
}

akonadi-mime-devel_package() {
	depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
		vmove "usr/lib/*.so"
	}
}