extra/qt5-base to 5.7.0-9

This commit is contained in:
Kevin Mihelich 2016-12-10 13:55:45 +00:00
parent f33902800f
commit c272abb97a

View file

@ -10,14 +10,14 @@
pkgname=qt5-base pkgname=qt5-base
_qtver=5.7.0 _qtver=5.7.0
pkgver=${_qtver/-/} pkgver=${_qtver/-/}
pkgrel=7 pkgrel=9
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url='http://qt-project.org/' url='http://qt-project.org/'
license=('GPL3' 'LGPL3' 'FDL' 'custom') license=('GPL3' 'LGPL3' 'FDL' 'custom')
pkgdesc='A cross-platform application and UI framework' pkgdesc='A cross-platform application and UI framework'
depends=('libjpeg-turbo' 'xcb-util-keysyms' 'libgl' 'fontconfig' depends=('libjpeg-turbo' 'xcb-util-keysyms' 'libgl' 'fontconfig'
'xcb-util-wm' 'libxrender' 'libxi' 'sqlite' 'xcb-util-image' 'icu' 'xcb-util-wm' 'libxrender' 'libxi' 'sqlite' 'xcb-util-image' 'icu'
'tslib' 'libinput' 'libsm' 'libxkbcommon-x11' 'libproxy') 'tslib' 'libinput' 'libsm' 'libxkbcommon-x11' 'libproxy' 'libcups')
makedepends=('mtdev' 'libfbclient' 'libmariadbclient' 'sqlite' 'unixodbc' 'postgresql-libs' 'alsa-lib' 'gst-plugins-base-libs' makedepends=('mtdev' 'libfbclient' 'libmariadbclient' 'sqlite' 'unixodbc' 'postgresql-libs' 'alsa-lib' 'gst-plugins-base-libs'
'gtk3' 'libpulse' 'cups' 'freetds') 'gtk3' 'libpulse' 'cups' 'freetds')
optdepends=('qt5-svg: to use SVG icon themes' optdepends=('qt5-svg: to use SVG icon themes'
@ -36,13 +36,17 @@ source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submo
qtbug-53071b.patch::"https://github.com/qtproject/qtbase/commit/cd25866f.patch" qtbug-53071b.patch::"https://github.com/qtproject/qtbase/commit/cd25866f.patch"
qtbug-53237.patch::"https://github.com/qtproject/qtbase/commit/8e889378.patch" qtbug-53237.patch::"https://github.com/qtproject/qtbase/commit/8e889378.patch"
qtbug-49452.patch::"https://github.com/qt/qtbase/commit/6f423555.patch" qtbug-49452.patch::"https://github.com/qt/qtbase/commit/6f423555.patch"
qtbase-memory-leak.patch::"https://github.com/qt/qtbase/commit/42283868.patch") qtbase-memory-leak.patch::"https://github.com/qt/qtbase/commit/42283868.patch"
qtbug-49061.patch::"https://github.com/qt/qtbase/commit/494376f9.patch"
qtbug-55583.patch::"https://github.com/qt/qtbase/commit/84ea00d4.patch")
md5sums=('184f9460b40752d71b15b827260580c2' md5sums=('184f9460b40752d71b15b827260580c2'
'462f079cd46f869def6858903a718bf5' '462f079cd46f869def6858903a718bf5'
'da4fd787ea877516397a027412e975e1' 'da4fd787ea877516397a027412e975e1'
'981255fb1aea0d3c0b5c5f306fe374da' '981255fb1aea0d3c0b5c5f306fe374da'
'646aea77ca90031c453a65ef61db55f9' '646aea77ca90031c453a65ef61db55f9'
'9842c327b091b360da7a4d90f5fdf4da') '9842c327b091b360da7a4d90f5fdf4da'
'c86af27562bbbe05c3defd63d00130fd'
'7b11584d9ea1ccb6c419e9b9816dee63')
prepare() { prepare() {
cd ${_pkgfqn} cd ${_pkgfqn}
@ -73,6 +77,12 @@ prepare() {
# Fix memory leak # Fix memory leak
patch -p1 -i ../qtbase-memory-leak.patch patch -p1 -i ../qtbase-memory-leak.patch
# Don't unload plugins in QPluginLoader https://bugreports.qt.io/browse/QTBUG-49061
patch -p1 -i ../qtbug-49061.patch
# Fix file chooser segfault on gnome/wayland https://bugreports.qt.io/browse/QTBUG-55583
patch -p1 -i ../qtbug-55583.patch
} }
build() { build() {