# Template file for 'kompare'
pkgname=kompare
version=18.08.1
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules"
makedepends="ktexteditor-devel libkomparediff2-devel"
short_desc="File difference viewer"
maintainer="Norbert Vegh <vegh@norvegh.com>"
license="GPL-2.0-only, GFDL-1.2-only"
homepage="https://www.kde.org/applications/development/kompare/"
distfiles="${KDE_SITE}/applications/${version}/src/${pkgname}-${version}.tar.xz"
checksum=1b6706700ec7216f6674544716a33c63fe3b4a5411a28732c0300f6558714d4f

if [ -n "$CROSS_BUILD" ]; then
	hostmakedepends+=" kdoctools python qt5-host-tools qt5-qmake"
fi
