void-packages/srcpkgs/libksieve/template

38 lines
1.2 KiB
Bash

# Template file for 'libksieve'
pkgname=libksieve
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 qt6-base qt6-tools python3
gettext kf6-kcoreaddons kf6-kdoctools kf6-kconfig"
makedepends="kidentitymanagement-devel kmailtransport-devel pimcommon-devel
qt6-webengine-devel qt6-webchannel-devel qt6-location-devel"
short_desc="KDE PIM library for managing sieves"
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/libksieve-${version}.tar.xz"
checksum=9d040a4acc180dc040b2b33fc0e14bddb68f7efc2ad7b3d554dc9033ec4365f2
if [ "$XBPS_WORDSIZE$XBPS_WORDSIZE" != "64$XBPS_TARGET_WORDSIZE" ]; then
broken="Qt6 WebEngine"
fi
do_check() {
ctest -E "sieveeditorhelphtmlwidgettest"
}
libksieve-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}