[arch-commits] Commit in qt5-base/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Nov 18 21:46:52 UTC 2019


    Date: Monday, November 18, 2019 @ 21:46:51
  Author: arojas
Revision: 369419

Support postgresql 12

Modified:
  qt5-base/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-18 21:37:32 UTC (rev 369418)
+++ PKGBUILD	2019-11-18 21:46:51 UTC (rev 369419)
@@ -5,7 +5,7 @@
 pkgname=(qt5-base qt5-xcb-private-headers)
 _qtver=5.13.2
 pkgver=${_qtver/-/}
-pkgrel=2
+pkgrel=3
 arch=('x86_64')
 url='https://www.qt.io'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')
@@ -26,8 +26,10 @@
 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=('26b6b686d66a7ad28eaca349e55e2894e5a735f3831e45f2049e93b1daa92121')
+source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
+         qtbase-postgresql-12.patch::"https://code.qt.io/cgit/qt/qtbase.git/patch/?id=14b61d48")
+sha256sums=('26b6b686d66a7ad28eaca349e55e2894e5a735f3831e45f2049e93b1daa92121'
+            'd3af93d23109fe59659e80e6c5b70b1e877a0680635eb919e74b4d79724db36b')
 
 prepare() {
   cd ${_pkgfqn}
@@ -38,6 +40,8 @@
     mkspecs/common/gcc-base.conf
   sed -i -e "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 ${LDFLAGS}|" \
     mkspecs/common/g++-unix.conf
+
+  patch -p1 -i ../qtbase-postgresql-12.patch # Add support for postgresql 12
 }
 
 build() {



More information about the arch-commits mailing list