# Maintainer: tildearrow # Contributor: Felix Yan # Contributor: Antonio Rojas # Contributor: Andrea Scarpino pkgname=kwin-lowlatency pkgver=5.16.5 pkgrel=1 pkgdesc='the compositor, with added stutter/latency reductions' arch=(x86_64) url='https://github.com/tildearrow/kwin-lowlatency' license=(LGPL) depends=(kscreenlocker xcb-util-cursor plasma-framework kcmutils breeze kinit qt5-sensors) makedepends=(git extra-cmake-modules qt5-tools kdoctools) optdepends=('qt5-virtualkeyboard: virtual keyboard support for kwin-wayland') provides=(kwin) conflicts=(kwin) groups=(plasma) source=("git+https://github.com/tildearrow/kwin-lowlatency.git") sha256sums=(SKIP) install=$pkgname.install prepare() { cd "$pkgname" git checkout v5.16.5 cd .. mkdir -p build } build() { cd build cmake ../$pkgname \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_INSTALL_LIBEXECDIR=lib \ -DBUILD_TESTING=OFF make } package() { cd build make DESTDIR="$pkgdir" install }