1
0
Fork 0

Allow to spawn realtime threads without the help of rtkit

Signed-off-by: Mingi Sung <fiestalake@disroot.org>
This commit is contained in:
Mingi Sung 2023-04-16 21:30:58 +09:00
parent 4dc50d8cfb
commit 32467a0e75
No known key found for this signature in database
GPG key ID: 31A419BE9238EC9D
3 changed files with 12 additions and 2 deletions

View file

@ -1,7 +1,7 @@
pkgbase = gnome-shell-performance pkgbase = gnome-shell-performance
pkgdesc = Next generation desktop shell | Attempts to improve performances with non-upstreamed merge-requests and frequent stable branch resync pkgdesc = Next generation desktop shell | Attempts to improve performances with non-upstreamed merge-requests and frequent stable branch resync
pkgver = 43.4 pkgver = 43.4
pkgrel = 1 pkgrel = 2
epoch = 1 epoch = 1
url = https://wiki.gnome.org/Projects/GnomeShell url = https://wiki.gnome.org/Projects/GnomeShell
arch = x86_64 arch = x86_64
@ -51,6 +51,7 @@ pkgbase = gnome-shell-performance
sha256sums = SKIP sha256sums = SKIP
pkgname = gnome-shell-performance pkgname = gnome-shell-performance
install = gnome-shell.install
depends = accountsservice depends = accountsservice
depends = gcr-4 depends = gcr-4
depends = gjs depends = gjs

View file

@ -23,7 +23,7 @@ _merge_requests_to_use=()
pkgname=gnome-shell-performance pkgname=gnome-shell-performance
_pkgname=gnome-shell _pkgname=gnome-shell
pkgver=43.4 pkgver=43.4
pkgrel=1 pkgrel=2
epoch=1 epoch=1
pkgdesc="Next generation desktop shell | Attempts to improve performances with non-upstreamed merge-requests and frequent stable branch resync" 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" url="https://wiki.gnome.org/Projects/GnomeShell"
@ -156,5 +156,6 @@ fi
package() { package() {
depends+=(libmutter-11.so) depends+=(libmutter-11.so)
install=gnome-shell.install
meson install -C build --destdir "$pkgdir" meson install -C build --destdir "$pkgdir"
} }

8
gnome-shell.install Normal file
View 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()
}