db-move: moved grilo-plugins from [staging] to [testing] (x86_64)
[arch-packages.git] / plasma-workspace / trunk / PKGBUILD
blob9af5809d0a59c79695e3ea8cb9af509b17819458
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)
8 pkgver=5.27.4.1
9 _dirver=$(echo $pkgver | cut -d. -f1-3)
10 pkgrel=1
11 pkgdesc='KDE Plasma Workspace'
12 arch=(x86_64)
13 url='https://kde.org/plasma-desktop/'
14 license=(LGPL)
15 depends=(knotifyconfig ksystemstats ktexteditor libqalculate kde-cli-tools appstream-qt
16          xorg-xrdb xorg-xsetroot kactivitymanagerd kholidays xorg-xmessage milou prison kwin
17          plasma-integration kpeople kactivities-stats kquickcharts kuserfeedback kpipewire
18          accountsservice kio-extras kio-fuse qt5-tools oxygen-sounds)
19 makedepends=(extra-cmake-modules kdoctools gpsd baloo networkmanager-qt plasma-wayland-protocols wayland-protocols kunitconversion)
20 groups=(plasma)
21 source=(https://download.kde.org/stable/plasma/$_dirver/$pkgbase-$pkgver.tar.xz{,.sig} kde.pam)
22 sha256sums=('cb3906ac954bfd0784614843b1aaf9abda640ea3ed944d8651aaa4149baf65a5'
23             'SKIP'
24             '00090291204baabe9d6857d3b1419832376dd2e279087d718b64792691e86739')
25 validpgpkeys=('E0A3EB202F8E57528E13E72FD7574483BB57B18D'  # Jonathan Esk-Riddell <jr@jriddell.org>
26               '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D'  # Bhushan Shah <bshah@kde.org>
27               'D07BD8662C56CB291B316EB2F5675605C74E02CF'  # David Edmundson <davidedmundson@kde.org>
28               '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart@gmail.com>
30 build() {
31   cmake -B build -S $pkgbase-$pkgver \
32     -DCMAKE_INSTALL_LIBEXECDIR=lib \
33     -DGLIBC_LOCALE_GEN=OFF \
34     -DBUILD_TESTING=OFF
35   cmake --build build
38 package_plasma-workspace() {
39   optdepends=('plasma-workspace-wallpapers: additional wallpapers'
40               'gpsd: GPS based geolocation' 'networkmanager-qt: IP based geolocation'
41               'kdepim-addons: displaying PIM events in the calendar'
42               'appmenu-gtk-module: global menu support for GTK2 and some GTK3 applications'
43               'baloo: Baloo search runner' 'discover: manage applications installation from the launcher')
44   backup=('etc/pam.d/kde')
46   DESTDIR="$pkgdir" cmake --install build
48   install -Dm644 "$srcdir"/kde.pam "$pkgdir"/etc/pam.d/kde
50   # Split plasma-wayland scripts
51   rm -r "$pkgdir"/usr/share/wayland-sessions
54 package_plasma-wayland-session() {
55   pkgdesc='Plasma Wayland session'
56   depends=(plasma-workspace qt5-wayland kwayland-integration xorg-xwayland)
57   groups=()
59   install -Dm644 build/login-sessions/plasmawayland.desktop "$pkgdir"/usr/share/wayland-sessions/plasmawayland.desktop