# Template file for 'kf6-frameworkintegration'
pkgname=kf6-frameworkintegration
version=6.11.0
revision=1
build_style=cmake
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml
 -DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-tools qt6-base gettext"
# AppStreamQt >=0 and packagekitqt6
makedepends="kf6-kcolorscheme-devel kf6-kconfig-devel kf6-ki18n-devel
 kf6-kiconthemes-devel kf6-knewstuff-devel kf6-knotifications-devel"
short_desc="Framework to integrate applications with a KDE Workspace"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/frameworkintegration"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=a7447a587040284463846a479e01b7d821c89b5f3b8683cbb367f568cea81fb2

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