# Template file for 'kunifiedpush'
pkgname=kunifiedpush
version=26.04.1
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-base qt6-tools gettext kf6-kcmutils"
makedepends="kf6-ki18n-devel kf6-kcoreaddons-devel kf6-solid-devel
 kf6-kservice-devel kf6-kcmutils-devel kf6-kcrash-devel qt6-websockets-devel"
checkdepends="dbus"
short_desc="UnifiedPush client library and distributor daemon"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="https://invent.kde.org/libraries/kunifiedpush"
distfiles="${KDE_SITE}/release-service/${version}/src/kunifiedpush-${version}.tar.xz"
checksum=4be7f9343bc2336484847ff46f2cdd26ec869a851fd0072a4d0b933d888708cf
make_check_pre="dbus-run-session"

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