void-packages/srcpkgs/kscreen/template

21 lines
782 B
Bash

# Template file for 'kscreen'
pkgname=kscreen
version=5.15.3
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules qt5-devel qt5-qmake kcoreaddons"
makedepends="kxmlgui-devel libkscreen-devel plasma-framework-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=0e9945afce9d616ab34da5a985410aac8fd3d9f15630db74d53e6540ad0af8c7
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" kconfig-devel kcoreaddons-devel plasma-framework"
configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake"
fi