git » breeze.git » commit 5049159

Fix performance regression (FS#47347)

author Antonio Rojas
2015-12-17 13:08:39 UTC
committer Antonio Rojas
2015-12-17 13:08:39 UTC
parent 631aa13dbdcd9c36adef225a56eaa1bd8e7fd51f

Fix performance regression (FS#47347)

PKGBUILD +10 -4

diff --git a/PKGBUILD b/PKGBUILD
index af1939d..c62c604 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,21 +2,27 @@
 # Maintainer: Antonio Rojas <arojas@archlinux.org>
 # Contributor: Andrea Scarpino <andrea@archlinux.org>
 
-
 pkgbase=breeze
 pkgname=('breeze' 'breeze-kde4')
 pkgver=5.5.1
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url='https://projects.kde.org/projects/kde/workspace/breeze'
 license=('LGPL')
 makedepends=('extra-cmake-modules' 'frameworkintegration' 'kdelibs'
              'automoc4' 'kdecoration' 'kcmutils' 'plasma-framework')
-source=("http://download.kde.org/stable/plasma/${pkgver}/$pkgbase-$pkgver.tar.xz")
-md5sums=('a57b24aed93ac3d2f50995a0a7fcfb07')
+source=("http://download.kde.org/stable/plasma/${pkgver}/$pkgbase-$pkgver.tar.xz"
+	bug356561.patch::"https://quickgit.kde.org/?p=breeze.git&a=commitdiff&h=6d852f3&o=plain")
+md5sums=('a57b24aed93ac3d2f50995a0a7fcfb07'
+         '50572e7ad55586260cae482d03ffa643')
 
 prepare() {
   mkdir -p build{,-kde4}
+
+  cd $pkgbase-$pkgver
+# Revert commit causing performance regression https://bugs.kde.org/show_bug.cgi?id=356561 
+# (fixed in trunk, doesn't apply to 5.5)
+  patch -Rp1 -i ../bug356561.patch
 }
 
 build() {