# Template file for 'krdc'
# group=kde-gear
pkgname=krdc
version=26.04.3
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF
 -DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins -DQT_MAJOR_VERSION=6
 -DKDE_INSTALL_QMLDIR=lib/qt6/qml
 -DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt6/mkspecs/modules"
hostmakedepends="extra-cmake-modules qt6-base kf6-kcmutils kf6-kdoctools
 kf6-kcoreaddons kf6-kconfig gettext freerdp pkg-config wayland-devel"
makedepends="freerdp freerdp-devel fuse3-devel
 kf6-kconfig-devel kf6-kcmutils-devel kf6-kdnssd-devel
 kf6-knotifyconfig-devel kf6-knotifications-devel kf6-kbookmarks-devel
 kf6-kiconthemes-devel kf6-kxmlgui-devel kf6-kcompletion-devel
 kf6-kwidgetsaddons-devel kf6-ki18n-devel kf6-kdoctools-devel
 kf6-kwindowsystem-devel kf6-kcrash-devel kf6-kio-devel
 kf6-kstatusnotifieritem-devel libssh-devel libvncserver-devel
 plasma-activities-devel qt6-base-private-devel qtkeychain-qt6-devel"
depends="freerdp"
short_desc="Remote Desktop Client supporting VNC and RDP"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, GFDL-1.2-only, LGPL-2.1-or-later"
homepage="https://kde.org/applications/en/internet/org.kde.krdc"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
checksum=74cd7e55f2a0a72a8211043122bdaaf1d15fe8393466baa57b593feb3ae1fd04

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