# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kscreen pkgver=5.17.5 pkgrel=0 pkgdesc="KDE's screen management software" arch="all !armhf" # 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 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" prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { cd "$builddir"/build # kscreen-kded-configtest is broken CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "kscreen-kded-configtest" } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="3a0abdeb8aa4ffde8a3aefee71292916ea1331ff91292976cb94b6def068d012ead4fe1aae3c6ad9353423a701cfaaa051f0455897fd80693a3281a33fe3d332 kscreen-5.17.5.tar.xz"