# Template file for 'kinfocenter'
pkgname=kinfocenter
version=5.24.2
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules gettext pkg-config qt5-host-tools qt5-qmake"
makedepends="kdoctools plasma-framework-devel kdesignerplugin-devel kcmutils-devel
 kdelibs4support-devel kwayland-devel glu-devel pciutils-devel libraw1394-devel
 ksolid-devel"
depends="hwids"
short_desc="KDE Info Center"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later, LGPL-2.1-or-later, GFDL-1.2-only"
homepage="https://invent.kde.org/plasma/kinfocenter"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=af5dd1af07e308c42f55d5c2ec472ab5b4ab67bef03d29545f9bc5e6d03ebeda

if [ "$CROSS_BUILD" ]; then
	hostmakedepends+=" kpackage-devel kconfig-devel kcoreaddons-devel kdoctools-devel"
	configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake"
fi