mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
added extra/kwin
This commit is contained in:
parent
6e379c370d
commit
f4b29a47ec
2 changed files with 56 additions and 0 deletions
47
extra/kwin/PKGBUILD
Normal file
47
extra/kwin/PKGBUILD
Normal file
|
@ -0,0 +1,47 @@
|
|||
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
||||
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
||||
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - upstream patch to fix FTBFS
|
||||
|
||||
pkgname=kwin
|
||||
pkgver=5.17.1
|
||||
pkgrel=1
|
||||
pkgdesc='An easy to use, but flexible, composited Window Manager'
|
||||
arch=(x86_64)
|
||||
url='https://www.kde.org/workspaces/plasmadesktop/'
|
||||
license=(LGPL)
|
||||
depends=(kscreenlocker xcb-util-cursor plasma-framework kcmutils breeze kinit qt5-sensors qt5-script)
|
||||
makedepends=(extra-cmake-modules qt5-tools kdoctools)
|
||||
optdepends=('qt5-virtualkeyboard: virtual keyboard support for kwin-wayland')
|
||||
groups=(plasma)
|
||||
source=("https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig}
|
||||
https://github.com/KDE/kwin/commit/e06f83717c6d9472b1bdc574915db852219d7ce8.patch)
|
||||
install=$pkgname.install
|
||||
sha256sums=('9be622116d4a39b699f43e147a31872d1d8a80eda5b5426d7e4272d8cfacdcd5'
|
||||
'SKIP'
|
||||
'4fcf24c30052ed826927fdb85be453a0c7a980a9c2769567a7af1f971f65ef18')
|
||||
validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E' # Jonathan Riddell <jr@jriddell.org>
|
||||
'0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D' # Bhushan Shah <bshah@kde.org>
|
||||
'D07BD8662C56CB291B316EB2F5675605C74E02CF' # David Edmundson <davidedmundson@kde.org>
|
||||
'1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart@gmail.com>
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
cd $pkgname-$pkgver
|
||||
patch -p1 -i ../e06f83717c6d9472b1bdc574915db852219d7ce8.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd build
|
||||
cmake ../$pkgname-$pkgver \
|
||||
-DCMAKE_INSTALL_LIBEXECDIR=lib \
|
||||
-DBUILD_TESTING=OFF
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd build
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
9
extra/kwin/kwin.install
Normal file
9
extra/kwin/kwin.install
Normal file
|
@ -0,0 +1,9 @@
|
|||
post_install() {
|
||||
# this is executed by make install, but doesn't work since setcap can only be run as root
|
||||
setcap CAP_SYS_NICE=+ep /usr/bin/kwin_wayland
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
Loading…
Reference in a new issue