# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=libkscreen pkgver=5.18.4 _pkgver=5.18.4.1 pkgrel=0 pkgdesc="KDE screen management software" arch="all !armhf" # armhf blocked by extra-cmake-modules 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/libkscreen-$_pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc" options="!check" # Fails due to requiring dbus-x11 and it running builddir="$srcdir/$pkgname-$_pkgver" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make -C build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make -C build install } sha512sums="73e5d105701d11f1bbe403034614d89a6aab3e4f47d949633e2104c590c62a4e89e7643558056d45d16e43d326c52a950024b84f184dd86fff9cfd57f37efa43 libkscreen-5.18.4.1.tar.xz"