From 030ae47f797b462042cba7c4eb7012ba3c7c8e4d Mon Sep 17 00:00:00 2001 From: Brett Cornwall Date: Thu, 12 Mar 2020 01:31:07 +0000 Subject: [PATCH] Add polkit as dependency Without polkit Sway fails to obtain CAP_SYS_ADMIN to become a DRM master. This ensures that a base Arch installation + pacman -S sway gives a working session. --- PKGBUILD | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index d96123d..d5f9486 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,12 +4,22 @@ pkgname=sway pkgver=1.4 epoch=1 -pkgrel=7 +pkgrel=8 pkgdesc='Tiling Wayland compositor and replacement for the i3 window manager' arch=(x86_64) url='https://swaywm.org/' license=(MIT) -depends=(cairo gdk-pixbuf2 json-c pango pcre swaybg ttf-font wlroots) +depends=( + 'cairo' + 'gdk-pixbuf2' + 'json-c' + 'pango' + 'polkit' + 'pcre' + 'swaybg' + 'ttf-font' + 'wlroots' +) makedepends=(git meson ninja scdoc setconf wayland-protocols) backup=(etc/sway/config) optdepends=(