# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=libkscreen pkgver=5.16.2 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="6157bd38a2ceb6d0b009115c9fe7f0979c8b8ff2fb34ec1857c98fa3a602d602fc89cf082da7a9dc7bf4025a5acfcebecd036f238d737d49c87fe9b5d215de56 libkscreen-5.16.2.tar.xz"