void-packages/srcpkgs/kscreen/template

23 lines
854 B
Bash

# Template file for 'kscreen'
pkgname=kscreen
version=5.18.4.1
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules qt5-devel qt5-qmake
gettext kcmutils kcoreaddons"
makedepends="kxmlgui-devel libkscreen-devel plasma-framework-devel
qt5-sensors-devel kcmutils-devel"
depends="hicolor-icon-theme"
short_desc="KDE screen management software"
maintainer="John <johnz@posteo.net>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/plasma/kscreen"
distfiles="${KDE_SITE}/plasma/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=dc0d61e46189d0f76d33a92c1253d7d2f7d7f2d0043d5e411a5a067915d0f5e4
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" kpackage-devel kconfig-devel kcoreaddons-devel plasma-framework"
configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake"
fi