extra/qt5-base to 5.9.1-2

This commit is contained in:
Jason Plum 2017-07-04 10:49:25 -04:00
parent b1c4634b2f
commit 52ba3e8adc

View file

@ -9,7 +9,7 @@
pkgbase=qt5-base
pkgname=(qt5-base qt5-xcb-private-headers)
_qtver=5.9.0
_qtver=5.9.1
pkgver=${_qtver/-/}
pkgrel=2
arch=('i686' 'x86_64')
@ -32,11 +32,11 @@ conflicts=('qtchooser')
groups=('qt' 'qt5')
_pkgfqn="${pkgbase/5-/}-opensource-src-${_qtver}"
source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
qtbug-61140.patch::"https://github.com/qt/qtbase/commit/744fd39e.patch"
qtbug-60558.patch::"https://github.com/qt/qtbase/commit/f45c6c18.patch")
sha256sums=('267eb2af1a203c087f2113f43b08014d0e2d2cb269295b8602d869a2fad5296c'
'a00d8a0284e0c774c00dc72277edc63579212476ec1d4ebb6246bfd1035e3e4a'
'e9d5189baf7a1d8957bd5b00474732412377ac761128e99066aa3314626f7989')
qtbug-61731.patch::"https://github.com/qt/qtbase/commit/386af91c.patch"
qtcreatorbug-18448.patch::"https://github.com/qt/qtbase/commit/2a9f678f.patch")
sha256sums=('bc9a21e9f6fff9629019fdf9f989f064751d5073c3a28dc596def92f4d4275c6'
'b164a873894cfc783980e883082d2b22b5aab00166c6751f66e78d4c41c3e2e3'
'5f878d144ac18097376dce154a411449cde181ddce2d93501114f890c9cdb1c3')
prepare() {
cd ${_pkgfqn}
@ -55,10 +55,10 @@ prepare() {
# Fix missing private includes https://bugreports.qt.io/browse/QTBUG-37417
sed -e '/CMAKE_NO_PRIVATE_INCLUDES\ \=\ true/d' -i mkspecs/features/create_cmake.prf
# Don't destroy foreign windows
patch -p1 -i ../qtbug-61140.patch
# Fix crashes with QtCurve
patch -p1 -i ../qtbug-60558.patch
# Fix accessibility build
patch -p1 -i ../qtbug-61731.patch
# Fix doc navigation
patch -p1 -i ../qtcreatorbug-18448.patch
}
build() {