git » konsole.git » commit 06cb52f

Fix background transparency (FS#50613)

author Antonio Rojas
2016-08-31 16:25:18 UTC
committer Antonio Rojas
2016-08-31 16:25:18 UTC
parent ef4c156eb0e1fefdd26711829f2ab40350014958

Fix background transparency (FS#50613)

PKGBUILD +16 -8

diff --git a/PKGBUILD b/PKGBUILD
index d47606b..7cb676c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=konsole
 pkgver=16.08.0
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url='http://kde.org/applications/system/konsole/'
 pkgdesc="Terminal"
@@ -15,14 +15,22 @@ makedepends=('extra-cmake-modules' 'kdoctools' 'python')
 optdepends=('kdebase-keditbookmarks: to manage bookmarks')
 replaces=('kdebase-konsole')
 conflicts=('kdebase-konsole<4.14.3-2')
-source=("http://download.kde.org/stable/applications/${pkgver}/src/konsole-${pkgver}.tar.xz")
-sha1sums=('d1b0187afbd879f2211c2b229a2a64cbd0be952b')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/konsole-${pkgver}.tar.xz"
+        kdebug-366368.patch::"https://quickgit.kde.org/?p=konsole.git&a=commitdiff&h=fca305eb&o=plain")
+sha1sums=('d1b0187afbd879f2211c2b229a2a64cbd0be952b'
+          'ab722ec281677d7ecdba2f0a269dba25bf824474')
 
-build() {
-  cd "${srcdir}"
+prepare() {
   mkdir -p build
+
+  cd $pkgname-$pkgver
+# Fix background transparency http://bugs.kde.org/show_bug.cgi?id=366368
+  patch -p1 -i ../kdebug-366368.patch
+}
+
+build() {
   cd build
-  cmake ../konsole-${pkgver} \
+  cmake ../$pkgname-$pkgver \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DKDE_INSTALL_LIBDIR=lib \
@@ -31,6 +39,6 @@ build() {
 }
 
 package() {
-  cd "${srcdir}"/build
-  make DESTDIR="${pkgdir}" install
+  cd build
+  make DESTDIR="$pkgdir" install
 }