From c10ce5c634207c2b4581fe4eaea99d17aed2ecbb Mon Sep 17 00:00:00 2001 From: Antonio Rojas Date: Mon, 13 Sep 2021 08:52:55 +0000 Subject: [PATCH] Fix build with libglvnd 1.3.4 --- PKGBUILD | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 239d5f4..a00f614 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -14,15 +14,21 @@ depends=(kscreenlocker xcb-util-cursor plasma-framework kcmutils kwayland-server makedepends=(extra-cmake-modules qt5-tools kdoctools krunner) optdepends=('maliit-keyboard: virtual keyboard for kwin-wayland') 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} + kwin-libglvnd-1.3.4.patch::https://invent.kde.org/plasma/kwin/-/commit/83971020.patch) install=$pkgname.install sha256sums=('128daed41c1b9e65ddad3fe2ce3aea821ef54af520d3d39cde059b2c2bfcf5a3' - 'SKIP') + 'SKIP' + '069489b49dd31ba33edbc3c0f915dccc299fa900d2f847c396418f8a51a08dda') validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E' # Jonathan Riddell '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D' # Bhushan Shah 'D07BD8662C56CB291B316EB2F5675605C74E02CF' # David Edmundson '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin +prepare() { + patch -d $pkgname-$pkgver -p1 < kwin-libglvnd-1.3.4.patch # Fix build with libglvnd 1.3.4 +} + build() { cmake -B build -S $pkgname-$pkgver \ -DCMAKE_INSTALL_LIBEXECDIR=lib \