2021-02-17 19:37:33 +00:00
|
|
|
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
|
|
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
|
|
|
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - explicitly link v5/v6 with libatomic
|
|
|
|
|
|
|
|
pkgname=kwin
|
2021-10-19 16:24:04 +00:00
|
|
|
pkgver=5.23.1
|
|
|
|
pkgrel=1
|
2021-02-17 19:37:33 +00:00
|
|
|
pkgdesc='An easy to use, but flexible, composited Window Manager'
|
|
|
|
arch=(x86_64)
|
|
|
|
url='https://kde.org/plasma-desktop/'
|
|
|
|
license=(LGPL)
|
|
|
|
depends=(kscreenlocker xcb-util-cursor plasma-framework kcmutils kwayland-server breeze
|
2021-08-31 12:58:33 +00:00
|
|
|
pipewire-media-session libqaccessibilityclient lcms2)
|
2021-02-17 19:37:33 +00:00
|
|
|
makedepends=(extra-cmake-modules qt5-tools kdoctools krunner)
|
2021-06-09 16:13:48 +00:00
|
|
|
optdepends=('maliit-keyboard: virtual keyboard for kwin-wayland')
|
2021-02-17 19:37:33 +00:00
|
|
|
groups=(plasma)
|
2021-10-19 16:24:04 +00:00
|
|
|
source=(https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz{,.sig})
|
2021-02-17 19:37:33 +00:00
|
|
|
install=$pkgname.install
|
2021-10-19 16:24:04 +00:00
|
|
|
sha256sums=('5838d7ab84babc5bd3cb3df9f7e38fc01c98ba1bf584b6d43e4528dd03598b31'
|
|
|
|
'SKIP')
|
2021-10-17 18:21:55 +00:00
|
|
|
validpgpkeys=('E0A3EB202F8E57528E13E72FD7574483BB57B18D' # Jonathan Esk-Riddell <jr@jriddell.org>
|
2021-02-17 19:37:33 +00:00
|
|
|
'0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D' # Bhushan Shah <bshah@kde.org>
|
|
|
|
'D07BD8662C56CB291B316EB2F5675605C74E02CF' # David Edmundson <davidedmundson@kde.org>
|
|
|
|
'1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart@gmail.com>
|
|
|
|
|
|
|
|
build() {
|
|
|
|
[[ $CARCH == "arm" || $CARCH == "armv6h" ]] && echo "target_link_libraries(kwin atomic)" >> ${pkgname}-${pkgver}/CMakeLists.txt
|
|
|
|
cmake -B build -S $pkgname-$pkgver \
|
|
|
|
-DCMAKE_INSTALL_LIBEXECDIR=lib \
|
|
|
|
-DBUILD_TESTING=OFF
|
|
|
|
cmake --build build
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
|
|
}
|