aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-shell
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-01-06 12:24:49 +0100
committerRasmus Thomsen <oss@cogitri.dev>2020-01-06 14:44:54 +0100
commita6b388f8d84052710146dd15d0a8d6f315b6c161 (patch)
treeba06ccf1e5aed621560fc5b8481ea551faace954 /community/gnome-shell
parentaf6b6ab4ea9fb4b6a581614f33099f45d5ad8ee3 (diff)
downloadaports-a6b388f8d84052710146dd15d0a8d6f315b6c161.tar.bz2
aports-a6b388f8d84052710146dd15d0a8d6f315b6c161.tar.xz
community/gnome-shell: set cap_sys_nice to allow enabling realtime scheduling
Diffstat (limited to 'community/gnome-shell')
-rw-r--r--community/gnome-shell/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/community/gnome-shell/APKBUILD b/community/gnome-shell/APKBUILD
index 4cc6a37c30..ecd9e97584 100644
--- a/community/gnome-shell/APKBUILD
+++ b/community/gnome-shell/APKBUILD
@@ -46,7 +46,8 @@ makedepends="gnome-desktop-dev
gnome-bluetooth-dev
gstreamer-dev
gnome-autoar-dev
- asciidoc"
+ asciidoc
+ libcap"
checkdepends="
xvfb-run
mesa-dri-swrast
@@ -74,6 +75,8 @@ check() {
package() {
DESTDIR="$pkgdir" ninja -C output install
+ #allow realtime scheduling
+ setcap cap_sys_nice+ep "$pkgdir"/usr/bin/gnome-shell
}
sha512sums="7831a4e7f5356d675b91a2feb551edf0e85e7ba8962f556f9448fc4c537afe1ee35e8b53cd9c349ff62bf783a24f0686ce9282175156eaf962db1fb26c499d28 gnome-shell-3.34.3.tar.xz"