Allow to spawn realtime threads without the help of rtkit
Signed-off-by: Mingi Sung <fiestalake@disroot.org>
This commit is contained in:
parent
4dc50d8cfb
commit
32467a0e75
3 changed files with 12 additions and 2 deletions
3
.SRCINFO
3
.SRCINFO
|
@ -1,7 +1,7 @@
|
|||
pkgbase = gnome-shell-performance
|
||||
pkgdesc = Next generation desktop shell | Attempts to improve performances with non-upstreamed merge-requests and frequent stable branch resync
|
||||
pkgver = 43.4
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
epoch = 1
|
||||
url = https://wiki.gnome.org/Projects/GnomeShell
|
||||
arch = x86_64
|
||||
|
@ -51,6 +51,7 @@ pkgbase = gnome-shell-performance
|
|||
sha256sums = SKIP
|
||||
|
||||
pkgname = gnome-shell-performance
|
||||
install = gnome-shell.install
|
||||
depends = accountsservice
|
||||
depends = gcr-4
|
||||
depends = gjs
|
||||
|
|
3
PKGBUILD
3
PKGBUILD
|
@ -23,7 +23,7 @@ _merge_requests_to_use=()
|
|||
pkgname=gnome-shell-performance
|
||||
_pkgname=gnome-shell
|
||||
pkgver=43.4
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
epoch=1
|
||||
pkgdesc="Next generation desktop shell | Attempts to improve performances with non-upstreamed merge-requests and frequent stable branch resync"
|
||||
url="https://wiki.gnome.org/Projects/GnomeShell"
|
||||
|
@ -156,5 +156,6 @@ fi
|
|||
|
||||
package() {
|
||||
depends+=(libmutter-11.so)
|
||||
install=gnome-shell.install
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
}
|
||||
|
|
8
gnome-shell.install
Normal file
8
gnome-shell.install
Normal file
|
@ -0,0 +1,8 @@
|
|||
post_install() {
|
||||
setcap cap_sys_nice+ep usr/bin/gnome-shell
|
||||
echo "[Recommendation] Add rt-scheduler to /org/gnome/mutter/experimental-features in dconf setting"
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install()
|
||||
}
|
Loading…
Reference in a new issue