# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=plasma-workspace pkgver=5.17.0 pkgrel=0 pkgdesc="KDE Plasma Workspace" arch="all" url="https://www.kde.org/workspaces/plasmadesktop/" license="(GPL-2.0-only OR GPL-3.0-only) AND LGPL-2.1-or-later AND GPL-2.0-or-later AND MIT AND LGPL-2.1-only AND LGPL-2.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-only) AND LGPL-2.0-only" depends="tzdata qt5-qtquickcontrols kirigami2 kinit qt5-qttools kwin kactivitymanagerd milou plasma-integration qtchooser kded" depends_dev="plasma-framework-dev krunner-dev kjsembed-dev knotifyconfig-dev kdesu-dev knewstuff-dev kwallet-dev kidletime-dev kdeclarative-dev ki18n-dev kcmutils-dev ktextwidgets-dev kdelibs4support-dev kcrash-dev kglobalaccel-dev kdbusaddons-dev kwayland-dev kcoreaddons-dev kded-dev libksysguard-dev kpackage-dev kscreenlocker-dev phonon-dev zlib-dev kitemmodels-dev networkmanager-qt-dev baloo-dev ktexteditor-dev kwin-dev kholidays-dev prison-dev kpeople-dev kactivities-stats-dev libkscreen-dev gpsd-dev iso-codes-dev" makedepends="$depends_dev extra-cmake-modules kdoctools-dev libxtst-dev" checkdepends="xvfb-run" source="https://download.kde.org/stable/plasma/$pkgver/plasma-workspace-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-libs $pkgname-doc $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 # nightcolortest requires running dbus # testdesktop is broken CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "(nightcolortest|testdesktop)" } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="94f7dc56ae1bda012a03fb0fc45391c360ac737488cfa48d5ef1014cfff64a8005a921c651a28eb84a98a952ad064e83e8f63dccda380219a16b611a4ad8122c plasma-workspace-5.17.0.tar.xz"