48 lines
1.6 KiB
Bash
48 lines
1.6 KiB
Bash
# Template file for 'mailcommon'
|
|
# group=kde-gear
|
|
pkgname=mailcommon
|
|
version=26.04.3
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF
|
|
-DOPTION_USE_PLASMA_ACTIVITIES=ON
|
|
-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-kconfig libxslt qt6-base qt6-tools
|
|
gettext python3"
|
|
makedepends="mailimporter-devel messagelib-devel qt6-tools-devel
|
|
plasma-activities-devel
|
|
pimcommon-devel libkleo-devel qt6-multimedia-devel phonon-devel kf6-kcontacts-devel"
|
|
checkdepends="dbus"
|
|
short_desc="KDE PIM library providing support for mail applications"
|
|
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/mailcommon-${version}.tar.xz"
|
|
checksum=9aa486a65f311c4e6b4013fa446780f08bc889658724e0c51c479bdf9d945a7b
|
|
|
|
if [ "$XBPS_WORDSIZE$XBPS_WORDSIZE" != "64$XBPS_TARGET_WORDSIZE" ]; then
|
|
broken="Qt6 WebEngine"
|
|
fi
|
|
|
|
do_check() {
|
|
cd build
|
|
broken="mailcommon-filter-filteractionencrypttest"
|
|
broken+="|mailcommon-filter-filteractionmissingidentitydialogtest" # hangs
|
|
dbus-run-session ctest -E "($broken)"
|
|
}
|
|
|
|
mailcommon-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} qt6-base-devel
|
|
kf6-akonadi-devel libkdepim-devel kmime6-devel kf6-kconfig-devel
|
|
kf6-kio-devel messagelib-devel kf6-ki18n-devel akonadi-mime-devel
|
|
pimcommon-devel kf6-kcompletion-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|