git » plasma-integration.git » commit d1ce266

Fix Wayland on NVIDIA

author Antonio Rojas
2022-09-14 06:21:27 UTC
committer Antonio Rojas
2022-09-14 06:21:27 UTC
parent 1e9cd40e089c587b3b83c93a2941ed8db6f85fc6

Fix Wayland on NVIDIA

PKGBUILD +9 -3

diff --git a/PKGBUILD b/PKGBUILD
index 181354e..45ef45c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 
 pkgname=plasma-integration
 pkgver=5.25.5
-pkgrel=1
+pkgrel=2
 pkgdesc='Qt Platform Theme integration plugins for the Plasma workspaces'
 arch=(x86_64)
 url='https://kde.org/plasma-desktop/'
@@ -11,15 +11,21 @@ license=(LGPL)
 depends=(kio kwayland libxcursor noto-fonts ttf-hack qqc2-desktop-style perl)
 makedepends=(extra-cmake-modules breeze plasma-wayland-protocols)
 groups=(plasma)
-source=(https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz{,.sig})
+source=(https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz{,.sig}
+        https://invent.kde.org/plasma/plasma-integration/-/commit/52bd3c9c.patch)
 sha256sums=('d90fe6322b0a410df1ac7ed2e20ea087479420847494ac1473287ef198294bdd'
-            'SKIP')
+            'SKIP'
+            'ac575283c127575f366df2ed370867d12d2d938a7b7abfaa53b4f0da416f5042')
 validpgpkeys=('E0A3EB202F8E57528E13E72FD7574483BB57B18D'  # Jonathan Esk-Riddell <jr@jriddell.org>
               '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D'  # Bhushan Shah <bshah@kde.org>
               'D07BD8662C56CB291B316EB2F5675605C74E02CF'  # David Edmundson <davidedmundson@kde.org>
               '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart@gmail.com>
 options=(debug)
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < 52bd3c9c.patch # Fix Wayland on NVIDIA
+}
+
 build() {
   cmake -B build -S $pkgname-$pkgver \
     -DBUILD_TESTING=OFF