1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
4 # Contributor: Alexey D. <lq07829icatm at rambler.ru>
6 pkgbase=plasma-workspace
7 pkgname=(plasma-workspace plasma-wayland-session)
10 pkgdesc='KDE Plasma Workspace'
12 url='https://kde.org/plasma-desktop/'
14 depends=(knotifyconfig ksystemstats ktexteditor libqalculate kde-cli-tools appstream-qt
15 xorg-xrdb xorg-xsetroot kactivitymanagerd kholidays xorg-xmessage milou prison kwin
16 plasma-integration kpeople kactivities-stats libkscreen kquickcharts kuserfeedback
17 accountsservice kio-extras kio-fuse qt5-tools oxygen-sounds)
18 makedepends=(extra-cmake-modules kdoctools gpsd baloo networkmanager-qt plasma-wayland-protocols kunitconversion kinit)
20 source=(https://download.kde.org/stable/plasma/$pkgver/$pkgbase-$pkgver.tar.xz{,.sig} kde.pam)
21 sha256sums=('bd74390273a18b117932b883a085840b3f364da6756262217337ea03e278bc5f'
23 '00090291204baabe9d6857d3b1419832376dd2e279087d718b64792691e86739')
24 validpgpkeys=('E0A3EB202F8E57528E13E72FD7574483BB57B18D' # Jonathan Esk-Riddell <jr@jriddell.org>
25 '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D' # Bhushan Shah <bshah@kde.org>
26 'D07BD8662C56CB291B316EB2F5675605C74E02CF' # David Edmundson <davidedmundson@kde.org>
27 '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart@gmail.com>
31 cmake -B build -S $pkgbase-$pkgver \
32 -DCMAKE_INSTALL_LIBEXECDIR=lib \
37 package_plasma-workspace() {
38 optdepends=('plasma-workspace-wallpapers: additional wallpapers'
39 'gpsd: GPS based geolocation' 'networkmanager-qt: IP based geolocation'
40 'kdepim-addons: displaying PIM events in the calendar'
41 'appmenu-gtk-module: global menu support for GTK2 and some GTK3 applications'
42 'baloo: Baloo search runner' 'discover: manage applications installation from the launcher')
43 backup=('etc/pam.d/kde')
45 DESTDIR="$pkgdir" cmake --install build
47 install -Dm644 "$srcdir"/kde.pam "$pkgdir"/etc/pam.d/kde
49 # Split plasma-wayland scripts
50 rm -r "$pkgdir"/usr/share/wayland-sessions
53 package_plasma-wayland-session() {
54 pkgdesc='Plasma Wayland session'
55 depends=(plasma-workspace qt5-wayland kwayland-integration xorg-xwayland)
58 install -Dm644 build/login-sessions/plasmawayland.desktop "$pkgdir"/usr/share/wayland-sessions/plasmawayland.desktop