# Template file for 'kontactinterface'
# group=kde-gear
pkgname=kontactinterface
version=26.04.3
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF
 -DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins
 -DKDE_INSTALL_QMLDIR=lib/qt6/qml
 -DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt6/mkspecs/modules"
hostmakedepends="extra-cmake-modules qt6-base qt6-tools python3
 gettext kf6-kcoreaddons kf6-kconfig"
makedepends="kf6-kparts-devel qt6-base-private-devel"
short_desc="Kontact Plugin Interface Library"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://kontact.kde.org/"
distfiles="${KDE_SITE}/release-service/${version}/src/kontactinterface-${version}.tar.xz"
checksum=ec67aad623d3d80bfad1157a7be863d8f7a0eed3e8c620c59c5cd7ff276bb76a

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