extra/qt5-base to 5.14.0-2

This commit is contained in:
Kevin Mihelich 2020-01-17 13:30:36 +00:00
parent e0fb9a29ed
commit af1071037b

View file

@ -10,7 +10,7 @@ pkgbase=qt5-base
pkgname=(qt5-base qt5-xcb-private-headers)
_qtver=5.14.0
pkgver=${_qtver/-/}
pkgrel=1
pkgrel=2
arch=('x86_64')
url='https://www.qt.io'
license=('GPL3' 'LGPL3' 'FDL' 'custom')
@ -32,8 +32,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=('4ef921c0f208a1624439801da8b3f4344a3793b660ce1095f2b7f5c4246b9463')
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
qtbug-80967.patch::"https://code.qt.io/cgit/qt/qtbase.git/patch/?id=b31852c4")
sha256sums=('4ef921c0f208a1624439801da8b3f4344a3793b660ce1095f2b7f5c4246b9463'
'52504c98cfd226548973d82b9ceb69c7557ba199993d189a3cb526b303dee740')
prepare() {
cd ${_pkgfqn}
@ -44,6 +46,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-80967.patch # Fix font rendering regression
}
build() {