# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=libkscreen pkgver=5.16.1 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="6e9077a1bae1d202bf8c6110e03654d4c5a0e37af7dac4139df5efe9090a85c0b2f39a2c2636d699ff16a35985b674615bd0991343aff28e27d80d3c89a6616f libkscreen-5.16.1.tar.xz"