48 lines
1.7 KiB
Bash
48 lines
1.7 KiB
Bash
# Template file for 'kf6-akonadi'
|
|
pkgname=kf6-akonadi
|
|
version=24.05.1
|
|
revision=1
|
|
build_style=cmake
|
|
build_helper="qemu"
|
|
configure_args="-DKF6_HOST_TOOLING=/usr/lib/cmake
|
|
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
|
|
hostmakedepends="extra-cmake-modules qt6-base qt6-tools python3
|
|
shared-mime-info libxslt pkg-config gettext qt6-tools-devel
|
|
kf6-kconfig kf6-kcoreaddons"
|
|
makedepends="qt6-base-devel qt6-plugin-mysql qt6-plugin-sqlite sqlite-devel
|
|
qt6-tools-devel libxml2-devel kf6-kcompletion-devel kf6-kconfigwidgets-devel
|
|
kf6-kdbusaddons-devel kf6-kiconthemes-devel kf6-kitemmodels-devel kf6-kio-devel
|
|
libaccounts-qt6-devel kf6-kaccounts-integration-devel kf6-kxmlgui-devel"
|
|
depends="shared-mime-info"
|
|
checkdepends="dbus ${depends}"
|
|
short_desc="PIM layer providing an asynchronous API to access PIM data"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://community.kde.org/KDE_PIM/Akonadi"
|
|
distfiles="${KDE_SITE}/release-service/${version}/src/akonadi-${version}.tar.xz"
|
|
checksum=ea95d5def469efe5e4158aa6fb81e7c6d3fa19d272b6705473545429f41309cb
|
|
replaces="akonadi5>=0"
|
|
|
|
pre_configure() {
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
vsed -e "s;^\(target_link_libraries(.*\);\1 atomic;" -i src/server/CMakeLists.txt
|
|
fi
|
|
}
|
|
|
|
do_check() {
|
|
# failing tests are disabled - sqlite tests hang on futex
|
|
cd build
|
|
dbus-run-session ctest -E \
|
|
"(AkonadiServer-dbconfig|entitytreemodel|akonadixml-xmldocument|mimetypechecker|AkonadiControl-agenttype|.*sqlite.*)test|AkonadiServer-itemcreatehandlertest|tagmodeltest"
|
|
}
|
|
|
|
kf6-akonadi-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove usr/lib/*.so
|
|
}
|
|
}
|