35 lines
980 B
Bash
35 lines
980 B
Bash
# Template file for 'akonadi-mime'
|
|
pkgname=akonadi-mime
|
|
version=23.08.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules kcoreaddons kdoctools python3
|
|
gettext"
|
|
makedepends="kmime-devel akonadi5-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=8aef15168ee4fa31de2a217842373d3581fc7fb790f15abe17eb6628f0f37351
|
|
|
|
if [ "$CROSS_BUILD" ];then
|
|
hostmakedepends+=" qt5-qmake qt5-host-tools 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/qt5/mkspecs
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|