void-packages/srcpkgs/calligra-plan/template

30 lines
1.0 KiB
Bash

# Template file for 'calligra-plan'
pkgname=calligra-plan
version=3.2.1
revision=1
wrksrc="${pkgname/-/}-${version}"
build_style=cmake
hostmakedepends="extra-cmake-modules kdoctools"
makedepends="kinit-devel kcmutils-devel kdiagram-devel kholidays-devel
khtml-devel kactivities5-devel akonadi5-devel kcontacts-devel
threadweaver-devel akonadi-contacts-devel"
short_desc="Project Management"
maintainer="John <johnz@posteo.net>"
license="GPL-2.0-or-later, LGPL-2.0-or-later, GFDL-1.2-or-later"
homepage="https://www.calligra.org/plan/"
distfiles="${KDE_SITE}/calligra/${version}/calligraplan-${version}.tar.xz"
checksum=03abab499676e269a5462628190df01ec9f24cb9452d0085adf5741cb0d335a8
if [ "$CROSS_BUILD" ];then
hostmakedepends+=" qt5-qmake qt5-host-tools python3 perl
calligra-plan-devtools kcoreaddons kconfig kparts"
configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
fi
calligra-plan-devtools_package() {
short_desc+=" - devtools required for cross compilation"
pkg_install() {
vbin build/devtools/rng2cpp/plan_rng2cpp
}
}