void-packages/srcpkgs/kscreen/template

21 lines
794 B
Bash

# Template file for 'kscreen'
pkgname=kscreen
version=5.14.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="Denis Revin <denis.revin@gmail.com>"
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=43bf7b301892603207b2a39f5fe8ceebce75d509ad9f7dc82af0a9714669c24a
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" kconfig-devel kcoreaddons-devel plasma-framework"
configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake"
fi