# Template file for 'konsole'
pkgname=konsole
version=18.08.3
revision=1
build_style=cmake
replaces="konsole5>=0"
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="pkg-config extra-cmake-modules kcoreaddons qt5-devel qt5-qmake kdoctools kconfig"
makedepends="kinit-devel knewstuff-devel knotifyconfig-devel kparts-devel
 kpty-devel"
short_desc="KDE's Terminal Emulator"
maintainer="John <johnz@posteo.net>"
license="GPL-2.0-or-later, LGPL-2.0-or-later, GFDL-1.2-or-later"
homepage="https://www.kde.org/applications/system/konsole/"
distfiles="${KDE_SITE}/applications/${version}/src/konsole-${version}.tar.xz"
checksum=a0c8535f0260c67c86c2563cb224f57da53a8800ba8388dfa14e326b5050f7d3

if [ -n "$CROSS_BUILD" ]; then
	configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
fi

konsole5_package() {
	build_style=meta
	short_desc+=" (transitional dummy package)"
	depends="konsole>=${version}_${revision}"
}