# Template file for 'kget'
# group=kde-gear
pkgname=kget
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 kf6-kcmutils
 pkg-config kf6-kdoctools kf6-kconfig kf6-kcoreaddons gettext"
makedepends="libktorrent-devel gpgme-qt6-devel kf6-kcmutils-devel libmms-devel
 kf6-knotifyconfig-devel kf6-kcompletion-devel kf6-kstatusnotifieritem-devel
 kf6-kio-devel kf6-ki18n-devel kf6-kdbusaddons-devel kf6-kwindowsystem-devel
 kf6-kwallet-devel boost-headers kf6-kiconthemes-devel
 kf6-kxmlgui-devel kf6-kwidgetsaddons-devel kf6-kdoctools-devel kf6-kcrash-devel"
short_desc="KDE Download Manager"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://invent.kde.org/network/kget"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
checksum=590dcb9f40f9f5bb12a67c1b1c690dc29d183c952da2d76aa93f89d8b89c41d8
do_check() {
	cd build
	# verifiertest is broken
	ctest -E verifiertest
}
