1
0
Fork 0

Restore conditional performance patch

This commit is contained in:
Térence Clastres 2019-03-16 16:43:10 +01:00
parent 80d1d29586
commit cb588bfe3f
2 changed files with 16 additions and 3 deletions

View file

@ -1,6 +1,6 @@
pkgbase = gnome-shell-performance pkgbase = gnome-shell-performance
pkgdesc = Next generation desktop shell | Attempt to improve the performance by non-upstreamed patches 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 pkgrel = 1
url = https://wiki.gnome.org/Projects/GnomeShell url = https://wiki.gnome.org/Projects/GnomeShell
arch = x86_64 arch = x86_64
@ -34,7 +34,7 @@ pkgbase = gnome-shell-performance
optdepends = gnome-control-center: System settings optdepends = gnome-control-center: System settings
optdepends = evolution-data-server: Evolution calendar integration optdepends = evolution-data-server: Evolution calendar integration
provides = gnome-shell provides = gnome-shell
provides = gnome-shell=3.32.0+15+gb7d79a5f0 provides = gnome-shell=3.32.0+16+gc5780056a
conflicts = gnome-shell conflicts = gnome-shell
source = gnome-shell-performance::git+https://gitlab.gnome.org/GNOME/gnome-shell.git#commit=b7d79a5f063341f1773a9a8a5550a188c04efbda 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 source = git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git

View file

@ -4,7 +4,7 @@
# Contributor: Flamelab <panosfilip@gmail.com # Contributor: Flamelab <panosfilip@gmail.com
pkgname=gnome-shell-performance pkgname=gnome-shell-performance
pkgver=3.32.0+15+gb7d79a5f0 pkgver=3.32.0+16+gc5780056a
pkgrel=1 pkgrel=1
pkgdesc="Next generation desktop shell | Attempt to improve the performance by non-upstreamed patches" pkgdesc="Next generation desktop shell | Attempt to improve the performance by non-upstreamed patches"
url="https://wiki.gnome.org/Projects/GnomeShell" url="https://wiki.gnome.org/Projects/GnomeShell"
@ -32,6 +32,19 @@ pkgver() {
prepare() { prepare() {
cd $pkgname 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 submodule init
git config --local submodule.subprojects/gvc.url "$srcdir/libgnome-volume-control" git config --local submodule.subprojects/gvc.url "$srcdir/libgnome-volume-control"
git submodule update git submodule update