You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.9 KiB
Bash

10 years ago
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
10 years ago
pkgname=kwin
7 years ago
pkgver=5.10.2
pkgrel=2
7 years ago
pkgdesc='An easy to use, but flexible, composited Window Manager'
10 years ago
arch=('i686' 'x86_64')
url='https://www.kde.org/workspaces/plasmadesktop/'
10 years ago
license=('LGPL')
8 years ago
depends=('kscreenlocker' 'xcb-util-cursor' 'hicolor-icon-theme' 'plasma-framework' 'kcmutils' 'breeze')
8 years ago
makedepends=('extra-cmake-modules' 'qt5-tools' 'kdoctools' 'python')
optdepends=('qt5-virtualkeyboard: virtual keyboard support for kwin-wayland')
10 years ago
groups=('plasma')
10 years ago
conflicts=('kdebase-workspace')
source=("https://download.kde.org/stable/plasma/${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.sig}
kdebug-360841.patch::"https://cgit.kde.org/kwin.git/patch/?id=a6dee74e"
kdebug-380440.patch::"https://cgit.kde.org/kwin.git/patch/?id=c45e1655")
7 years ago
sha256sums=('f257f48c1ac2bfef12b6e953565514448c05391c65daaca181561783a6f16bbf'
'SKIP'
'7aa428ad31ca3f4f345ae215e7f43aa28159c288652c79d084eea93b6820e65f'
'd2c30904b103d724ff1fa2dc127dca204e3b6e56e8bbc6978c9a1442209629d2')
8 years ago
validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E' # Jonathan Riddell
8 years ago
'348C8651206633FD983A8FC4DEACEA00075E1D76' # KDE Neon
8 years ago
'D07BD8662C56CB291B316EB2F5675605C74E02CF') # David Edmundson
10 years ago
prepare() {
9 years ago
mkdir -p build
# Fix keyboard input in desktop effects https://bugs.kde.org/show_bug.cgi?id=360841
cd $pkgname-$pkgver
patch -p1 -i ../kdebug-360841.patch
# Fix switching desktops through edge https://bugs.kde.org/show_bug.cgi?id=380440
patch -p1 -i ../kdebug-380440.patch
10 years ago
}
build() {
cd build
8 years ago
cmake ../$pkgname-$pkgver \
10 years ago
-DCMAKE_BUILD_TYPE=Release \
10 years ago
-DCMAKE_INSTALL_PREFIX=/usr \
9 years ago
-DKDE_INSTALL_LIBDIR=lib \
-DKDE_INSTALL_LIBEXECDIR=lib \
10 years ago
-DBUILD_TESTING=OFF
10 years ago
make
}
package() {
cd build
8 years ago
make DESTDIR="$pkgdir" install
10 years ago
}