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

Antonio Rojas arojas at archlinux.org
Fri Apr 27 10:21:26 UTC 2018


    Date: Friday, April 27, 2018 @ 10:21:26
  Author: arojas
Revision: 323067

Use upstream fix for missing private include dirs

Modified:
  qt5-base/kde-unstable/PKGBUILD

----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-27 03:44:43 UTC (rev 323066)
+++ PKGBUILD	2018-04-27 10:21:26 UTC (rev 323067)
@@ -11,7 +11,7 @@
 url='http://qt-project.org/'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')
 pkgdesc='A cross-platform application and UI framework'
-depends=('libjpeg-turbo' 'xcb-util-keysyms' 'xcb-util-renderutil' 'libgl' 'fontconfig' 'xdg-utils'
+depends=('libjpeg-turbo' 'xcb-util-keysyms' 'xcb-util-renderutil' 'libgl' 'fontconfig' 'xdg-utils' 'shared-mime-info'
          'xcb-util-wm' 'libxrender' 'libxi' 'sqlite' 'xcb-util-image' 'icu' 'pcre2'
          'tslib' 'libinput' 'libsm' 'libxkbcommon-x11' 'libproxy' 'libcups' 'double-conversion')
 makedepends=('libfbclient' 'libmariadbclient' 'sqlite' 'unixodbc' 'postgresql-libs' 'alsa-lib' 'gst-plugins-base-libs'
@@ -26,8 +26,10 @@
 conflicts=('qtchooser')
 groups=('qt' 'qt5')
 _pkgfqn="${pkgbase/5-/}-everywhere-src-${_qtver}"
-source=("http://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
-sha256sums=('d10d57228ca1f7a85e1beccc6c7fa4b0b16fceea3a5dba6ccbfc2254b1bc1667')
+source=("http://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
+        qt-private-includes.patch::"http://code.qt.io/cgit/qt/qtbase.git/patch/?id=67aa365d")
+sha256sums=('d10d57228ca1f7a85e1beccc6c7fa4b0b16fceea3a5dba6ccbfc2254b1bc1667'
+            'bf6e52cc613599ff3dc756113ffb61aa1896a84abefbe69f42bdb846202d1f71')
 
 prepare() {
   cd ${_pkgfqn}
@@ -44,7 +46,7 @@
     's|#![ ]*/usr/bin/python$|&2|;s|#![ ]*/usr/bin/env python$|&2|' {} +
 
   # Fix missing private includes https://bugreports.qt.io/browse/QTBUG-37417
-  sed -e '/CMAKE_NO_PRIVATE_INCLUDES\ \=\ true/d' -i mkspecs/features/create_cmake.prf
+  patch -p1 -i ../qt-private-includes.patch
 }
 
 build() {



More information about the arch-commits mailing list