# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=plasma-desktop pkgver=5.16.2 pkgrel=2 pkgdesc="KDE Plasma Desktop" arch="all !ppc64le !s390x" # Limited by plasma-workspace -> libksysguard -> qt5-qtwebengine url='https://www.kde.org/workspaces/plasmadesktop/' license="GPL-2.0-only AND LGPL-2.1-only" depends="kirigami2 plasma-workspace setxkbmap qqc2-desktop-style" depends_dev=" qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtx11extras-dev qt5-qtsvg-dev kauth-dev plasma-framework-dev ki18n-dev kcmutils-dev knewstuff-dev kdelibs4support-dev knotifications-dev knotifyconfig-dev attica-dev kwallet-dev krunner-dev kglobalaccel-dev kdeclarative-dev kpeople-dev kdbusaddons-dev kactivities-dev kactivities-stats-dev kconfig-dev plasma-workspace-dev kwin-dev kitemmodels-dev kemoticons-dev baloo-dev fontconfig-dev eudev-dev xf86-input-libinput-dev xf86-input-evdev-dev xf86-input-synaptics-dev libxkbfile-dev libxcursor-dev libxi-dev " makedepends="$depends_dev extra-cmake-modules kdoctools-dev" checkdepends="xvfb-run iso-codes" source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang knetattach" options="!check" # Requires running dbus build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" make install rm "$pkgdir"/usr/bin/knetattach rm "$pkgdir"/usr/share/applications/org.kde.knetattach.desktop } knetattach() { pkgdesc="Wizard which makes it easier to integrate network resources with the Plasma Desktop" depends="kdelibs4support" cd "$builddir"/knetattach DESTDIR="$subpkgdir" make install } sha512sums="6dfc604eaaecbb0425007476781babc52c065b1fe7102ac356f03ae9778b0ec79dcba73049317eedca1549ecc4117d6a08be4102ae412281e173079acac587e1 plasma-desktop-5.16.2.tar.xz"