[arch-commits] Commit in qt5-webengine/repos (3 files)

Antonio Rojas arojas at archlinux.org
Wed Oct 9 12:18:16 UTC 2019


    Date: Wednesday, October 9, 2019 @ 12:18:15
  Author: arojas
Revision: 364228

archrelease: copy kde-unstable to kde-unstable-x86_64

Added:
  qt5-webengine/repos/kde-unstable-x86_64/
  qt5-webengine/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 364227, qt5-webengine/kde-unstable/PKGBUILD)
  qt5-webengine/repos/kde-unstable-x86_64/qt5-webengine-system-icu.patch
    (from rev 364227, qt5-webengine/kde-unstable/qt5-webengine-system-icu.patch)

--------------------------------+
 PKGBUILD                       |   50 +++++++++++++++++++++++++++++++++++++++
 qt5-webengine-system-icu.patch |   20 +++++++++++++++
 2 files changed, 70 insertions(+)

Copied: qt5-webengine/repos/kde-unstable-x86_64/PKGBUILD (from rev 364227, qt5-webengine/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2019-10-09 12:18:15 UTC (rev 364228)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=qt5-webengine
+_qtver=5.14.0-beta1
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('x86_64')
+url='https://www.qt.io'
+license=('LGPL3' 'LGPL2.1' 'BSD')
+pkgdesc='Provides support for web applications using the Chromium browser project'
+depends=('qt5-webchannel' 'qt5-location' 'libxcomposite' 'libxrandr' 'pciutils' 'libxss' 
+         'libevent' 'snappy' 'nss' 'libxslt' 'minizip' 'ffmpeg' 're2' 'libvpx')
+makedepends=('python2' 'gperf' 'jsoncpp' 'ninja' 'qt5-tools' 'poppler' 'gn')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
+source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
+        qt5-webengine-linux-5.2.patch::"https://code.qt.io/cgit/qt/qtwebengine-chromium.git/patch?id=74e69da9")
+sha256sums=('4255e0a4f1510b6cae552f053b774659d93116cf17080ac003884c82dc00961c'
+            '8deb3df43a379976bbdb1fa814e68b2ce0433043695efc694c11e47f67c51b6a')
+
+prepare() {
+  mkdir -p build
+
+  cd $_pkgfqn/src/3rdparty/chromium
+  patch -p2 -i "$srcdir"/qt5-webengine-linux-5.2.patch # Fix build with recent kernel
+}
+
+build() {
+  cd build
+
+  qmake ../${_pkgfqn} -- \
+    -proprietary-codecs \
+    -system-ffmpeg \
+    -webp \
+    -spellchecker
+#    -webengine-icu
+  make
+}
+
+package() {
+  cd build
+  make INSTALL_ROOT="$pkgdir" install
+
+  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
+  find "$pkgdir/usr/lib" -type f -name '*.prl' \
+    -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
+
+  install -Dm644 "$srcdir"/${_pkgfqn}/src/3rdparty/chromium/LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE.chromium
+}

Copied: qt5-webengine/repos/kde-unstable-x86_64/qt5-webengine-system-icu.patch (from rev 364227, qt5-webengine/kde-unstable/qt5-webengine-system-icu.patch)
===================================================================
--- kde-unstable-x86_64/qt5-webengine-system-icu.patch	                        (rev 0)
+++ kde-unstable-x86_64/qt5-webengine-system-icu.patch	2019-10-09 12:18:15 UTC (rev 364228)
@@ -0,0 +1,20 @@
+diff --git a/build/linux/unbundle/icu.gn b/build/linux/unbundle/icu.gn
+index 4450e40..9ca36dd 100644
+--- a/build/linux/unbundle/icu.gn
++++ b/build/linux/unbundle/icu.gn
+@@ -96,6 +96,7 @@ shim_headers("icui18n_shim") {
+     "unicode/fpositer.h",
+     "unicode/gender.h",
+     "unicode/gregocal.h",
++    "unicode/listformatter.h",
+     "unicode/measfmt.h",
+     "unicode/measunit.h",
+     "unicode/measure.h",
+@@ -178,7 +179,6 @@ shim_headers("icuuc_shim") {
+     "unicode/icudataver.h",
+     "unicode/icuplug.h",
+     "unicode/idna.h",
+-    "unicode/listformatter.h",
+     "unicode/localpointer.h",
+     "unicode/locdspnm.h",
+     "unicode/locid.h",



More information about the arch-commits mailing list