git » kwayland.git » commit 21ecedc

Fix misplaces Plasma popups

author Antonio Rojas
2022-09-21 21:25:17 UTC
committer Antonio Rojas
2022-09-21 21:25:17 UTC
parent 6b73c0decba747b276d6daf273278ff00dd91322

Fix misplaces Plasma popups

PKGBUILD +9 -3

diff --git a/PKGBUILD b/PKGBUILD
index 5e736e3..a6eaedd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=kwayland
 pkgver=5.98.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Qt-style Client and Server library wrapper for the Wayland libraries'
 arch=(x86_64)
 url='https://www.kde.org'
@@ -12,12 +12,18 @@ license=(LGPL)
 depends=(qt5-wayland)
 makedepends=(extra-cmake-modules doxygen qt5-tools qt5-doc wayland-protocols plasma-wayland-protocols)
 groups=(kf5)
-source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
+source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig}
+        https://invent.kde.org/frameworks/kwayland/-/commit/d02188ad.patch)
 sha256sums=('1c171ddf9af0e257781ba245f5720da39fc89170fb6a7516ceb00f53df280930'
-            'SKIP')
+            'SKIP'
+            'c9a0751910509569cfec8673ee4aca68b55bd6d85ec2914b2994ea2c00008789')
 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
 options=(debug)
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < d02188ad.patch # Fix misplaced Plasma popups
+}
+
 build() {
   cmake -B build -S $pkgname-$pkgver \
     -DCMAKE_INSTALL_LIBEXECDIR=lib \