git » kwin.git » commit 79d2894

Make sure xwayland is available at build time

author Antonio Rojas
2024-03-10 09:59:19 UTC
committer Antonio Rojas
2024-03-10 09:59:19 UTC
parent 04af3c2384c72fa8d82f496e6e7f932e2188a4d8

Make sure xwayland is available at build time

Fixes https://gitlab.archlinux.org/archlinux/packaging/packages/kwin/-/issues/3

.SRCINFO +2 -1
PKGBUILD +3 -2

diff --git a/.SRCINFO b/.SRCINFO
index fd830ae..262784a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = kwin
 	pkgdesc = An easy to use, but flexible, composited Window Manager
 	pkgver = 6.0.1
-	pkgrel = 2
+	pkgrel = 3
 	url = https://kde.org/plasma-desktop/
 	install = kwin.install
 	arch = x86_64
@@ -13,6 +13,7 @@ pkgbase = kwin
 	makedepends = plasma-wayland-protocols
 	makedepends = python
 	makedepends = wayland-protocols
+	makedepends = xorg-xwayland
 	depends = breeze
 	depends = gcc-libs
 	depends = glibc
diff --git a/PKGBUILD b/PKGBUILD
index d2ddae6..7b35bd8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
 pkgname=kwin
 pkgver=6.0.1
 _dirver=$(echo $pkgver | cut -d. -f1-3)
-pkgrel=2
+pkgrel=3
 pkgdesc='An easy to use, but flexible, composited Window Manager'
 arch=(x86_64)
 url='https://kde.org/plasma-desktop/'
@@ -76,7 +76,8 @@ makedepends=(extra-cmake-modules
              krunner
              plasma-wayland-protocols
              python
-             wayland-protocols)
+             wayland-protocols
+             xorg-xwayland)
 optdepends=('maliit-keyboard: virtual keyboard for kwin-wayland')
 groups=(plasma)
 source=(https://download.kde.org/stable/plasma/$_dirver/$pkgname-$pkgver.tar.xz{,.sig})