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

Antonio Rojas arojas at archlinux.org
Tue Jul 23 16:52:41 UTC 2019


    Date: Tuesday, July 23, 2019 @ 16:52:41
  Author: arojas
Revision: 358530

Fix building against system libtiff (FS#63240)

Modified:
  qt5-imageformats/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-23 15:38:20 UTC (rev 358529)
+++ PKGBUILD	2019-07-23 16:52:41 UTC (rev 358530)
@@ -4,7 +4,7 @@
 pkgname=qt5-imageformats
 _qtver=5.13.0
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url='https://www.qt.io'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')
@@ -13,11 +13,16 @@
 makedepends=()
 groups=('qt' 'qt5')
 _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
-source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
-sha256sums=('91cb638e5f856acc17ab5a2e1a052dc91bb1af2bdbd7d99ba6a8a48f4a15f499')
+source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
+        qtimageformats-system-libtiff.patch::"https://code.qt.io/cgit/qt/qtimageformats.git/patch/?id=626c3053")
+sha256sums=('91cb638e5f856acc17ab5a2e1a052dc91bb1af2bdbd7d99ba6a8a48f4a15f499'
+            '272e6b1e4eaeb11ea97ae9e563c6375ed1a202bf21339cdd85dae9341dbd9130')
 
 prepare() {
   mkdir -p build
+
+  cd $_pkgfqn
+  patch -p1 -i ../qtimageformats-system-libtiff.patch # Fix using system libtiff
 }
 
 build() {



More information about the arch-commits mailing list