git » kwayland.git » commit 1409e99

Fix pkgconfig file

author Antonio Rojas
2022-04-16 20:06:39 UTC
committer Antonio Rojas
2022-04-16 20:06:39 UTC
parent 850423b17a33e9716df31acb97594d45b7031919

Fix pkgconfig file

PKGBUILD +9 -3

diff --git a/PKGBUILD b/PKGBUILD
index dcdb8de..4e0e235 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=kwayland
 pkgver=5.93.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/9e70125d.patch)
 sha256sums=('1648a273ad1c0c1895a0edff9a3e97eb151e1e3533362e0f01d72706ac0a7abe'
-            'SKIP')
+            'SKIP'
+            'a4099ee6a6b4cdb9b2303f087460c90816bc4b26b66b67896bfb786d04af743f')
 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
 options=(debug)
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < 9e70125d.patch # Fix pkgconfig file
+}
+
 build() {
   cmake -B build -S $pkgname-$pkgver \
     -DCMAKE_INSTALL_LIBEXECDIR=lib \