void-packages/srcpkgs/kinfocenter/template

23 lines
908 B
Bash

# Template file for 'kinfocenter'
pkgname=kinfocenter
version=5.22.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=9a23364cbc2367452e3d965c1a1c60774b3f78a8843b30504e11836a39f43b0c
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" kpackage-devel kconfig-devel kcoreaddons-devel kdoctools-devel"
configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake"
fi