23 lines
840 B
Bash
23 lines
840 B
Bash
# Template file for 'kscreen'
|
|
pkgname=kscreen
|
|
version=5.20.0
|
|
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 <me@johnnynator.dev>"
|
|
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
|
homepage="https://invent.kde.org/plasma/kscreen"
|
|
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
|
|
checksum=fad43bdaf4706501c7d130dd885229d3b4a4ed327f2d352d577f3c34be2a3edd
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" kpackage-devel kconfig-devel kcoreaddons-devel plasma-framework"
|
|
configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake"
|
|
fi
|