diff options
author | Térence Clastres | 2019-03-16 16:43:10 +0100 |
---|---|---|
committer | Térence Clastres | 2019-03-16 16:47:53 +0100 |
commit | cb588bfe3f4228c79fb1c8b5d30c751bd3c604ae (patch) | |
tree | 95500e78d0d13e058e97e81dcf7a4fbb1c991926 | |
parent | 80d1d29586349aa04941a26ffcc339eb2ea15e09 (diff) | |
download | aur-cb588bfe3f4228c79fb1c8b5d30c751bd3c604ae.tar.gz |
Restore conditional performance patch
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 16 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = gnome-shell-performance pkgdesc = Next generation desktop shell | Attempt to improve the performance by non-upstreamed patches - pkgver = 3.32.0+15+gb7d79a5f0 + pkgver = 3.32.0+16+gc5780056a pkgrel = 1 url = https://wiki.gnome.org/Projects/GnomeShell arch = x86_64 @@ -34,7 +34,7 @@ pkgbase = gnome-shell-performance optdepends = gnome-control-center: System settings optdepends = evolution-data-server: Evolution calendar integration provides = gnome-shell - provides = gnome-shell=3.32.0+15+gb7d79a5f0 + provides = gnome-shell=3.32.0+16+gc5780056a conflicts = gnome-shell source = gnome-shell-performance::git+https://gitlab.gnome.org/GNOME/gnome-shell.git#commit=b7d79a5f063341f1773a9a8a5550a188c04efbda source = git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git @@ -4,7 +4,7 @@ # Contributor: Flamelab <panosfilip@gmail.com pkgname=gnome-shell-performance -pkgver=3.32.0+15+gb7d79a5f0 +pkgver=3.32.0+16+gc5780056a pkgrel=1 pkgdesc="Next generation desktop shell | Attempt to improve the performance by non-upstreamed patches" url="https://wiki.gnome.org/Projects/GnomeShell" @@ -32,6 +32,19 @@ pkgver() { prepare() { cd $pkgname + + # js/ui: Use captured-event::nonmotion [performance] + # https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/276 + # Requires mutter MR283/commit "clutter-actor: Add detail to captured-event signal [performance]" + if pacman -Q | grep mutter-781835-workaround; then + git cherry-pick 297a18f2 + echo "======= mutter-781835-workaround detected, MR276 is applied =======" + sleep 3 + else + echo "======= mutter-781835-workaround not installed, not applying MR276 =======" + sleep 3 + fi + git submodule init git config --local submodule.subprojects/gvc.url "$srcdir/libgnome-volume-control" git submodule update |