void-packages/srcpkgs/pim-data-exporter/template

37 lines
1.3 KiB
Bash

# Template file for 'pim-data-exporter'
pkgname=pim-data-exporter
version=24.08.1
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 kf6-kdoctools qt6-base qt6-tools
gettext kf6-kcoreaddons kf6-kconfig"
makedepends="akonadi-notes-devel mailcommon-devel calendarsupport-devel
messagelib-devel kf6-kstatusnotifieritem-devel"
short_desc="Import and export KDE PIM settings"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later"
homepage="https://kontact.kde.org/"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
checksum=ab8278128f6f7057b4df8e1e4e1b86eead54067525feea7180c578420eadadc5
if [ "$XBPS_WORDSIZE$XBPS_WORDSIZE" != "64$XBPS_TARGET_WORDSIZE" ]; then
broken="Qt6 WebEngine"
fi
do_check() {
cd build
broken="exportnotesjobinterfacetest"
broken+="|exportcalendarsjobinterfacetest"
broken+="|exportaddressbookjobinterfacetest"
broken+="|importaddressbookjobinterfacetest"
broken+="|exportalarmjobinterfacetest"
broken+="|exportakregatorjobinterfacetest"
broken+="|exportmailjobinterfacetest"
broken+="|importmailjobinterfacetest"
ctest -E "($broken)"
}