void-packages/srcpkgs/akonadi-search/template

33 lines
1.1 KiB
Bash

# Template file for 'akonadi-search'
pkgname=akonadi-search
version=23.08.5
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=ef21350b7468eea740b949f9f450f07a48b8585e6a83a5000ff4a8606581adb4
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"
}
}