author | Antonio Rojas
<arojas@archlinux.org> 2019-01-07 18:40:54 UTC |
committer | Antonio Rojas
<arojas@archlinux.org> 2019-01-07 18:40:54 UTC |
parent | 2bd239ad0771cb85f4001d3bfdf35611fc7ea4b1 |
PKGBUILD | +7 | -3 |
diff --git a/PKGBUILD b/PKGBUILD index 8274110..56a0808 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ pkgbase=qt5-base pkgname=(qt5-base qt5-xcb-private-headers) _qtver=5.12.0 pkgver=${_qtver/-/} -pkgrel=1 +pkgrel=2 arch=('x86_64') url='http://qt-project.org/' license=('GPL3' 'LGPL3' 'FDL' 'custom') @@ -25,8 +25,10 @@ optdepends=('qt5-svg: to use SVG icon themes' conflicts=('qtchooser') groups=('qt' 'qt5') _pkgfqn="${pkgbase/5-/}-everywhere-src-${_qtver}" -source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('5e03221d780e121aabd734896aab8f331e5d8c9d9b54f1eb04907d0818eaeecb') +source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz" + qtbug-72844.patch::"https://code.qt.io/cgit/qt/qtbase.git/patch/?id=52e0d9e2") +sha256sums=('5e03221d780e121aabd734896aab8f331e5d8c9d9b54f1eb04907d0818eaeecb' + 'afdea0787e1d8d4c2e7139770761aba4fe8268f50b7f5d715bdd850cc7017996') prepare() { cd ${_pkgfqn} @@ -37,6 +39,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-72844.patch # Fix drag and drop regression } build() {