void-packages/srcpkgs/kate5/template
2019-11-08 17:02:43 +01:00

22 lines
914 B
Bash

# Template file for 'kate5'
pkgname=kate5
version=19.08.3
revision=1
wrksrc="${pkgname%5}-${version}"
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules pkg-config kcoreaddons"
makedepends="kitemmodels-devel knewstuff-devel ktexteditor-devel
plasma-framework-devel threadweaver-devel"
depends="hicolor-icon-theme"
short_desc="KDE Text editor"
maintainer="John <johnz@posteo.net>"
license="GPL-3.0-or-later, LGPL-2.0-or-later, GPL-2.0-or-later"
homepage="https://projects.kde.org/projects/applications/kate"
distfiles="${KDE_SITE}/applications/${version}/src/${pkgname%5}-${version}.tar.xz"
checksum=ab9f076e7e825fca64252b366e637e34157f1f875aa573bdae333fc240e0ec71
if [ "$CROSS_BUILD" ]; then
configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake"
hostmakedepends+=" kauth-devel kconfig-devel kcoreaddons-devel kpackage-devel kdoctools python qt5-host-tools qt5-qmake"
fi