Add post-install script to allow gnome-shell to acquire RT scheduling
This commit is contained in:
parent
d2bae6e853
commit
fd92a7d26c
3 changed files with 19 additions and 5 deletions
5
.SRCINFO
5
.SRCINFO
|
@ -1,8 +1,9 @@
|
|||
pkgbase = gnome-shell-performance
|
||||
pkgdesc = Next generation desktop shell | Attempt to improve the performance by non-upstreamed patches
|
||||
pkgver = 3.32.1+10+g059c729da
|
||||
pkgrel = 4
|
||||
pkgrel = 5
|
||||
url = https://wiki.gnome.org/Projects/GnomeShell
|
||||
install = gnome-shell-performance.install
|
||||
arch = x86_64
|
||||
groups = gnome
|
||||
license = GPL2
|
||||
|
@ -40,10 +41,12 @@ pkgbase = gnome-shell-performance
|
|||
source = git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git
|
||||
source = https://github.com/endlessm/gnome-shell/commit/11ddabfb22aedb3c35abe06d2cf0205f223cca03.diff
|
||||
source = https://gitlab.gnome.org/GNOME/gnome-shell/uploads/4a083c80c81eeb0dd1be64e0e24b5c17/nvidia-background-workaround.patch
|
||||
source = gnome-shell-performance.install
|
||||
sha256sums = SKIP
|
||||
sha256sums = SKIP
|
||||
sha256sums = 53fb32bfe8432e6309d5b1bcf9c2b7f36693b9141778b823f1d7e9c1d3f39425
|
||||
sha256sums = 505c90290e5a867692f55d3209a22755bcffb997e7cac59e49b1a78c976d5af9
|
||||
sha256sums = 63761e63722ed3ef0aea17fe7c458391ff43b7238790e84213d45dd128ede250
|
||||
|
||||
pkgname = gnome-shell-performance
|
||||
|
||||
|
|
11
PKGBUILD
11
PKGBUILD
|
@ -5,14 +5,14 @@
|
|||
|
||||
pkgname=gnome-shell-performance
|
||||
pkgver=3.32.1+10+g059c729da
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc="Next generation desktop shell | Attempt to improve the performance by non-upstreamed patches"
|
||||
url="https://wiki.gnome.org/Projects/GnomeShell"
|
||||
arch=(x86_64)
|
||||
license=(GPL2)
|
||||
depends=(accountsservice gcr gjs gnome-bluetooth upower gnome-session gnome-settings-daemon
|
||||
gnome-themes-extra gsettings-desktop-schemas libcanberra-pulse libcroco libgdm libsecret
|
||||
mutter-781835-workaround nm-connection-editor unzip gstreamer libibus)
|
||||
mutter-781835-workaround nm-connection-editor unzip gstreamer libibus libpcap)
|
||||
makedepends=(gtk-doc gnome-control-center evolution-data-server gobject-introspection git meson
|
||||
sassc)
|
||||
optdepends=('gnome-control-center: System settings'
|
||||
|
@ -20,15 +20,18 @@ optdepends=('gnome-control-center: System settings'
|
|||
groups=(gnome)
|
||||
provides=(gnome-shell gnome-shell=$pkgver)
|
||||
conflicts=(gnome-shell)
|
||||
install="$pkgname.install"
|
||||
_commit=059c729da0c4deaf71caa7a61a8fb91f7bf882d6 # tags/3.32.1^10
|
||||
source=("$pkgname::git+https://gitlab.gnome.org/GNOME/gnome-shell.git#commit=$_commit"
|
||||
"git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git"
|
||||
https://github.com/endlessm/gnome-shell/commit/11ddabfb22aedb3c35abe06d2cf0205f223cca03.diff
|
||||
https://gitlab.gnome.org/GNOME/gnome-shell/uploads/4a083c80c81eeb0dd1be64e0e24b5c17/nvidia-background-workaround.patch)
|
||||
https://gitlab.gnome.org/GNOME/gnome-shell/uploads/4a083c80c81eeb0dd1be64e0e24b5c17/nvidia-background-workaround.patch
|
||||
"$pkgname.install")
|
||||
sha256sums=('SKIP'
|
||||
'SKIP'
|
||||
'53fb32bfe8432e6309d5b1bcf9c2b7f36693b9141778b823f1d7e9c1d3f39425'
|
||||
'505c90290e5a867692f55d3209a22755bcffb997e7cac59e49b1a78c976d5af9')
|
||||
'505c90290e5a867692f55d3209a22755bcffb997e7cac59e49b1a78c976d5af9'
|
||||
'63761e63722ed3ef0aea17fe7c458391ff43b7238790e84213d45dd128ede250')
|
||||
pkgver() {
|
||||
cd $pkgname
|
||||
|
||||
|
|
8
gnome-shell-performance.install
Normal file
8
gnome-shell-performance.install
Normal file
|
@ -0,0 +1,8 @@
|
|||
post_install() {
|
||||
setcap CAP_SYS_NICE=+ep usr/bin/gnome-shell
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
Loading…
Reference in a new issue