git » plasma-framework.git » commit c86dbf9

Fix window thumbnails in Plasma X11

author Antonio Rojas
2022-06-14 16:00:24 UTC
committer Antonio Rojas
2022-06-14 16:00:24 UTC
parent cfa867f0885f56568ae9e2086639c3194bbfd8ec

Fix window thumbnails in Plasma X11

PKGBUILD +9 -3

diff --git a/PKGBUILD b/PKGBUILD
index fd1da9b..66755b2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=plasma-framework
 pkgver=5.95.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Plasma library and runtime components based upon KF5 and Qt5'
 arch=(x86_64)
 url='https://community.kde.org/Frameworks'
@@ -12,12 +12,18 @@ license=(LGPL)
 depends=(kactivities kdeclarative kwayland kirigami2)
 makedepends=(extra-cmake-modules qt5-tools qt5-doc kdoctools doxygen)
 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/plasma-framework/-/commit/dff1b034.patch)
 sha256sums=('5f5b6c95985e60b2e1d0b155fcb90bfc20186cb56f87d13c4b946f57fd22a55f'
-            'SKIP')
+            'SKIP'
+            '6addc3ccfa982b152db61be0fa14ce3d9a7e9aa4bb5779ccb7f80a8612b64c2e')
 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
 options=(debug)
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < dff1b034.patch # Fix window thumbnails in Plasma X11
+}
+
 build() {
   cmake -B build -S $pkgname-$pkgver \
     -DBUILD_TESTING=OFF \