void-packages/srcpkgs/merkuro/template

42 lines
1.6 KiB
Bash

# Template file for 'merkuro'
pkgname=merkuro
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 gettext qt6-tools qt6-base
kf6-kcoreaddons kf6-kconfig kf6-kpackage qt6-declarative-host-tools"
makedepends="qt6-base-devel qt6-declarative-devel qt6-location-devel qt6-svg-devel
kf6-kcalendarcore-devel kf6-kconfigwidgets-devel kf6-kcontacts-devel
kf6-kcoreaddons-devel kf6-ki18n-devel kf6-kirigami-devel kf6-kitemmodels-devel
kf6-kpackage-devel kf6-kpeople-devel kf6-kwindowsystem-devel kf6-qqc2-desktop-style-devel
akonadi-contacts-devel kf6-akonadi-devel eventviews-devel kirigami-addons-devel
mailcommon-devel mimetreeparser-devel kidentitymanagement-devel"
depends="kf6-qqc2-desktop-style kdepim-runtime qt6-location
kirigami-addons"
checkdepends="dbus kdepim-runtime"
short_desc="Calendar application using Akonadi"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://invent.kde.org/pim/merkuro"
distfiles="${KDE_SITE}/release-service/${version}/src/merkuro-${version}.tar.xz"
checksum=87e7135ddd54cd7aced9ec5fc593c5e283c5c2c47a82417633688637bf3206a5
if [ "$XBPS_WORDSIZE$XBPS_WORDSIZE" != "64$XBPS_TARGET_WORDSIZE" ]; then
broken="Qt6 WebEngine"
fi
do_check() {
cd build
dbus-run-session ctest --output-on-failure --force-new-ctest-process
}
kalendar_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - transitional dummy package"
build_style=meta
}