git » qt5-declarative.git » commit 43d23d0

Fix subpixel positioned text rendering (FS#67734)

author Antonio Rojas
2020-08-27 22:12:13 UTC
committer Antonio Rojas
2020-08-27 22:12:13 UTC
parent 633c67ea8f3aebd9656cd1a553d9d985268e7b9b

Fix subpixel positioned text rendering (FS#67734)

PKGBUILD +8 -3

diff --git a/PKGBUILD b/PKGBUILD
index 16e7122..7f4fed7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 pkgname=qt5-declarative
 _qtver=5.15.0
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url='https://www.qt.io'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')
@@ -14,11 +14,16 @@ makedepends=('python' 'vulkan-headers')
 groups=('qt' 'qt5')
 conflicts=('qtchooser')
 _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
-source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
-sha256sums=('9c3c93fb7d340b2f7d738d12408c047318c78973cb45bfc5ff6b3a57e1fef699')
+source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
+         qtbug-49646.patch::"https://code.qt.io/cgit/qt/qtdeclarative.git/patch/?id=70691847")
+sha256sums=('9c3c93fb7d340b2f7d738d12408c047318c78973cb45bfc5ff6b3a57e1fef699'
+            '04bf6e238fd674d5924c499cc7a65a5419286fa4763a0db6d82a2f4bbd4dc5d7')
 
 prepare() {
   mkdir -p build
+
+  cd $_pkgfqn
+  patch -p1 -i ../qtbug-49646.patch # Fix subpixel positioned text rendering
 }
 
 build() {