diff options
author | Martchus | 2019-09-16 17:09:46 +0200 |
---|---|---|
committer | Martchus | 2019-09-16 17:09:46 +0200 |
commit | b6c82c0ec0fce7a81e3c7f7842c5ed0483e6c2fe (patch) | |
tree | 7995e2f09628b94c7699051f35668f6677dd8b02 /PKGBUILD | |
parent | 2d7a8118f7d9590bb5a18d9703b54df7ca609951 (diff) | |
download | aur-b6c82c0ec0fce7a81e3c7f7842c5ed0483e6c2fe.tar.gz |
Fix QTBUG-78086
See https://bugreports.qt.io/browse/QTBUG-78086
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -10,7 +10,7 @@ _qt_module=qtserialport pkgname="mingw-w64-qt5-serialport" pkgver=5.13.1 -pkgrel=1 +pkgrel=2 arch=('any') pkgdesc="Provides access to hardware and virtual serial ports (mingw-w64)" depends=('mingw-w64-qt5-base') @@ -20,8 +20,10 @@ groups=('mingw-w64-qt5') license=('GPL3' 'LGPL3' 'FDL' 'custom') url='https://www.qt.io/' _pkgfqn="${_qt_module}-everywhere-src-$pkgver" -source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/${_pkgfqn}.tar.xz") -sha256sums=('d96706f406d89b459ed0ecd129b68309a91cea0f132b839958b5311ea0d118d2') +source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/${_pkgfqn}.tar.xz" + '0001-Revert-Emit-_q_notify-only-if-there-s-no-notificatio.patch') +sha256sums=('d96706f406d89b459ed0ecd129b68309a91cea0f132b839958b5311ea0d118d2' + '93f027427ebde7ecd969b0ddca9526fbea0c4524cc4b62b31ce6d0b7a2693e52') _architectures='i686-w64-mingw32 x86_64-w64-mingw32' [[ $NO_STATIC_LIBS ]] || \ @@ -33,8 +35,14 @@ _architectures='i686-w64-mingw32 x86_64-w64-mingw32' prepare() { cd "${srcdir}/${_pkgfqn}" - # Don't build examples or tests. + + # don't build examples or tests. sed -i 's/ examples tests//' qtserialport.pro + + # apply patches; further descriptions can be found in patch files itself + for patch in "$srcdir/"*.patch; do + patch -p1 -i "$patch" + done } build() { |