void-packages/srcpkgs/kinfocenter/template

23 lines
903 B
Bash

# Template file for 'kinfocenter'
pkgname=kinfocenter
version=5.21.1
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"
homepage="https://invent.kde.org/plasma/kinfocenter"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=ad586c8b213443777bab0a0b3044d76acd5b120363b9668ad9c97de20a4ac5bb
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" kpackage-devel kconfig-devel kcoreaddons-devel kdoctools-devel"
configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake"
fi