void-packages/srcpkgs/kscreen/template

24 lines
922 B
Bash

# Template file for 'kscreen'
pkgname=kscreen
version=6.0.4
revision=1
build_style=cmake
build_helper=qemu
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QMLDIR=lib/qt6/qml -DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-base qt6-tools gettext"
makedepends="kf6-kxmlgui-devel kf6-kcmutils-devel kf6-ksvg-devel
kf6-kpackage-devel libkf6screen-devel layer-shell-qt-devel libplasma-devel
qt6-sensors-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=68d03d8bb285bd59396c6417ef49bf0051874f8de256a8baac6af24f8dcf8000
if [ $CROSS_BUILD ]; then
hostmakedepends+=" kf6-kcmutils-devel kf6-kpackage-devel"
fi