sway: enable cap_sys_nice if the kernel supports it

This commit is contained in:
Tim Biermann 2023-01-03 12:09:48 +00:00
parent 24e57a0527
commit 01336b48c7
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF330DOcTlfEV+ZBazs/NHWabP/OZsdOdIravWXYDtmqUhWDmSNo8WaBtyG4DBbfF277JDNWs8JbJ8eq8bfZuDowg=
SHA256 (Pkgfile) = 9ddb3a635a8755b59b0081158665703e37312d212c2a4fc2759e669d31efb76b
RWSagIOpLGJF3+IKXGN4OP7zwsU0yRE2h9krqyHd57bVt+YCO+1TvOASWyNH3cdXOZPhucW0sfEtYC5rBDHSziA93bnCNOBLvgs=
SHA256 (Pkgfile) = adda552a197cf7dfb3f4586606ed334c79ede62cffc3e36e097611643b19dcf6
SHA256 (.footprint) = 76cf242dac27363a8a964536eda5e54f00953e79380ee493090ca249bd688920
SHA256 (sway-1.8.tar.gz) = fae0422bca8f528027f77e3a7bbea2be0498bba2ad3f0d22554ff8827e37f04e
SHA256 (6249.patch) = c32823efff2406c5cdd583310aa22a80020397df294231e509cf1b4dc6a45265

View File

@ -6,7 +6,7 @@
name=sway
version=1.8
release=1
release=2
source=(https://github.com/swaywm/sway/archive/$version/$name-$version.tar.gz
6249.patch)
@ -29,4 +29,8 @@ build() {
-D werror=false
meson compile -C build
DESTDIR=$PKG meson install -C build
# needs CONFIG_*_FS_SECURITY to work
# https://github.com/swaywm/sway/pull/6994
setcap 'cap_sys_nice=eip' $PKG/usr/bin/sway || true
}