# Template file for 'frameworkintegration'
pkgname=frameworkintegration
version=5.103.0
revision=1
build_style=cmake
hostmakedepends="kcoreaddons extra-cmake-modules pkg-config
 kpackage qt5-host-tools qt5-qmake python3 gettext"
makedepends="kiconthemes-devel knotifications-devel kpackage-devel knewstuff-devel"
short_desc="Integration of Qt application with KDE workspaces"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.0-or-later"
homepage="https://invent.kde.org/frameworks/frameworkintegration"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=23f1937da5a15a909baea1827d49fedf2d3073121a0a2c7a4482db6c136492be

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