23 lines
926 B
Bash
23 lines
926 B
Bash
# Template file for 'kate5'
|
|
pkgname=kate5
|
|
version=20.04.1
|
|
revision=1
|
|
wrksrc="${pkgname%5}-${version}"
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="extra-cmake-modules pkg-config kcoreaddons gettext"
|
|
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}/release-service/${version}/src/${pkgname%5}-${version}.tar.xz"
|
|
checksum=f1707e85aa858cc7f1d71ca3400ee12e96c012fb8dd3e472a7387b7dc0f02b5b
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake"
|
|
hostmakedepends+=" kauth-devel kconfig-devel kcoreaddons-devel kpackage-devel kdoctools python3 qt5-host-tools qt5-qmake"
|
|
fi
|