# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=libkscreen pkgver=5.16.4 pkgrel=0 pkgdesc="KDE screen management software" arch="all" url="https://www.kde.org/workspaces/plasmadesktop/" license="LGPL-2.1-or-later AND GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only)" depends_dev="qt5-qtbase-dev qt5-qtx11extras-dev kwayland-dev" makedepends="$depends_dev extra-cmake-modules doxygen graphviz qt5-qttools-dev" source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc" options="!check" # Fails due to requiring dbus-x11 and it running build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="84b7e0af12f95a385575ec71cbbd1dc189d463dd7ad189a2adc49b8dc665018e36325f86d0a949310e07b90e67bc8c5ff8f75e914947a013064377579862b9e7 libkscreen-5.16.4.tar.xz"