diff --git a/srcpkgs/calligra-plan-devtools b/srcpkgs/calligra-plan-devtools new file mode 120000 index 00000000000..5e4a5d32730 --- /dev/null +++ b/srcpkgs/calligra-plan-devtools @@ -0,0 +1 @@ +calligra-plan \ No newline at end of file diff --git a/srcpkgs/calligra-plan/template b/srcpkgs/calligra-plan/template new file mode 100644 index 00000000000..fa50acdca33 --- /dev/null +++ b/srcpkgs/calligra-plan/template @@ -0,0 +1,29 @@ +# Template file for 'calligra-plan' +pkgname=calligra-plan +version=3.1.0 +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 " +license="GPL-2.0-or-later LGPL-2.0-or-later GFDL-1.2-or-later" +homepage="https://www.calligra.org/plan/" +distfiles="https://download.kde.org/stable/calligra/${version}/calligraplan-${version}.tar.xz" +checksum=59f985bae0482789c13c9440af3bf5da0a1d04756c1c1ccf39f68f66cd3e7ddd + +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 + } +}