# Template file for 'krdc'
pkgname=krdc
version=24.08.1
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
 -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"
makedepends="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-kwallet-devel
 kf6-kwidgetsaddons-devel kf6-ki18n-devel kf6-kdoctools-devel libvncserver-devel
 kf6-kstatusnotifieritem-devel plasma-activities-devel freerdp
 freerdp-devel libssh-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=60e5500053c95bebeadba6348d6461189ad5901908bcfe51f84ffb470206c83c

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