void-packages/srcpkgs/calligra-plan/template

30 lines
1.0 KiB
Bash

# Template file for 'calligra-plan'
pkgname=calligra-plan
version=3.3.0
revision=1
wrksrc="${pkgname/-/}-${version}"
build_style=cmake
hostmakedepends="extra-cmake-modules gettext 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 <me@johnnynator.dev>"
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=9a97414f2207941a70d93ff096617365d35379cc93a09cfc19ee532d2905a9d8
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
}
}