void-packages/srcpkgs/calligra-plan/template
2020-07-08 16:18:33 +02:00

29 lines
1 KiB
Bash

# Template file for 'calligra-plan'
pkgname=calligra-plan
version=3.2.2
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=e10c6f4a6fbf40da422d98d5138201f7db52236181c25641402e4ae4b0add336
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
}
}