# Template file for 'kf6-ktexteditor'
pkgname=kf6-ktexteditor
version=6.25.0
revision=1
build_style=cmake
configure_args="-DKF6_HOST_TOOLING=/usr/lib/cmake
 -DKDE_INSTALL_QMLDIR=lib/qt6/qml
 -DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-tools qt6-base kf6-kauth-tools
 qt6-declarative-host-tools gettext kf6-kconfig"
makedepends="kf6-karchive-devel kf6-kauth-devel kf6-kconfig-devel
 kf6-kguiaddons-devel kf6-ki18n-devel kf6-kio-devel kf6-kxmlgui-devel
 kf6-kparts-devel kf6-sonnet-devel kf6-syntax-highlighting-devel
 kf6-ktextwidgets-devel qt6-speech-devel qt6-multimedia-devel
 qt6-speech-plugin-flite qt6-speech-plugin-mock qt6-speech-plugin-speechd
 editorconfig-devel"
short_desc="KDE Full text editor component"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/ktexteditor"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=77e815edcdf572397f5eb750d7232b366f6cc6274bb34246ab88f2f2179733b4

kf6-ktexteditor-devel_package() {
	depends="$makedepends ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
		vmove "usr/lib/*.so"
	}
}
