# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kscreen pkgver=5.18.1 pkgrel=1 pkgdesc="KDE's screen management software" arch="all !armhf" # armhf blocked by qt5-qtdeclarative url="https://www.kde.org/workspaces/plasmadesktop/" license="GPL-2.0-or-later AND LGPL-2.1-or-later" depends="hicolor-icon-theme" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsensors-dev kdbusaddons-dev kconfig-dev kconfigwidgets-dev ki18n-dev kxmlgui-dev kglobalaccel-dev kwidgetsaddons-dev kdeclarative-dev kiconthemes-dev plasma-framework-dev libkscreen-dev kcmutils-dev" checkdepends="xvfb-run" source="https://download.kde.org/stable/plasma/$pkgver/kscreen-$pkgver.tar.xz" subpackages="$pkgname-lang" build() { cmake -B "$builddir"/build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make -C build } check() { cd "$builddir"/build # kscreen-kded-configtest is broken CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "kscreen-kded-configtest" } package() { DESTDIR="$pkgdir" make -C build install } sha512sums="f89805f4366ba189b776aa80726d6a9dc6e47823e712d9858024c2a968d001cae15846c6d45c7eea345490ef68c3d6f5471fe097d9780ee9a1e8317061f4442b kscreen-5.18.1.tar.xz"