33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
# Template file for 'akonadi-search'
|
|
pkgname=akonadi-search
|
|
version=23.08.4
|
|
revision=1
|
|
build_style=cmake
|
|
build_helper="rust qemu"
|
|
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python3 AppStream
|
|
gettext kcoreaddons kpackage corrosion cargo"
|
|
makedepends="akonadi5-devel akonadi-mime-devel xapian-core-devel krunner-devel
|
|
kcmutils-devel kcontacts-devel kcalendarcore-devel rust-std"
|
|
short_desc="Libraries and daemons to implement searching in Akonadi"
|
|
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/akonadi-search-${version}.tar.xz"
|
|
checksum=057f2f7a18346ac21bb1444ed1413d4903bce38802df6753df7ca1dd81eafc46
|
|
|
|
do_check() {
|
|
cd build
|
|
# Require Akonadi running
|
|
ctest -E '(akonadi-sqlite-schedulertest|akonadi-sqlite-collectionindexingjobtest)'
|
|
}
|
|
|
|
akonadi-search-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|