sbcl rebuild
[arch-packages.git] / plasma-workspace / repos / extra-x86_64 / PKGBUILD
blob3c35e38c086e88888f68e087b72698ce553301a1
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.25.5
9 pkgrel=1
10 pkgdesc='KDE Plasma Workspace'
11 arch=(x86_64)
12 url='https://kde.org/plasma-desktop/'
13 license=(LGPL)
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)
19 groups=(plasma)
20 source=(https://download.kde.org/stable/plasma/$pkgver/$pkgbase-$pkgver.tar.xz{,.sig} kde.pam)
21 sha256sums=('bd74390273a18b117932b883a085840b3f364da6756262217337ea03e278bc5f'
22             'SKIP'
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>
28 options=(debug)
30 build() {
31   cmake -B build -S $pkgbase-$pkgver \
32     -DCMAKE_INSTALL_LIBEXECDIR=lib \
33     -DBUILD_TESTING=OFF
34   cmake --build build
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)
56   groups=()
58   install -Dm644 build/login-sessions/plasmawayland.desktop "$pkgdir"/usr/share/wayland-sessions/plasmawayland.desktop