git » qt5-base.git » commit 103e894

Fix disappearing system tray icons (FS#62325)

author Antonio Rojas
2019-04-24 06:34:03 UTC
committer Antonio Rojas
2019-04-24 06:34:03 UTC
parent f3af471f66c396af8953c41a9fc936f46dca9569

Fix disappearing system tray icons (FS#62325)

PKGBUILD +7 -3

diff --git a/PKGBUILD b/PKGBUILD
index 57aa236..63a2c92 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=qt5-base
 pkgname=(qt5-base qt5-xcb-private-headers)
 _qtver=5.12.3
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url='https://www.qt.io'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')
@@ -26,8 +26,10 @@ optdepends=('qt5-svg: to use SVG icon themes'
 conflicts=('qtchooser')
 groups=('qt' 'qt5')
 _pkgfqn="${pkgbase/5-/}-everywhere-src-${_qtver}"
-source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
-sha256sums=('fddfd8852ef7503febeed67b876d1425160869ae2b1ae8e10b3fb0fedc5fe701')
+source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
+        qtbug-61898.patch::"https://code.qt.io/cgit/qt/qtbase.git/patch/?id=2947435d")
+sha256sums=('fddfd8852ef7503febeed67b876d1425160869ae2b1ae8e10b3fb0fedc5fe701'
+            '9339a016ac55cba18c494d45fe2ca8a53313ae0c525acd18e65fcab0d552d23b')
 
 prepare() {
   cd ${_pkgfqn}
@@ -38,6 +40,8 @@ prepare() {
     mkspecs/common/gcc-base.conf
   sed -i -e "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 ${LDFLAGS}|" \
     mkspecs/common/g++-unix.conf
+
+  patch -p1 -i ../qtbug-61898.patch # Fix disappearing system tray icons
 }
 
 build() {