[arch-commits] Commit in qt5-webkit/repos (4 files)

2019-04-20 Thread Antonio Rojas via arch-commits
Date: Saturday, April 20, 2019 @ 19:52:45
  Author: arojas
Revision: 351529

archrelease: copy trunk to staging-x86_64

Added:
  qt5-webkit/repos/staging-x86_64/
  qt5-webkit/repos/staging-x86_64/PKGBUILD
(from rev 351528, qt5-webkit/trunk/PKGBUILD)
  qt5-webkit/repos/staging-x86_64/qt5-webkit-gcc7.patch
(from rev 351528, qt5-webkit/trunk/qt5-webkit-gcc7.patch)
  qt5-webkit/repos/staging-x86_64/qt5-webkit-null-pointer-dereference.patch
(from rev 351528, 
qt5-webkit/trunk/qt5-webkit-null-pointer-dereference.patch)

---+
 PKGBUILD  |   70 
 qt5-webkit-gcc7.patch |   34 +
 qt5-webkit-null-pointer-dereference.patch |   17 ++
 3 files changed, 121 insertions(+)

Copied: qt5-webkit/repos/staging-x86_64/PKGBUILD (from rev 351528, 
qt5-webkit/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-04-20 19:52:45 UTC (rev 351529)
@@ -0,0 +1,70 @@
+# Maintainer: Felix Yan 
+# Maintainer: Antonio Rojas 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.212.0-alpha2
+pkgver=${_qtver/-/}
+pkgrel=28
+arch=(x86_64)
+url='https://www.qt.io'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=(qt5-location qt5-sensors qt5-webchannel libwebp libxslt libxcomposite 
gst-plugins-base hyphen)
+makedepends=(cmake ruby gperf python2 qt5-doc qt5-tools)
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=(qt5-webkit-ng)
+replaces=(qt5-webkit-ng)
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("https://github.com/annulen/webkit/releases/download/qtwebkit-$_qtver/qtwebkit-$_qtver.tar.xz;
+qt5-webkit-gcc7.patch
+qt5-webkit-null-pointer-dereference.patch
+
qt5-webkit-trojita-1.patch::"https://github.com/annulen/webkit/commit/6faf1121.patch;
+
qt5-webkit-trojita-2.patch::"https://github.com/annulen/webkit/commit/76420459.patch;
+
qt5-webkit-cmake3.10.patch::"https://github.com/annulen/webkit/commit/f51554bf.patch;)
+sha256sums=('f8f901de567e11fc5659402b6b827eac75505ff9c5072d8e919aa306003f8f8a'
+'f108833562d766d4c086026f9202b2ebc8c19e97fddedce952afed78df3c0720'
+'510e1f78c2bcd76909703a097dbc1d5c9c6ce4cd94883c26138f09cc10121f43'
+'bd22bd7842d5ad1cb1f5a4b6acb2674509732274d5f9dc51943144dff76996ae'
+'b42b70fd2a4a36b0ff48fc4e0dc386b3dda373e6fec18f3be9f5e2d3b04e0aa3'
+'b4e6c85fcb062e7cc141b0e34977bcc4f9c8677c773fc4b310151b85f51e7189')
+
+prepare() {
+  mkdir -p build
+
+# Fix crashes with GCC7 https://bugs.webkit.org/show_bug.cgi?id=173407
+  cd qtwebkit-$_qtver
+  patch -p1 -i ../qt5-webkit-gcc7.patch
+# Fix layout issues in trojita https://github.com/annulen/webkit/issues/511
+  patch -p1 -i ../qt5-webkit-trojita-1.patch
+  patch -p1 -i ../qt5-webkit-trojita-2.patch
+# Fix null point dereference (Fedora) 
https://github.com/annulen/webkit/issues/573
+  patch -p1 -i ../qt5-webkit-null-pointer-dereference.patch
+# Fix build with cmake 3.10
+  patch -p1 -i ../qt5-webkit-cmake3.10.patch
+}
+
+build() {
+  cd build
+
+  cmake ../qtwebkit-$_qtver \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE=Release \
+-DPORT=Qt \
+-DENABLE_TOOLS=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+
+# Fix pkgconfig files
+  sed -e 's|qt/Qt5WebKit|qt/QtWebKit|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e 's|qt/Qt5WebKitWidgets|qt/QtWebKitWidgets|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+  sed -e '/Name/a Description: Qt WebKit module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e '/Name/a Description: Qt WebKitWidgets module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+}

Copied: qt5-webkit/repos/staging-x86_64/qt5-webkit-gcc7.patch (from rev 351528, 
qt5-webkit/trunk/qt5-webkit-gcc7.patch)
===
--- staging-x86_64/qt5-webkit-gcc7.patch(rev 0)
+++ staging-x86_64/qt5-webkit-gcc7.patch2019-04-20 19:52:45 UTC (rev 
351529)
@@ -0,0 +1,34 @@
+diff -u -r webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h 
webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h
+--- webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h  2017-02-20 
17:20:15.0 +0100
 webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h 2017-06-27 
13:13:57.801527350 +0200
+@@ -581,29 +581,7 @@
+ // FIXME: Does this really belong in StringImpl?
+ template  static void copyChars(T* destination, const T* 
source, unsigned numCharacters)
+ {
+-if (numCharacters == 1) {
+-*destination 

[arch-commits] Commit in qt5-webkit/repos (4 files)

2019-04-05 Thread Felix Yan via arch-commits
Date: Friday, April 5, 2019 @ 13:11:38
  Author: felixonmars
Revision: 349938

archrelease: copy trunk to staging-x86_64

Added:
  qt5-webkit/repos/staging-x86_64/
  qt5-webkit/repos/staging-x86_64/PKGBUILD
(from rev 349936, qt5-webkit/trunk/PKGBUILD)
  qt5-webkit/repos/staging-x86_64/qt5-webkit-gcc7.patch
(from rev 349936, qt5-webkit/trunk/qt5-webkit-gcc7.patch)
  qt5-webkit/repos/staging-x86_64/qt5-webkit-null-pointer-dereference.patch
(from rev 349937, 
qt5-webkit/trunk/qt5-webkit-null-pointer-dereference.patch)

---+
 PKGBUILD  |   70 
 qt5-webkit-gcc7.patch |   34 +
 qt5-webkit-null-pointer-dereference.patch |   17 ++
 3 files changed, 121 insertions(+)

Copied: qt5-webkit/repos/staging-x86_64/PKGBUILD (from rev 349936, 
qt5-webkit/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-04-05 13:11:38 UTC (rev 349938)
@@ -0,0 +1,70 @@
+# Maintainer: Felix Yan 
+# Maintainer: Antonio Rojas 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.212.0-alpha2
+pkgver=${_qtver/-/}
+pkgrel=26
+arch=(x86_64)
+url='https://www.qt.io'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=(qt5-location qt5-sensors qt5-webchannel libwebp libxslt libxcomposite 
gst-plugins-base hyphen)
+makedepends=(cmake ruby gperf python2 qt5-doc qt5-tools)
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=(qt5-webkit-ng)
+replaces=(qt5-webkit-ng)
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("https://github.com/annulen/webkit/releases/download/qtwebkit-$_qtver/qtwebkit-$_qtver.tar.xz;
+qt5-webkit-gcc7.patch
+qt5-webkit-null-pointer-dereference.patch
+
qt5-webkit-trojita-1.patch::"https://github.com/annulen/webkit/commit/6faf1121.patch;
+
qt5-webkit-trojita-2.patch::"https://github.com/annulen/webkit/commit/76420459.patch;
+
qt5-webkit-cmake3.10.patch::"https://github.com/annulen/webkit/commit/f51554bf.patch;)
+sha256sums=('f8f901de567e11fc5659402b6b827eac75505ff9c5072d8e919aa306003f8f8a'
+'f108833562d766d4c086026f9202b2ebc8c19e97fddedce952afed78df3c0720'
+'510e1f78c2bcd76909703a097dbc1d5c9c6ce4cd94883c26138f09cc10121f43'
+'bd22bd7842d5ad1cb1f5a4b6acb2674509732274d5f9dc51943144dff76996ae'
+'b42b70fd2a4a36b0ff48fc4e0dc386b3dda373e6fec18f3be9f5e2d3b04e0aa3'
+'b4e6c85fcb062e7cc141b0e34977bcc4f9c8677c773fc4b310151b85f51e7189')
+
+prepare() {
+  mkdir -p build
+
+# Fix crashes with GCC7 https://bugs.webkit.org/show_bug.cgi?id=173407
+  cd qtwebkit-$_qtver
+  patch -p1 -i ../qt5-webkit-gcc7.patch
+# Fix layout issues in trojita https://github.com/annulen/webkit/issues/511
+  patch -p1 -i ../qt5-webkit-trojita-1.patch
+  patch -p1 -i ../qt5-webkit-trojita-2.patch
+# Fix null point dereference (Fedora) 
https://github.com/annulen/webkit/issues/573
+  patch -p1 -i ../qt5-webkit-null-pointer-dereference.patch
+# Fix build with cmake 3.10
+  patch -p1 -i ../qt5-webkit-cmake3.10.patch
+}
+
+build() {
+  cd build
+
+  cmake ../qtwebkit-$_qtver \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE=Release \
+-DPORT=Qt \
+-DENABLE_TOOLS=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+
+# Fix pkgconfig files
+  sed -e 's|qt/Qt5WebKit|qt/QtWebKit|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e 's|qt/Qt5WebKitWidgets|qt/QtWebKitWidgets|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+  sed -e '/Name/a Description: Qt WebKit module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e '/Name/a Description: Qt WebKitWidgets module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+}

Copied: qt5-webkit/repos/staging-x86_64/qt5-webkit-gcc7.patch (from rev 349936, 
qt5-webkit/trunk/qt5-webkit-gcc7.patch)
===
--- staging-x86_64/qt5-webkit-gcc7.patch(rev 0)
+++ staging-x86_64/qt5-webkit-gcc7.patch2019-04-05 13:11:38 UTC (rev 
349938)
@@ -0,0 +1,34 @@
+diff -u -r webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h 
webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h
+--- webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h  2017-02-20 
17:20:15.0 +0100
 webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h 2017-06-27 
13:13:57.801527350 +0200
+@@ -581,29 +581,7 @@
+ // FIXME: Does this really belong in StringImpl?
+ template  static void copyChars(T* destination, const T* 
source, unsigned numCharacters)
+ {
+-if (numCharacters == 1) {
+-

[arch-commits] Commit in qt5-webkit/repos (4 files)

2019-03-22 Thread Antonio Rojas via arch-commits
Date: Friday, March 22, 2019 @ 19:33:47
  Author: arojas
Revision: 348874

archrelease: copy trunk to kde-unstable-x86_64

Added:
  qt5-webkit/repos/kde-unstable-x86_64/
  qt5-webkit/repos/kde-unstable-x86_64/PKGBUILD
(from rev 348873, qt5-webkit/trunk/PKGBUILD)
  qt5-webkit/repos/kde-unstable-x86_64/qt5-webkit-gcc7.patch
(from rev 348873, qt5-webkit/trunk/qt5-webkit-gcc7.patch)
  qt5-webkit/repos/kde-unstable-x86_64/qt5-webkit-null-pointer-dereference.patch
(from rev 348873, 
qt5-webkit/trunk/qt5-webkit-null-pointer-dereference.patch)

---+
 PKGBUILD  |   70 
 qt5-webkit-gcc7.patch |   34 +
 qt5-webkit-null-pointer-dereference.patch |   17 ++
 3 files changed, 121 insertions(+)

Copied: qt5-webkit/repos/kde-unstable-x86_64/PKGBUILD (from rev 348873, 
qt5-webkit/trunk/PKGBUILD)
===
--- kde-unstable-x86_64/PKGBUILD(rev 0)
+++ kde-unstable-x86_64/PKGBUILD2019-03-22 19:33:47 UTC (rev 348874)
@@ -0,0 +1,70 @@
+# Maintainer: Felix Yan 
+# Maintainer: Antonio Rojas 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.212.0-alpha2
+pkgver=${_qtver/-/}
+pkgrel=25
+arch=(x86_64)
+url='https://www.qt.io'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=(qt5-location qt5-sensors qt5-webchannel libwebp libxslt libxcomposite 
gst-plugins-base hyphen)
+makedepends=(cmake ruby gperf python2 qt5-doc qt5-tools)
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=(qt5-webkit-ng)
+replaces=(qt5-webkit-ng)
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("https://github.com/annulen/webkit/releases/download/qtwebkit-$_qtver/qtwebkit-$_qtver.tar.xz;
+qt5-webkit-gcc7.patch
+qt5-webkit-null-pointer-dereference.patch
+
qt5-webkit-trojita-1.patch::"https://github.com/annulen/webkit/commit/6faf1121.patch;
+
qt5-webkit-trojita-2.patch::"https://github.com/annulen/webkit/commit/76420459.patch;
+
qt5-webkit-cmake3.10.patch::"https://github.com/annulen/webkit/commit/f51554bf.patch;)
+sha256sums=('f8f901de567e11fc5659402b6b827eac75505ff9c5072d8e919aa306003f8f8a'
+'f108833562d766d4c086026f9202b2ebc8c19e97fddedce952afed78df3c0720'
+'510e1f78c2bcd76909703a097dbc1d5c9c6ce4cd94883c26138f09cc10121f43'
+'bd22bd7842d5ad1cb1f5a4b6acb2674509732274d5f9dc51943144dff76996ae'
+'b42b70fd2a4a36b0ff48fc4e0dc386b3dda373e6fec18f3be9f5e2d3b04e0aa3'
+'b4e6c85fcb062e7cc141b0e34977bcc4f9c8677c773fc4b310151b85f51e7189')
+
+prepare() {
+  mkdir -p build
+
+# Fix crashes with GCC7 https://bugs.webkit.org/show_bug.cgi?id=173407
+  cd qtwebkit-$_qtver
+  patch -p1 -i ../qt5-webkit-gcc7.patch
+# Fix layout issues in trojita https://github.com/annulen/webkit/issues/511
+  patch -p1 -i ../qt5-webkit-trojita-1.patch
+  patch -p1 -i ../qt5-webkit-trojita-2.patch
+# Fix null point dereference (Fedora) 
https://github.com/annulen/webkit/issues/573
+  patch -p1 -i ../qt5-webkit-null-pointer-dereference.patch
+# Fix build with cmake 3.10
+  patch -p1 -i ../qt5-webkit-cmake3.10.patch
+}
+
+build() {
+  cd build
+
+  cmake ../qtwebkit-$_qtver \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE=Release \
+-DPORT=Qt \
+-DENABLE_TOOLS=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+
+# Fix pkgconfig files
+  sed -e 's|qt/Qt5WebKit|qt/QtWebKit|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e 's|qt/Qt5WebKitWidgets|qt/QtWebKitWidgets|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+  sed -e '/Name/a Description: Qt WebKit module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e '/Name/a Description: Qt WebKitWidgets module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+}

Copied: qt5-webkit/repos/kde-unstable-x86_64/qt5-webkit-gcc7.patch (from rev 
348873, qt5-webkit/trunk/qt5-webkit-gcc7.patch)
===
--- kde-unstable-x86_64/qt5-webkit-gcc7.patch   (rev 0)
+++ kde-unstable-x86_64/qt5-webkit-gcc7.patch   2019-03-22 19:33:47 UTC (rev 
348874)
@@ -0,0 +1,34 @@
+diff -u -r webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h 
webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h
+--- webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h  2017-02-20 
17:20:15.0 +0100
 webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h 2017-06-27 
13:13:57.801527350 +0200
+@@ -581,29 +581,7 @@
+ // FIXME: Does this really belong in StringImpl?
+ template  static void copyChars(T* destination, const T* 
source, unsigned numCharacters)
+ {
+-if 

[arch-commits] Commit in qt5-webkit/repos (4 files)

2019-03-14 Thread Antonio Rojas via arch-commits
Date: Thursday, March 14, 2019 @ 13:52:04
  Author: arojas
Revision: 347978

archrelease: copy trunk to staging-x86_64

Added:
  qt5-webkit/repos/staging-x86_64/
  qt5-webkit/repos/staging-x86_64/PKGBUILD
(from rev 347977, qt5-webkit/trunk/PKGBUILD)
  qt5-webkit/repos/staging-x86_64/qt5-webkit-gcc7.patch
(from rev 347977, qt5-webkit/trunk/qt5-webkit-gcc7.patch)
  qt5-webkit/repos/staging-x86_64/qt5-webkit-null-pointer-dereference.patch
(from rev 347977, 
qt5-webkit/trunk/qt5-webkit-null-pointer-dereference.patch)

---+
 PKGBUILD  |   70 
 qt5-webkit-gcc7.patch |   34 +
 qt5-webkit-null-pointer-dereference.patch |   17 ++
 3 files changed, 121 insertions(+)

Copied: qt5-webkit/repos/staging-x86_64/PKGBUILD (from rev 347977, 
qt5-webkit/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-03-14 13:52:04 UTC (rev 347978)
@@ -0,0 +1,70 @@
+# Maintainer: Felix Yan 
+# Maintainer: Antonio Rojas 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.212.0-alpha2
+pkgver=${_qtver/-/}
+pkgrel=24
+arch=(x86_64)
+url='https://www.qt.io'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=(qt5-location qt5-sensors qt5-webchannel libwebp libxslt libxcomposite 
gst-plugins-base hyphen)
+makedepends=(cmake ruby gperf python2 qt5-doc qt5-tools)
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=(qt5-webkit-ng)
+replaces=(qt5-webkit-ng)
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("https://github.com/annulen/webkit/releases/download/qtwebkit-$_qtver/qtwebkit-$_qtver.tar.xz;
+qt5-webkit-gcc7.patch
+qt5-webkit-null-pointer-dereference.patch
+
qt5-webkit-trojita-1.patch::"https://github.com/annulen/webkit/commit/6faf1121.patch;
+
qt5-webkit-trojita-2.patch::"https://github.com/annulen/webkit/commit/76420459.patch;
+
qt5-webkit-cmake3.10.patch::"https://github.com/annulen/webkit/commit/f51554bf.patch;)
+sha256sums=('f8f901de567e11fc5659402b6b827eac75505ff9c5072d8e919aa306003f8f8a'
+'f108833562d766d4c086026f9202b2ebc8c19e97fddedce952afed78df3c0720'
+'510e1f78c2bcd76909703a097dbc1d5c9c6ce4cd94883c26138f09cc10121f43'
+'bd22bd7842d5ad1cb1f5a4b6acb2674509732274d5f9dc51943144dff76996ae'
+'b42b70fd2a4a36b0ff48fc4e0dc386b3dda373e6fec18f3be9f5e2d3b04e0aa3'
+'b4e6c85fcb062e7cc141b0e34977bcc4f9c8677c773fc4b310151b85f51e7189')
+
+prepare() {
+  mkdir -p build
+
+# Fix crashes with GCC7 https://bugs.webkit.org/show_bug.cgi?id=173407
+  cd qtwebkit-$_qtver
+  patch -p1 -i ../qt5-webkit-gcc7.patch
+# Fix layout issues in trojita https://github.com/annulen/webkit/issues/511
+  patch -p1 -i ../qt5-webkit-trojita-1.patch
+  patch -p1 -i ../qt5-webkit-trojita-2.patch
+# Fix null point dereference (Fedora) 
https://github.com/annulen/webkit/issues/573
+  patch -p1 -i ../qt5-webkit-null-pointer-dereference.patch
+# Fix build with cmake 3.10
+  patch -p1 -i ../qt5-webkit-cmake3.10.patch
+}
+
+build() {
+  cd build
+
+  cmake ../qtwebkit-$_qtver \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE=Release \
+-DPORT=Qt \
+-DENABLE_TOOLS=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+
+# Fix pkgconfig files
+  sed -e 's|qt/Qt5WebKit|qt/QtWebKit|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e 's|qt/Qt5WebKitWidgets|qt/QtWebKitWidgets|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+  sed -e '/Name/a Description: Qt WebKit module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e '/Name/a Description: Qt WebKitWidgets module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+}

Copied: qt5-webkit/repos/staging-x86_64/qt5-webkit-gcc7.patch (from rev 347977, 
qt5-webkit/trunk/qt5-webkit-gcc7.patch)
===
--- staging-x86_64/qt5-webkit-gcc7.patch(rev 0)
+++ staging-x86_64/qt5-webkit-gcc7.patch2019-03-14 13:52:04 UTC (rev 
347978)
@@ -0,0 +1,34 @@
+diff -u -r webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h 
webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h
+--- webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h  2017-02-20 
17:20:15.0 +0100
 webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h 2017-06-27 
13:13:57.801527350 +0200
+@@ -581,29 +581,7 @@
+ // FIXME: Does this really belong in StringImpl?
+ template  static void copyChars(T* destination, const T* 
source, unsigned numCharacters)
+ {
+-if (numCharacters == 1) {
+-*destination 

[arch-commits] Commit in qt5-webkit/repos (4 files)

2019-02-01 Thread Antonio Rojas via arch-commits
Date: Saturday, February 2, 2019 @ 04:44:06
  Author: arojas
Revision: 345061

archrelease: copy trunk to testing-x86_64

Added:
  qt5-webkit/repos/testing-x86_64/
  qt5-webkit/repos/testing-x86_64/PKGBUILD
(from rev 345060, qt5-webkit/trunk/PKGBUILD)
  qt5-webkit/repos/testing-x86_64/qt5-webkit-gcc7.patch
(from rev 345060, qt5-webkit/trunk/qt5-webkit-gcc7.patch)
  qt5-webkit/repos/testing-x86_64/qt5-webkit-null-pointer-dereference.patch
(from rev 345060, 
qt5-webkit/trunk/qt5-webkit-null-pointer-dereference.patch)

---+
 PKGBUILD  |   70 
 qt5-webkit-gcc7.patch |   34 +
 qt5-webkit-null-pointer-dereference.patch |   17 ++
 3 files changed, 121 insertions(+)

Copied: qt5-webkit/repos/testing-x86_64/PKGBUILD (from rev 345060, 
qt5-webkit/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-02-02 04:44:06 UTC (rev 345061)
@@ -0,0 +1,70 @@
+# Maintainer: Felix Yan 
+# Maintainer: Antonio Rojas 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.212.0-alpha2
+pkgver=${_qtver/-/}
+pkgrel=23
+arch=(x86_64)
+url='https://www.qt.io'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=(qt5-location qt5-sensors qt5-webchannel libwebp libxslt libxcomposite 
gst-plugins-base hyphen)
+makedepends=(cmake ruby gperf python2 qt5-doc qt5-tools)
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=(qt5-webkit-ng)
+replaces=(qt5-webkit-ng)
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("https://github.com/annulen/webkit/releases/download/qtwebkit-$_qtver/qtwebkit-$_qtver.tar.xz;
+qt5-webkit-gcc7.patch
+qt5-webkit-null-pointer-dereference.patch
+
qt5-webkit-trojita-1.patch::"https://github.com/annulen/webkit/commit/6faf1121.patch;
+
qt5-webkit-trojita-2.patch::"https://github.com/annulen/webkit/commit/76420459.patch;
+
qt5-webkit-cmake3.10.patch::"https://github.com/annulen/webkit/commit/f51554bf.patch;)
+sha256sums=('f8f901de567e11fc5659402b6b827eac75505ff9c5072d8e919aa306003f8f8a'
+'f108833562d766d4c086026f9202b2ebc8c19e97fddedce952afed78df3c0720'
+'510e1f78c2bcd76909703a097dbc1d5c9c6ce4cd94883c26138f09cc10121f43'
+'bd22bd7842d5ad1cb1f5a4b6acb2674509732274d5f9dc51943144dff76996ae'
+'b42b70fd2a4a36b0ff48fc4e0dc386b3dda373e6fec18f3be9f5e2d3b04e0aa3'
+'b4e6c85fcb062e7cc141b0e34977bcc4f9c8677c773fc4b310151b85f51e7189')
+
+prepare() {
+  mkdir -p build
+
+# Fix crashes with GCC7 https://bugs.webkit.org/show_bug.cgi?id=173407
+  cd qtwebkit-$_qtver
+  patch -p1 -i ../qt5-webkit-gcc7.patch
+# Fix layout issues in trojita https://github.com/annulen/webkit/issues/511
+  patch -p1 -i ../qt5-webkit-trojita-1.patch
+  patch -p1 -i ../qt5-webkit-trojita-2.patch
+# Fix null point dereference (Fedora) 
https://github.com/annulen/webkit/issues/573
+  patch -p1 -i ../qt5-webkit-null-pointer-dereference.patch
+# Fix build with cmake 3.10
+  patch -p1 -i ../qt5-webkit-cmake3.10.patch
+}
+
+build() {
+  cd build
+
+  cmake ../qtwebkit-$_qtver \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE=Release \
+-DPORT=Qt \
+-DENABLE_TOOLS=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+
+# Fix pkgconfig files
+  sed -e 's|qt/Qt5WebKit|qt/QtWebKit|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e 's|qt/Qt5WebKitWidgets|qt/QtWebKitWidgets|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+  sed -e '/Name/a Description: Qt WebKit module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e '/Name/a Description: Qt WebKitWidgets module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+}

Copied: qt5-webkit/repos/testing-x86_64/qt5-webkit-gcc7.patch (from rev 345060, 
qt5-webkit/trunk/qt5-webkit-gcc7.patch)
===
--- testing-x86_64/qt5-webkit-gcc7.patch(rev 0)
+++ testing-x86_64/qt5-webkit-gcc7.patch2019-02-02 04:44:06 UTC (rev 
345061)
@@ -0,0 +1,34 @@
+diff -u -r webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h 
webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h
+--- webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h  2017-02-20 
17:20:15.0 +0100
 webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h 2017-06-27 
13:13:57.801527350 +0200
+@@ -581,29 +581,7 @@
+ // FIXME: Does this really belong in StringImpl?
+ template  static void copyChars(T* destination, const T* 
source, unsigned numCharacters)
+ {
+-if (numCharacters == 1) {
+-

[arch-commits] Commit in qt5-webkit/repos (4 files)

2018-11-16 Thread Antonio Rojas via arch-commits
Date: Friday, November 16, 2018 @ 23:22:55
  Author: arojas
Revision: 339799

archrelease: copy trunk to kde-unstable-x86_64

Added:
  qt5-webkit/repos/kde-unstable-x86_64/
  qt5-webkit/repos/kde-unstable-x86_64/PKGBUILD
(from rev 339798, qt5-webkit/trunk/PKGBUILD)
  qt5-webkit/repos/kde-unstable-x86_64/qt5-webkit-gcc7.patch
(from rev 339798, qt5-webkit/trunk/qt5-webkit-gcc7.patch)
  qt5-webkit/repos/kde-unstable-x86_64/qt5-webkit-null-pointer-dereference.patch
(from rev 339798, 
qt5-webkit/trunk/qt5-webkit-null-pointer-dereference.patch)

---+
 PKGBUILD  |   71 
 qt5-webkit-gcc7.patch |   34 +
 qt5-webkit-null-pointer-dereference.patch |   17 ++
 3 files changed, 122 insertions(+)

Copied: qt5-webkit/repos/kde-unstable-x86_64/PKGBUILD (from rev 339798, 
qt5-webkit/trunk/PKGBUILD)
===
--- kde-unstable-x86_64/PKGBUILD(rev 0)
+++ kde-unstable-x86_64/PKGBUILD2018-11-16 23:22:55 UTC (rev 339799)
@@ -0,0 +1,71 @@
+# Maintainer: Felix Yan 
+# Maintainer: Antonio Rojas 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.212.0-alpha2
+pkgver=${_qtver/-/}
+pkgrel=22
+arch=(x86_64)
+url='http://qt-project.org/'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=(qt5-location qt5-sensors qt5-webchannel libwebp libxslt libxcomposite 
gst-plugins-base hyphen)
+makedepends=(cmake ruby gperf python2 qt5-doc qt5-tools)
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=(qt5-webkit-ng)
+replaces=(qt5-webkit-ng)
+groups=(qt qt5)
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("https://github.com/annulen/webkit/releases/download/qtwebkit-$_qtver/qtwebkit-$_qtver.tar.xz;
+qt5-webkit-gcc7.patch
+qt5-webkit-null-pointer-dereference.patch
+
qt5-webkit-trojita-1.patch::"https://github.com/annulen/webkit/commit/6faf1121.patch;
+
qt5-webkit-trojita-2.patch::"https://github.com/annulen/webkit/commit/76420459.patch;
+
qt5-webkit-cmake3.10.patch::"https://github.com/annulen/webkit/commit/f51554bf.patch;)
+sha256sums=('f8f901de567e11fc5659402b6b827eac75505ff9c5072d8e919aa306003f8f8a'
+'f108833562d766d4c086026f9202b2ebc8c19e97fddedce952afed78df3c0720'
+'510e1f78c2bcd76909703a097dbc1d5c9c6ce4cd94883c26138f09cc10121f43'
+'bd22bd7842d5ad1cb1f5a4b6acb2674509732274d5f9dc51943144dff76996ae'
+'b42b70fd2a4a36b0ff48fc4e0dc386b3dda373e6fec18f3be9f5e2d3b04e0aa3'
+'b4e6c85fcb062e7cc141b0e34977bcc4f9c8677c773fc4b310151b85f51e7189')
+
+prepare() {
+  mkdir -p build
+
+# Fix crashes with GCC7 https://bugs.webkit.org/show_bug.cgi?id=173407
+  cd qtwebkit-$_qtver
+  patch -p1 -i ../qt5-webkit-gcc7.patch
+# Fix layout issues in trojita https://github.com/annulen/webkit/issues/511
+  patch -p1 -i ../qt5-webkit-trojita-1.patch
+  patch -p1 -i ../qt5-webkit-trojita-2.patch
+# Fix null point dereference (Fedora) 
https://github.com/annulen/webkit/issues/573
+  patch -p1 -i ../qt5-webkit-null-pointer-dereference.patch
+# Fix build with cmake 3.10
+  patch -p1 -i ../qt5-webkit-cmake3.10.patch
+}
+
+build() {
+  cd build
+
+  cmake ../qtwebkit-$_qtver \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE=Release \
+-DPORT=Qt \
+-DENABLE_TOOLS=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+
+# Fix pkgconfig files
+  sed -e 's|qt/Qt5WebKit|qt/QtWebKit|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e 's|qt/Qt5WebKitWidgets|qt/QtWebKitWidgets|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+  sed -e '/Name/a Description: Qt WebKit module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e '/Name/a Description: Qt WebKitWidgets module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+}

Copied: qt5-webkit/repos/kde-unstable-x86_64/qt5-webkit-gcc7.patch (from rev 
339798, qt5-webkit/trunk/qt5-webkit-gcc7.patch)
===
--- kde-unstable-x86_64/qt5-webkit-gcc7.patch   (rev 0)
+++ kde-unstable-x86_64/qt5-webkit-gcc7.patch   2018-11-16 23:22:55 UTC (rev 
339799)
@@ -0,0 +1,34 @@
+diff -u -r webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h 
webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h
+--- webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h  2017-02-20 
17:20:15.0 +0100
 webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h 2017-06-27 
13:13:57.801527350 +0200
+@@ -581,29 +581,7 @@
+ // FIXME: Does this really belong in StringImpl?
+ template  static void copyChars(T* destination, const T* 
source, unsigned 

[arch-commits] Commit in qt5-webkit/repos (4 files)

2018-10-22 Thread Evangelos Foutras via arch-commits
Date: Monday, October 22, 2018 @ 22:15:00
  Author: foutrelis
Revision: 337098

archrelease: copy trunk to staging-x86_64

Added:
  qt5-webkit/repos/staging-x86_64/
  qt5-webkit/repos/staging-x86_64/PKGBUILD
(from rev 337097, qt5-webkit/trunk/PKGBUILD)
  qt5-webkit/repos/staging-x86_64/qt5-webkit-gcc7.patch
(from rev 337097, qt5-webkit/trunk/qt5-webkit-gcc7.patch)
  qt5-webkit/repos/staging-x86_64/qt5-webkit-null-pointer-dereference.patch
(from rev 337097, 
qt5-webkit/trunk/qt5-webkit-null-pointer-dereference.patch)

---+
 PKGBUILD  |   71 
 qt5-webkit-gcc7.patch |   34 +
 qt5-webkit-null-pointer-dereference.patch |   17 ++
 3 files changed, 122 insertions(+)

Copied: qt5-webkit/repos/staging-x86_64/PKGBUILD (from rev 337097, 
qt5-webkit/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-10-22 22:15:00 UTC (rev 337098)
@@ -0,0 +1,71 @@
+# Maintainer: Felix Yan 
+# Maintainer: Antonio Rojas 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.212.0-alpha2
+pkgver=${_qtver/-/}
+pkgrel=21
+arch=(x86_64)
+url='http://qt-project.org/'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=(qt5-location qt5-sensors qt5-webchannel libwebp libxslt libxcomposite 
gst-plugins-base hyphen)
+makedepends=(cmake ruby gperf python2 qt5-doc qt5-tools)
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=(qt5-webkit-ng)
+replaces=(qt5-webkit-ng)
+groups=(qt qt5)
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("https://github.com/annulen/webkit/releases/download/qtwebkit-$_qtver/qtwebkit-$_qtver.tar.xz;
+qt5-webkit-gcc7.patch
+qt5-webkit-null-pointer-dereference.patch
+
qt5-webkit-trojita-1.patch::"https://github.com/annulen/webkit/commit/6faf1121.patch;
+
qt5-webkit-trojita-2.patch::"https://github.com/annulen/webkit/commit/76420459.patch;
+
qt5-webkit-cmake3.10.patch::"https://github.com/annulen/webkit/commit/f51554bf.patch;)
+sha256sums=('f8f901de567e11fc5659402b6b827eac75505ff9c5072d8e919aa306003f8f8a'
+'f108833562d766d4c086026f9202b2ebc8c19e97fddedce952afed78df3c0720'
+'510e1f78c2bcd76909703a097dbc1d5c9c6ce4cd94883c26138f09cc10121f43'
+'bd22bd7842d5ad1cb1f5a4b6acb2674509732274d5f9dc51943144dff76996ae'
+'b42b70fd2a4a36b0ff48fc4e0dc386b3dda373e6fec18f3be9f5e2d3b04e0aa3'
+'b4e6c85fcb062e7cc141b0e34977bcc4f9c8677c773fc4b310151b85f51e7189')
+
+prepare() {
+  mkdir -p build
+
+# Fix crashes with GCC7 https://bugs.webkit.org/show_bug.cgi?id=173407
+  cd qtwebkit-$_qtver
+  patch -p1 -i ../qt5-webkit-gcc7.patch
+# Fix layout issues in trojita https://github.com/annulen/webkit/issues/511
+  patch -p1 -i ../qt5-webkit-trojita-1.patch
+  patch -p1 -i ../qt5-webkit-trojita-2.patch
+# Fix null point dereference (Fedora) 
https://github.com/annulen/webkit/issues/573
+  patch -p1 -i ../qt5-webkit-null-pointer-dereference.patch
+# Fix build with cmake 3.10
+  patch -p1 -i ../qt5-webkit-cmake3.10.patch
+}
+
+build() {
+  cd build
+
+  cmake ../qtwebkit-$_qtver \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE=Release \
+-DPORT=Qt \
+-DENABLE_TOOLS=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+
+# Fix pkgconfig files
+  sed -e 's|qt/Qt5WebKit|qt/QtWebKit|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e 's|qt/Qt5WebKitWidgets|qt/QtWebKitWidgets|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+  sed -e '/Name/a Description: Qt WebKit module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e '/Name/a Description: Qt WebKitWidgets module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+}

Copied: qt5-webkit/repos/staging-x86_64/qt5-webkit-gcc7.patch (from rev 337097, 
qt5-webkit/trunk/qt5-webkit-gcc7.patch)
===
--- staging-x86_64/qt5-webkit-gcc7.patch(rev 0)
+++ staging-x86_64/qt5-webkit-gcc7.patch2018-10-22 22:15:00 UTC (rev 
337098)
@@ -0,0 +1,34 @@
+diff -u -r webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h 
webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h
+--- webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h  2017-02-20 
17:20:15.0 +0100
 webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h 2017-06-27 
13:13:57.801527350 +0200
+@@ -581,29 +581,7 @@
+ // FIXME: Does this really belong in StringImpl?
+ template  static void copyChars(T* destination, const T* 
source, unsigned numCharacters)
+ {
+-if (numCharacters == 1) {
+- 

[arch-commits] Commit in qt5-webkit/repos (4 files)

2018-09-18 Thread Antonio Rojas via arch-commits
Date: Tuesday, September 18, 2018 @ 20:22:48
  Author: arojas
Revision: 334961

archrelease: copy trunk to staging-x86_64

Added:
  qt5-webkit/repos/staging-x86_64/
  qt5-webkit/repos/staging-x86_64/PKGBUILD
(from rev 334960, qt5-webkit/trunk/PKGBUILD)
  qt5-webkit/repos/staging-x86_64/qt5-webkit-gcc7.patch
(from rev 334960, qt5-webkit/trunk/qt5-webkit-gcc7.patch)
  qt5-webkit/repos/staging-x86_64/qt5-webkit-null-pointer-dereference.patch
(from rev 334960, 
qt5-webkit/trunk/qt5-webkit-null-pointer-dereference.patch)

---+
 PKGBUILD  |   71 
 qt5-webkit-gcc7.patch |   34 +
 qt5-webkit-null-pointer-dereference.patch |   17 ++
 3 files changed, 122 insertions(+)

Copied: qt5-webkit/repos/staging-x86_64/PKGBUILD (from rev 334960, 
qt5-webkit/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-09-18 20:22:48 UTC (rev 334961)
@@ -0,0 +1,71 @@
+# Maintainer: Felix Yan 
+# Maintainer: Antonio Rojas 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.212.0-alpha2
+pkgver=${_qtver/-/}
+pkgrel=20
+arch=(x86_64)
+url='http://qt-project.org/'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=(qt5-location qt5-sensors qt5-webchannel libwebp libxslt libxcomposite 
gst-plugins-base hyphen)
+makedepends=(cmake ruby gperf python2 qt5-doc qt5-tools)
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=(qt5-webkit-ng)
+replaces=(qt5-webkit-ng)
+groups=(qt qt5)
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("https://github.com/annulen/webkit/releases/download/qtwebkit-$_qtver/qtwebkit-$_qtver.tar.xz;
+qt5-webkit-gcc7.patch
+qt5-webkit-null-pointer-dereference.patch
+
qt5-webkit-trojita-1.patch::"https://github.com/annulen/webkit/commit/6faf1121.patch;
+
qt5-webkit-trojita-2.patch::"https://github.com/annulen/webkit/commit/76420459.patch;
+
qt5-webkit-cmake3.10.patch::"https://github.com/annulen/webkit/commit/f51554bf.patch;)
+sha256sums=('f8f901de567e11fc5659402b6b827eac75505ff9c5072d8e919aa306003f8f8a'
+'f108833562d766d4c086026f9202b2ebc8c19e97fddedce952afed78df3c0720'
+'510e1f78c2bcd76909703a097dbc1d5c9c6ce4cd94883c26138f09cc10121f43'
+'bd22bd7842d5ad1cb1f5a4b6acb2674509732274d5f9dc51943144dff76996ae'
+'b42b70fd2a4a36b0ff48fc4e0dc386b3dda373e6fec18f3be9f5e2d3b04e0aa3'
+'b4e6c85fcb062e7cc141b0e34977bcc4f9c8677c773fc4b310151b85f51e7189')
+
+prepare() {
+  mkdir -p build
+
+# Fix crashes with GCC7 https://bugs.webkit.org/show_bug.cgi?id=173407
+  cd qtwebkit-$_qtver
+  patch -p1 -i ../qt5-webkit-gcc7.patch
+# Fix layout issues in trojita https://github.com/annulen/webkit/issues/511
+  patch -p1 -i ../qt5-webkit-trojita-1.patch
+  patch -p1 -i ../qt5-webkit-trojita-2.patch
+# Fix null point dereference (Fedora) 
https://github.com/annulen/webkit/issues/573
+  patch -p1 -i ../qt5-webkit-null-pointer-dereference.patch
+# Fix build with cmake 3.10
+  patch -p1 -i ../qt5-webkit-cmake3.10.patch
+}
+
+build() {
+  cd build
+
+  cmake ../qtwebkit-$_qtver \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE=Release \
+-DPORT=Qt \
+-DENABLE_TOOLS=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+
+# Fix pkgconfig files
+  sed -e 's|qt/Qt5WebKit|qt/QtWebKit|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e 's|qt/Qt5WebKitWidgets|qt/QtWebKitWidgets|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+  sed -e '/Name/a Description: Qt WebKit module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e '/Name/a Description: Qt WebKitWidgets module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+}

Copied: qt5-webkit/repos/staging-x86_64/qt5-webkit-gcc7.patch (from rev 334960, 
qt5-webkit/trunk/qt5-webkit-gcc7.patch)
===
--- staging-x86_64/qt5-webkit-gcc7.patch(rev 0)
+++ staging-x86_64/qt5-webkit-gcc7.patch2018-09-18 20:22:48 UTC (rev 
334961)
@@ -0,0 +1,34 @@
+diff -u -r webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h 
webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h
+--- webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h  2017-02-20 
17:20:15.0 +0100
 webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h 2017-06-27 
13:13:57.801527350 +0200
+@@ -581,29 +581,7 @@
+ // FIXME: Does this really belong in StringImpl?
+ template  static void copyChars(T* destination, const T* 
source, unsigned numCharacters)
+ {
+-if (numCharacters == 1) {
+- 

[arch-commits] Commit in qt5-webkit/repos (4 files)

2018-08-06 Thread Felix Yan via arch-commits
Date: Monday, August 6, 2018 @ 19:06:29
  Author: felixonmars
Revision: 331031

archrelease: copy trunk to staging-x86_64

Added:
  qt5-webkit/repos/staging-x86_64/
  qt5-webkit/repos/staging-x86_64/PKGBUILD
(from rev 331030, qt5-webkit/trunk/PKGBUILD)
  qt5-webkit/repos/staging-x86_64/qt5-webkit-gcc7.patch
(from rev 331030, qt5-webkit/trunk/qt5-webkit-gcc7.patch)
  qt5-webkit/repos/staging-x86_64/qt5-webkit-null-pointer-dereference.patch
(from rev 331030, 
qt5-webkit/trunk/qt5-webkit-null-pointer-dereference.patch)

---+
 PKGBUILD  |   72 
 qt5-webkit-gcc7.patch |   34 +
 qt5-webkit-null-pointer-dereference.patch |   17 ++
 3 files changed, 123 insertions(+)

Copied: qt5-webkit/repos/staging-x86_64/PKGBUILD (from rev 331030, 
qt5-webkit/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-08-06 19:06:29 UTC (rev 331031)
@@ -0,0 +1,72 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Maintainer: Antonio Rojas 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.212.0-alpha2
+pkgver=${_qtver/-/}
+pkgrel=19
+arch=(x86_64)
+url='http://qt-project.org/'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=(qt5-location qt5-sensors qt5-webchannel libwebp libxslt libxcomposite 
gst-plugins-base hyphen)
+makedepends=(cmake ruby gperf python2 qt5-doc qt5-tools)
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=(qt5-webkit-ng)
+replaces=(qt5-webkit-ng)
+groups=(qt qt5)
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("https://github.com/annulen/webkit/releases/download/qtwebkit-$_qtver/qtwebkit-$_qtver.tar.xz;
+qt5-webkit-gcc7.patch
+qt5-webkit-null-pointer-dereference.patch
+
qt5-webkit-trojita-1.patch::"https://github.com/annulen/webkit/commit/6faf1121.patch;
+
qt5-webkit-trojita-2.patch::"https://github.com/annulen/webkit/commit/76420459.patch;
+
qt5-webkit-cmake3.10.patch::"https://github.com/annulen/webkit/commit/f51554bf.patch;)
+sha256sums=('f8f901de567e11fc5659402b6b827eac75505ff9c5072d8e919aa306003f8f8a'
+'f108833562d766d4c086026f9202b2ebc8c19e97fddedce952afed78df3c0720'
+'510e1f78c2bcd76909703a097dbc1d5c9c6ce4cd94883c26138f09cc10121f43'
+'bd22bd7842d5ad1cb1f5a4b6acb2674509732274d5f9dc51943144dff76996ae'
+'b42b70fd2a4a36b0ff48fc4e0dc386b3dda373e6fec18f3be9f5e2d3b04e0aa3'
+'b4e6c85fcb062e7cc141b0e34977bcc4f9c8677c773fc4b310151b85f51e7189')
+
+prepare() {
+  mkdir -p build
+
+# Fix crashes with GCC7 https://bugs.webkit.org/show_bug.cgi?id=173407
+  cd qtwebkit-$_qtver
+  patch -p1 -i ../qt5-webkit-gcc7.patch
+# Fix layout issues in trojita https://github.com/annulen/webkit/issues/511
+  patch -p1 -i ../qt5-webkit-trojita-1.patch
+  patch -p1 -i ../qt5-webkit-trojita-2.patch
+# Fix null point dereference (Fedora) 
https://github.com/annulen/webkit/issues/573
+  patch -p1 -i ../qt5-webkit-null-pointer-dereference.patch
+# Fix build with cmake 3.10
+  patch -p1 -i ../qt5-webkit-cmake3.10.patch
+}
+
+build() {
+  cd build
+
+  cmake ../qtwebkit-$_qtver \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE=Release \
+-DPORT=Qt \
+-DENABLE_TOOLS=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+
+# Fix pkgconfig files
+  sed -e 's|qt/Qt5WebKit|qt/QtWebKit|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e 's|qt/Qt5WebKitWidgets|qt/QtWebKitWidgets|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+  sed -e '/Name/a Description: Qt WebKit module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e '/Name/a Description: Qt WebKitWidgets module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+}

Copied: qt5-webkit/repos/staging-x86_64/qt5-webkit-gcc7.patch (from rev 331030, 
qt5-webkit/trunk/qt5-webkit-gcc7.patch)
===
--- staging-x86_64/qt5-webkit-gcc7.patch(rev 0)
+++ staging-x86_64/qt5-webkit-gcc7.patch2018-08-06 19:06:29 UTC (rev 
331031)
@@ -0,0 +1,34 @@
+diff -u -r webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h 
webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h
+--- webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h  2017-02-20 
17:20:15.0 +0100
 webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h 2017-06-27 
13:13:57.801527350 +0200
+@@ -581,29 +581,7 @@
+ // FIXME: Does this really belong in StringImpl?
+ template  static void copyChars(T* destination, const T* 
source, unsigned 

[arch-commits] Commit in qt5-webkit/repos (4 files)

2018-06-18 Thread Antonio Rojas via arch-commits
Date: Monday, June 18, 2018 @ 22:24:56
  Author: arojas
Revision: 327175

archrelease: copy trunk to staging-x86_64

Added:
  qt5-webkit/repos/staging-x86_64/
  qt5-webkit/repos/staging-x86_64/PKGBUILD
(from rev 327174, qt5-webkit/trunk/PKGBUILD)
  qt5-webkit/repos/staging-x86_64/qt5-webkit-gcc7.patch
(from rev 327174, qt5-webkit/trunk/qt5-webkit-gcc7.patch)
  qt5-webkit/repos/staging-x86_64/qt5-webkit-null-pointer-dereference.patch
(from rev 327174, 
qt5-webkit/trunk/qt5-webkit-null-pointer-dereference.patch)

---+
 PKGBUILD  |   72 
 qt5-webkit-gcc7.patch |   34 +
 qt5-webkit-null-pointer-dereference.patch |   17 ++
 3 files changed, 123 insertions(+)

Copied: qt5-webkit/repos/staging-x86_64/PKGBUILD (from rev 327174, 
qt5-webkit/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-06-18 22:24:56 UTC (rev 327175)
@@ -0,0 +1,72 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Maintainer: Antonio Rojas 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.212.0-alpha2
+pkgver=${_qtver/-/}
+pkgrel=18
+arch=(x86_64)
+url='http://qt-project.org/'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=(qt5-location qt5-sensors qt5-webchannel libwebp libxslt libxcomposite 
gst-plugins-base hyphen)
+makedepends=(cmake ruby gperf python2 qt5-doc qt5-tools)
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=(qt5-webkit-ng)
+replaces=(qt5-webkit-ng)
+groups=(qt qt5)
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("https://github.com/annulen/webkit/releases/download/qtwebkit-$_qtver/qtwebkit-$_qtver.tar.xz;
+qt5-webkit-gcc7.patch
+qt5-webkit-null-pointer-dereference.patch
+
qt5-webkit-trojita-1.patch::"https://github.com/annulen/webkit/commit/6faf1121.patch;
+
qt5-webkit-trojita-2.patch::"https://github.com/annulen/webkit/commit/76420459.patch;
+
qt5-webkit-cmake3.10.patch::"https://github.com/annulen/webkit/commit/f51554bf.patch;)
+sha256sums=('f8f901de567e11fc5659402b6b827eac75505ff9c5072d8e919aa306003f8f8a'
+'f108833562d766d4c086026f9202b2ebc8c19e97fddedce952afed78df3c0720'
+'510e1f78c2bcd76909703a097dbc1d5c9c6ce4cd94883c26138f09cc10121f43'
+'bd22bd7842d5ad1cb1f5a4b6acb2674509732274d5f9dc51943144dff76996ae'
+'b42b70fd2a4a36b0ff48fc4e0dc386b3dda373e6fec18f3be9f5e2d3b04e0aa3'
+'b4e6c85fcb062e7cc141b0e34977bcc4f9c8677c773fc4b310151b85f51e7189')
+
+prepare() {
+  mkdir -p build
+
+# Fix crashes with GCC7 https://bugs.webkit.org/show_bug.cgi?id=173407
+  cd qtwebkit-$_qtver
+  patch -p1 -i ../qt5-webkit-gcc7.patch
+# Fix layout issues in trojita https://github.com/annulen/webkit/issues/511
+  patch -p1 -i ../qt5-webkit-trojita-1.patch
+  patch -p1 -i ../qt5-webkit-trojita-2.patch
+# Fix null point dereference (Fedora) 
https://github.com/annulen/webkit/issues/573
+  patch -p1 -i ../qt5-webkit-null-pointer-dereference.patch
+# Fix build with cmake 3.10
+  patch -p1 -i ../qt5-webkit-cmake3.10.patch
+}
+
+build() {
+  cd build
+
+  cmake ../qtwebkit-$_qtver \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE=Release \
+-DPORT=Qt \
+-DENABLE_TOOLS=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+
+# Fix pkgconfig files
+  sed -e 's|qt/Qt5WebKit|qt/QtWebKit|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e 's|qt/Qt5WebKitWidgets|qt/QtWebKitWidgets|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+  sed -e '/Name/a Description: Qt WebKit module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e '/Name/a Description: Qt WebKitWidgets module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+}

Copied: qt5-webkit/repos/staging-x86_64/qt5-webkit-gcc7.patch (from rev 327174, 
qt5-webkit/trunk/qt5-webkit-gcc7.patch)
===
--- staging-x86_64/qt5-webkit-gcc7.patch(rev 0)
+++ staging-x86_64/qt5-webkit-gcc7.patch2018-06-18 22:24:56 UTC (rev 
327175)
@@ -0,0 +1,34 @@
+diff -u -r webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h 
webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h
+--- webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h  2017-02-20 
17:20:15.0 +0100
 webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h 2017-06-27 
13:13:57.801527350 +0200
+@@ -581,29 +581,7 @@
+ // FIXME: Does this really belong in StringImpl?
+ template  static void copyChars(T* destination, const T* 
source, unsigned numCharacters)

[arch-commits] Commit in qt5-webkit/repos (4 files)

2018-03-27 Thread Evangelos Foutras via arch-commits
Date: Wednesday, March 28, 2018 @ 04:15:18
  Author: foutrelis
Revision: 320482

archrelease: copy trunk to staging-x86_64

Added:
  qt5-webkit/repos/staging-x86_64/
  qt5-webkit/repos/staging-x86_64/PKGBUILD
(from rev 320481, qt5-webkit/trunk/PKGBUILD)
  qt5-webkit/repos/staging-x86_64/qt5-webkit-gcc7.patch
(from rev 320481, qt5-webkit/trunk/qt5-webkit-gcc7.patch)
  qt5-webkit/repos/staging-x86_64/qt5-webkit-null-pointer-dereference.patch
(from rev 320481, 
qt5-webkit/trunk/qt5-webkit-null-pointer-dereference.patch)

---+
 PKGBUILD  |   72 
 qt5-webkit-gcc7.patch |   34 +
 qt5-webkit-null-pointer-dereference.patch |   17 ++
 3 files changed, 123 insertions(+)

Copied: qt5-webkit/repos/staging-x86_64/PKGBUILD (from rev 320481, 
qt5-webkit/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-03-28 04:15:18 UTC (rev 320482)
@@ -0,0 +1,72 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Maintainer: Antonio Rojas 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.212.0-alpha2
+pkgver=${_qtver/-/}
+pkgrel=14
+arch=(x86_64)
+url='http://qt-project.org/'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=(qt5-location qt5-sensors qt5-webchannel libwebp libxslt libxcomposite 
gst-plugins-base hyphen)
+makedepends=(cmake ruby gperf python2 qt5-doc qt5-tools)
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=(qt5-webkit-ng)
+replaces=(qt5-webkit-ng)
+groups=(qt qt5)
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("https://github.com/annulen/webkit/releases/download/qtwebkit-$_qtver/qtwebkit-$_qtver.tar.xz;
+qt5-webkit-gcc7.patch
+qt5-webkit-null-pointer-dereference.patch
+
qt5-webkit-trojita-1.patch::"https://github.com/annulen/webkit/commit/6faf1121.patch;
+
qt5-webkit-trojita-2.patch::"https://github.com/annulen/webkit/commit/76420459.patch;
+
qt5-webkit-cmake3.10.patch::"https://github.com/annulen/webkit/commit/f51554bf.patch;)
+sha256sums=('f8f901de567e11fc5659402b6b827eac75505ff9c5072d8e919aa306003f8f8a'
+'f108833562d766d4c086026f9202b2ebc8c19e97fddedce952afed78df3c0720'
+'510e1f78c2bcd76909703a097dbc1d5c9c6ce4cd94883c26138f09cc10121f43'
+'bd22bd7842d5ad1cb1f5a4b6acb2674509732274d5f9dc51943144dff76996ae'
+'b42b70fd2a4a36b0ff48fc4e0dc386b3dda373e6fec18f3be9f5e2d3b04e0aa3'
+'b4e6c85fcb062e7cc141b0e34977bcc4f9c8677c773fc4b310151b85f51e7189')
+
+prepare() {
+  mkdir -p build
+
+# Fix crashes with GCC7 https://bugs.webkit.org/show_bug.cgi?id=173407
+  cd qtwebkit-$_qtver
+  patch -p1 -i ../qt5-webkit-gcc7.patch
+# Fix layout issues in trojita https://github.com/annulen/webkit/issues/511
+  patch -p1 -i ../qt5-webkit-trojita-1.patch
+  patch -p1 -i ../qt5-webkit-trojita-2.patch
+# Fix null point dereference (Fedora) 
https://github.com/annulen/webkit/issues/573
+  patch -p1 -i ../qt5-webkit-null-pointer-dereference.patch
+# Fix build with cmake 3.10
+  patch -p1 -i ../qt5-webkit-cmake3.10.patch
+}
+
+build() {
+  cd build
+
+  cmake ../qtwebkit-$_qtver \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE=Release \
+-DPORT=Qt \
+-DENABLE_TOOLS=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+
+# Fix pkgconfig files
+  sed -e 's|qt/Qt5WebKit|qt/QtWebKit|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e 's|qt/Qt5WebKitWidgets|qt/QtWebKitWidgets|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+  sed -e '/Name/a Description: Qt WebKit module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e '/Name/a Description: Qt WebKitWidgets module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+}

Copied: qt5-webkit/repos/staging-x86_64/qt5-webkit-gcc7.patch (from rev 320481, 
qt5-webkit/trunk/qt5-webkit-gcc7.patch)
===
--- staging-x86_64/qt5-webkit-gcc7.patch(rev 0)
+++ staging-x86_64/qt5-webkit-gcc7.patch2018-03-28 04:15:18 UTC (rev 
320482)
@@ -0,0 +1,34 @@
+diff -u -r webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h 
webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h
+--- webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h  2017-02-20 
17:20:15.0 +0100
 webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h 2017-06-27 
13:13:57.801527350 +0200
+@@ -581,29 +581,7 @@
+ // FIXME: Does this really belong in StringImpl?
+ template  

[arch-commits] Commit in qt5-webkit/repos (4 files)

2018-03-23 Thread Antonio Rojas via arch-commits
Date: Friday, March 23, 2018 @ 22:53:26
  Author: arojas
Revision: 319881

archrelease: copy trunk to kde-unstable-x86_64

Added:
  qt5-webkit/repos/kde-unstable-x86_64/
  qt5-webkit/repos/kde-unstable-x86_64/PKGBUILD
(from rev 319880, qt5-webkit/trunk/PKGBUILD)
  qt5-webkit/repos/kde-unstable-x86_64/qt5-webkit-gcc7.patch
(from rev 319880, qt5-webkit/trunk/qt5-webkit-gcc7.patch)
  qt5-webkit/repos/kde-unstable-x86_64/qt5-webkit-null-pointer-dereference.patch
(from rev 319880, 
qt5-webkit/trunk/qt5-webkit-null-pointer-dereference.patch)

---+
 PKGBUILD  |   72 
 qt5-webkit-gcc7.patch |   34 +
 qt5-webkit-null-pointer-dereference.patch |   17 ++
 3 files changed, 123 insertions(+)

Copied: qt5-webkit/repos/kde-unstable-x86_64/PKGBUILD (from rev 319880, 
qt5-webkit/trunk/PKGBUILD)
===
--- kde-unstable-x86_64/PKGBUILD(rev 0)
+++ kde-unstable-x86_64/PKGBUILD2018-03-23 22:53:26 UTC (rev 319881)
@@ -0,0 +1,72 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Maintainer: Antonio Rojas 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.212.0-alpha2
+pkgver=${_qtver/-/}
+pkgrel=13
+arch=(x86_64)
+url='http://qt-project.org/'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=(qt5-location qt5-sensors qt5-webchannel libwebp libxslt libxcomposite 
gst-plugins-base hyphen)
+makedepends=(cmake ruby gperf python2 qt5-doc qt5-tools)
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=(qt5-webkit-ng)
+replaces=(qt5-webkit-ng)
+groups=(qt qt5)
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("https://github.com/annulen/webkit/releases/download/qtwebkit-$_qtver/qtwebkit-$_qtver.tar.xz;
+qt5-webkit-gcc7.patch
+qt5-webkit-null-pointer-dereference.patch
+
qt5-webkit-trojita-1.patch::"https://github.com/annulen/webkit/commit/6faf1121.patch;
+
qt5-webkit-trojita-2.patch::"https://github.com/annulen/webkit/commit/76420459.patch;
+
qt5-webkit-cmake3.10.patch::"https://github.com/annulen/webkit/commit/f51554bf.patch;)
+sha256sums=('f8f901de567e11fc5659402b6b827eac75505ff9c5072d8e919aa306003f8f8a'
+'f108833562d766d4c086026f9202b2ebc8c19e97fddedce952afed78df3c0720'
+'510e1f78c2bcd76909703a097dbc1d5c9c6ce4cd94883c26138f09cc10121f43'
+'bd22bd7842d5ad1cb1f5a4b6acb2674509732274d5f9dc51943144dff76996ae'
+'b42b70fd2a4a36b0ff48fc4e0dc386b3dda373e6fec18f3be9f5e2d3b04e0aa3'
+'b4e6c85fcb062e7cc141b0e34977bcc4f9c8677c773fc4b310151b85f51e7189')
+
+prepare() {
+  mkdir -p build
+
+# Fix crashes with GCC7 https://bugs.webkit.org/show_bug.cgi?id=173407
+  cd qtwebkit-$_qtver
+  patch -p1 -i ../qt5-webkit-gcc7.patch
+# Fix layout issues in trojita https://github.com/annulen/webkit/issues/511
+  patch -p1 -i ../qt5-webkit-trojita-1.patch
+  patch -p1 -i ../qt5-webkit-trojita-2.patch
+# Fix null point dereference (Fedora) 
https://github.com/annulen/webkit/issues/573
+  patch -p1 -i ../qt5-webkit-null-pointer-dereference.patch
+# Fix build with cmake 3.10
+  patch -p1 -i ../qt5-webkit-cmake3.10.patch
+}
+
+build() {
+  cd build
+
+  cmake ../qtwebkit-$_qtver \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE=Release \
+-DPORT=Qt \
+-DENABLE_TOOLS=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+
+# Fix pkgconfig files
+  sed -e 's|qt/Qt5WebKit|qt/QtWebKit|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e 's|qt/Qt5WebKitWidgets|qt/QtWebKitWidgets|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+  sed -e '/Name/a Description: Qt WebKit module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e '/Name/a Description: Qt WebKitWidgets module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+}

Copied: qt5-webkit/repos/kde-unstable-x86_64/qt5-webkit-gcc7.patch (from rev 
319880, qt5-webkit/trunk/qt5-webkit-gcc7.patch)
===
--- kde-unstable-x86_64/qt5-webkit-gcc7.patch   (rev 0)
+++ kde-unstable-x86_64/qt5-webkit-gcc7.patch   2018-03-23 22:53:26 UTC (rev 
319881)
@@ -0,0 +1,34 @@
+diff -u -r webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h 
webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h
+--- webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h  2017-02-20 
17:20:15.0 +0100
 webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h 2017-06-27 
13:13:57.801527350 +0200
+@@ -581,29 +581,7 @@
+ // FIXME: Does this 

[arch-commits] Commit in qt5-webkit/repos (4 files)

2018-02-13 Thread Antonio Rojas via arch-commits
Date: Tuesday, February 13, 2018 @ 17:04:39
  Author: arojas
Revision: 316806

archrelease: copy trunk to staging-x86_64

Added:
  qt5-webkit/repos/staging-x86_64/
  qt5-webkit/repos/staging-x86_64/PKGBUILD
(from rev 316805, qt5-webkit/trunk/PKGBUILD)
  qt5-webkit/repos/staging-x86_64/qt5-webkit-gcc7.patch
(from rev 316805, qt5-webkit/trunk/qt5-webkit-gcc7.patch)
  qt5-webkit/repos/staging-x86_64/qt5-webkit-null-pointer-dereference.patch
(from rev 316805, 
qt5-webkit/trunk/qt5-webkit-null-pointer-dereference.patch)

---+
 PKGBUILD  |   72 
 qt5-webkit-gcc7.patch |   34 +
 qt5-webkit-null-pointer-dereference.patch |   17 ++
 3 files changed, 123 insertions(+)

Copied: qt5-webkit/repos/staging-x86_64/PKGBUILD (from rev 316805, 
qt5-webkit/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-02-13 17:04:39 UTC (rev 316806)
@@ -0,0 +1,72 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Maintainer: Antonio Rojas 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.212.0-alpha2
+pkgver=${_qtver/-/}
+pkgrel=12
+arch=(x86_64)
+url='http://qt-project.org/'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=(qt5-location qt5-sensors qt5-webchannel libwebp libxslt libxcomposite 
gst-plugins-base hyphen)
+makedepends=(cmake ruby gperf python2 qt5-doc qt5-tools)
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=(qt5-webkit-ng)
+replaces=(qt5-webkit-ng)
+groups=(qt qt5)
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("https://github.com/annulen/webkit/releases/download/qtwebkit-$_qtver/qtwebkit-$_qtver.tar.xz;
+qt5-webkit-gcc7.patch
+qt5-webkit-null-pointer-dereference.patch
+
qt5-webkit-trojita-1.patch::"https://github.com/annulen/webkit/commit/6faf1121.patch;
+
qt5-webkit-trojita-2.patch::"https://github.com/annulen/webkit/commit/76420459.patch;
+
qt5-webkit-cmake3.10.patch::"https://github.com/annulen/webkit/commit/f51554bf.patch;)
+sha256sums=('f8f901de567e11fc5659402b6b827eac75505ff9c5072d8e919aa306003f8f8a'
+'f108833562d766d4c086026f9202b2ebc8c19e97fddedce952afed78df3c0720'
+'510e1f78c2bcd76909703a097dbc1d5c9c6ce4cd94883c26138f09cc10121f43'
+'bd22bd7842d5ad1cb1f5a4b6acb2674509732274d5f9dc51943144dff76996ae'
+'b42b70fd2a4a36b0ff48fc4e0dc386b3dda373e6fec18f3be9f5e2d3b04e0aa3'
+'b4e6c85fcb062e7cc141b0e34977bcc4f9c8677c773fc4b310151b85f51e7189')
+
+prepare() {
+  mkdir -p build
+
+# Fix crashes with GCC7 https://bugs.webkit.org/show_bug.cgi?id=173407
+  cd qtwebkit-$_qtver
+  patch -p1 -i ../qt5-webkit-gcc7.patch
+# Fix layout issues in trojita https://github.com/annulen/webkit/issues/511
+  patch -p1 -i ../qt5-webkit-trojita-1.patch
+  patch -p1 -i ../qt5-webkit-trojita-2.patch
+# Fix null point dereference (Fedora) 
https://github.com/annulen/webkit/issues/573
+  patch -p1 -i ../qt5-webkit-null-pointer-dereference.patch
+# Fix build with cmake 3.10
+  patch -p1 -i ../qt5-webkit-cmake3.10.patch
+}
+
+build() {
+  cd build
+
+  cmake ../qtwebkit-$_qtver \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE=Release \
+-DPORT=Qt \
+-DENABLE_TOOLS=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+
+# Fix pkgconfig files
+  sed -e 's|qt/Qt5WebKit|qt/QtWebKit|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e 's|qt/Qt5WebKitWidgets|qt/QtWebKitWidgets|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+  sed -e '/Name/a Description: Qt WebKit module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e '/Name/a Description: Qt WebKitWidgets module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+}

Copied: qt5-webkit/repos/staging-x86_64/qt5-webkit-gcc7.patch (from rev 316805, 
qt5-webkit/trunk/qt5-webkit-gcc7.patch)
===
--- staging-x86_64/qt5-webkit-gcc7.patch(rev 0)
+++ staging-x86_64/qt5-webkit-gcc7.patch2018-02-13 17:04:39 UTC (rev 
316806)
@@ -0,0 +1,34 @@
+diff -u -r webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h 
webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h
+--- webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h  2017-02-20 
17:20:15.0 +0100
 webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h 2017-06-27 
13:13:57.801527350 +0200
+@@ -581,29 +581,7 @@
+ // FIXME: Does this really belong in StringImpl?
+ template  

[arch-commits] Commit in qt5-webkit/repos (4 files)

2017-11-22 Thread Antonio Rojas
Date: Wednesday, November 22, 2017 @ 18:17:39
  Author: arojas
Revision: 310678

archrelease: copy trunk to staging-x86_64

Added:
  qt5-webkit/repos/staging-x86_64/
  qt5-webkit/repos/staging-x86_64/PKGBUILD
(from rev 310677, qt5-webkit/trunk/PKGBUILD)
  qt5-webkit/repos/staging-x86_64/qt5-webkit-gcc7.patch
(from rev 310677, qt5-webkit/trunk/qt5-webkit-gcc7.patch)
  qt5-webkit/repos/staging-x86_64/qt5-webkit-null-pointer-dereference.patch
(from rev 310677, 
qt5-webkit/trunk/qt5-webkit-null-pointer-dereference.patch)

---+
 PKGBUILD  |   72 
 qt5-webkit-gcc7.patch |   34 +
 qt5-webkit-null-pointer-dereference.patch |   17 ++
 3 files changed, 123 insertions(+)

Copied: qt5-webkit/repos/staging-x86_64/PKGBUILD (from rev 310677, 
qt5-webkit/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2017-11-22 18:17:39 UTC (rev 310678)
@@ -0,0 +1,72 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Maintainer: Antonio Rojas 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.212.0-alpha2
+pkgver=${_qtver/-/}
+pkgrel=10
+arch=(x86_64)
+url='http://qt-project.org/'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=(qt5-location qt5-sensors qt5-webchannel libwebp libxslt libxcomposite 
gst-plugins-base hyphen)
+makedepends=(cmake ruby gperf python2 qt5-doc qt5-tools)
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=(qt5-webkit-ng)
+replaces=(qt5-webkit-ng)
+groups=(qt qt5)
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("https://github.com/annulen/webkit/releases/download/qtwebkit-$_qtver/qtwebkit-$_qtver.tar.xz;
+qt5-webkit-gcc7.patch
+qt5-webkit-null-pointer-dereference.patch
+
qt5-webkit-trojita-1.patch::"https://github.com/annulen/webkit/commit/6faf1121.patch;
+
qt5-webkit-trojita-2.patch::"https://github.com/annulen/webkit/commit/76420459.patch;
+
qt5-webkit-cmake3.10.patch::"https://github.com/annulen/webkit/commit/f51554bf.patch;)
+sha256sums=('f8f901de567e11fc5659402b6b827eac75505ff9c5072d8e919aa306003f8f8a'
+'f108833562d766d4c086026f9202b2ebc8c19e97fddedce952afed78df3c0720'
+'510e1f78c2bcd76909703a097dbc1d5c9c6ce4cd94883c26138f09cc10121f43'
+'bd22bd7842d5ad1cb1f5a4b6acb2674509732274d5f9dc51943144dff76996ae'
+'b42b70fd2a4a36b0ff48fc4e0dc386b3dda373e6fec18f3be9f5e2d3b04e0aa3'
+'b4e6c85fcb062e7cc141b0e34977bcc4f9c8677c773fc4b310151b85f51e7189')
+
+prepare() {
+  mkdir -p build
+
+# Fix crashes with GCC7 https://bugs.webkit.org/show_bug.cgi?id=173407
+  cd qtwebkit-$_qtver
+  patch -p1 -i ../qt5-webkit-gcc7.patch
+# Fix layout issues in trojita https://github.com/annulen/webkit/issues/511
+  patch -p1 -i ../qt5-webkit-trojita-1.patch
+  patch -p1 -i ../qt5-webkit-trojita-2.patch
+# Fix null point dereference (Fedora) 
https://github.com/annulen/webkit/issues/573
+  patch -p1 -i ../qt5-webkit-null-pointer-dereference.patch
+# Fix build with cmake 3.10
+  patch -p1 -i ../qt5-webkit-cmake3.10.patch
+}
+
+build() {
+  cd build
+
+  cmake ../qtwebkit-$_qtver \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE=Release \
+-DPORT=Qt \
+-DENABLE_TOOLS=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+
+# Fix pkgconfig files
+  sed -e 's|qt/Qt5WebKit|qt/QtWebKit|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e 's|qt/Qt5WebKitWidgets|qt/QtWebKitWidgets|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+  sed -e '/Name/a Description: Qt WebKit module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e '/Name/a Description: Qt WebKitWidgets module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+}

Copied: qt5-webkit/repos/staging-x86_64/qt5-webkit-gcc7.patch (from rev 310677, 
qt5-webkit/trunk/qt5-webkit-gcc7.patch)
===
--- staging-x86_64/qt5-webkit-gcc7.patch(rev 0)
+++ staging-x86_64/qt5-webkit-gcc7.patch2017-11-22 18:17:39 UTC (rev 
310678)
@@ -0,0 +1,34 @@
+diff -u -r webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h 
webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h
+--- webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h  2017-02-20 
17:20:15.0 +0100
 webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h 2017-06-27 
13:13:57.801527350 +0200
+@@ -581,29 +581,7 @@
+ // FIXME: Does this really belong in StringImpl?
+ template  

[arch-commits] Commit in qt5-webkit/repos (4 files)

2017-11-12 Thread Evangelos Foutras
Date: Sunday, November 12, 2017 @ 20:06:57
  Author: foutrelis
Revision: 309674

archrelease: copy trunk to staging-x86_64

Added:
  qt5-webkit/repos/staging-x86_64/
  qt5-webkit/repos/staging-x86_64/PKGBUILD
(from rev 309673, qt5-webkit/trunk/PKGBUILD)
  qt5-webkit/repos/staging-x86_64/qt5-webkit-gcc7.patch
(from rev 309673, qt5-webkit/trunk/qt5-webkit-gcc7.patch)
  qt5-webkit/repos/staging-x86_64/qt5-webkit-null-pointer-dereference.patch
(from rev 309673, 
qt5-webkit/trunk/qt5-webkit-null-pointer-dereference.patch)

---+
 PKGBUILD  |   68 
 qt5-webkit-gcc7.patch |   34 ++
 qt5-webkit-null-pointer-dereference.patch |   17 +++
 3 files changed, 119 insertions(+)

Copied: qt5-webkit/repos/staging-x86_64/PKGBUILD (from rev 309673, 
qt5-webkit/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2017-11-12 20:06:57 UTC (rev 309674)
@@ -0,0 +1,68 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Maintainer: Antonio Rojas 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.212.0-alpha2
+pkgver=${_qtver/-/}
+pkgrel=8
+arch=(i686 x86_64)
+url='http://qt-project.org/'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=(qt5-location qt5-sensors qt5-webchannel libwebp libxslt libxcomposite 
gst-plugins-base hyphen)
+makedepends=(cmake ruby gperf python2 qt5-doc qt5-tools)
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=(qt5-webkit-ng)
+replaces=(qt5-webkit-ng)
+groups=(qt qt5)
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("https://github.com/annulen/webkit/releases/download/qtwebkit-$_qtver/qtwebkit-$_qtver.tar.xz;
+qt5-webkit-gcc7.patch
+qt5-webkit-null-pointer-dereference.patch
+
qt5-webkit-trojita-1.patch::"https://github.com/annulen/webkit/commit/6faf1121.patch;
+
qt5-webkit-trojita-2.patch::"https://github.com/annulen/webkit/commit/76420459.patch;)
+sha256sums=('f8f901de567e11fc5659402b6b827eac75505ff9c5072d8e919aa306003f8f8a'
+'f108833562d766d4c086026f9202b2ebc8c19e97fddedce952afed78df3c0720'
+'510e1f78c2bcd76909703a097dbc1d5c9c6ce4cd94883c26138f09cc10121f43'
+'bd22bd7842d5ad1cb1f5a4b6acb2674509732274d5f9dc51943144dff76996ae'
+'b42b70fd2a4a36b0ff48fc4e0dc386b3dda373e6fec18f3be9f5e2d3b04e0aa3')
+
+prepare() {
+  mkdir -p build
+
+# Fix crashes with GCC7 https://bugs.webkit.org/show_bug.cgi?id=173407
+  cd qtwebkit-$_qtver
+  patch -p1 -i ../qt5-webkit-gcc7.patch
+# Fix layout issues in trojita https://github.com/annulen/webkit/issues/511
+  patch -p1 -i ../qt5-webkit-trojita-1.patch
+  patch -p1 -i ../qt5-webkit-trojita-2.patch
+# Fix null point dereference (Fedora) 
https://github.com/annulen/webkit/issues/573
+  patch -p1 -i ../qt5-webkit-null-pointer-dereference.patch
+}
+
+build() {
+  cd build
+
+  cmake ../qtwebkit-$_qtver \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE=Release \
+-DPORT=Qt \
+-DENABLE_TOOLS=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+
+# Fix pkgconfig files
+  sed -e 's|qt/Qt5WebKit|qt/QtWebKit|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e 's|qt/Qt5WebKitWidgets|qt/QtWebKitWidgets|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+  sed -e '/Name/a Description: Qt WebKit module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e '/Name/a Description: Qt WebKitWidgets module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+}

Copied: qt5-webkit/repos/staging-x86_64/qt5-webkit-gcc7.patch (from rev 309673, 
qt5-webkit/trunk/qt5-webkit-gcc7.patch)
===
--- staging-x86_64/qt5-webkit-gcc7.patch(rev 0)
+++ staging-x86_64/qt5-webkit-gcc7.patch2017-11-12 20:06:57 UTC (rev 
309674)
@@ -0,0 +1,34 @@
+diff -u -r webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h 
webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h
+--- webkitgtk-2.16.5/Source/WTF/wtf/text/StringImpl.h  2017-02-20 
17:20:15.0 +0100
 webkitgtk-2.16.5-gcc7/Source/WTF/wtf/text/StringImpl.h 2017-06-27 
13:13:57.801527350 +0200
+@@ -581,29 +581,7 @@
+ // FIXME: Does this really belong in StringImpl?
+ template  static void copyChars(T* destination, const T* 
source, unsigned numCharacters)
+ {
+-if (numCharacters == 1) {
+-*destination = *source;
+-return;
+-}
+-
+-if (numCharacters <= 

[arch-commits] Commit in qt5-webkit/repos (4 files)

2017-07-01 Thread Antonio Rojas
Date: Saturday, July 1, 2017 @ 21:32:01
  Author: arojas
Revision: 299525

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  qt5-webkit/repos/testing-i686/
  qt5-webkit/repos/testing-i686/PKGBUILD
(from rev 299524, qt5-webkit/trunk/PKGBUILD)
  qt5-webkit/repos/testing-x86_64/
  qt5-webkit/repos/testing-x86_64/PKGBUILD
(from rev 299524, qt5-webkit/trunk/PKGBUILD)

-+
 testing-i686/PKGBUILD   |   51 ++
 testing-x86_64/PKGBUILD |   51 ++
 2 files changed, 102 insertions(+)

Copied: qt5-webkit/repos/testing-i686/PKGBUILD (from rev 299524, 
qt5-webkit/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2017-07-01 21:32:01 UTC (rev 299525)
@@ -0,0 +1,51 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Maintainer: Antonio Rojas 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.212.0-alpha2
+pkgver=${_qtver/-/}
+pkgrel=3
+arch=(i686 x86_64)
+url='http://qt-project.org/'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=(qt5-location qt5-sensors qt5-webchannel libwebp libxslt libxcomposite 
gst-plugins-base hyphen)
+makedepends=(cmake ruby gperf python2 qt5-doc qt5-tools)
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=(qt5-webkit-ng)
+replaces=(qt5-webkit-ng)
+groups=(qt qt5)
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("https://github.com/annulen/webkit/releases/download/qtwebkit-$_qtver/qtwebkit-$_qtver.tar.xz;)
+sha256sums=('f8f901de567e11fc5659402b6b827eac75505ff9c5072d8e919aa306003f8f8a')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+
+  cmake ../qtwebkit-$_qtver \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE=Release \
+-DPORT=Qt \
+-DENABLE_TOOLS=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+
+# Fix pkgconfig files
+  sed -e 's|qt/Qt5WebKit|qt/QtWebKit|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e 's|qt/Qt5WebKitWidgets|qt/QtWebKitWidgets|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+  sed -e '/Name/a Description: Qt WebKit module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e '/Name/a Description: Qt WebKitWidgets module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+}

Copied: qt5-webkit/repos/testing-x86_64/PKGBUILD (from rev 299524, 
qt5-webkit/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-07-01 21:32:01 UTC (rev 299525)
@@ -0,0 +1,51 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Maintainer: Antonio Rojas 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.212.0-alpha2
+pkgver=${_qtver/-/}
+pkgrel=3
+arch=(i686 x86_64)
+url='http://qt-project.org/'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=(qt5-location qt5-sensors qt5-webchannel libwebp libxslt libxcomposite 
gst-plugins-base hyphen)
+makedepends=(cmake ruby gperf python2 qt5-doc qt5-tools)
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=(qt5-webkit-ng)
+replaces=(qt5-webkit-ng)
+groups=(qt qt5)
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("https://github.com/annulen/webkit/releases/download/qtwebkit-$_qtver/qtwebkit-$_qtver.tar.xz;)
+sha256sums=('f8f901de567e11fc5659402b6b827eac75505ff9c5072d8e919aa306003f8f8a')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+
+  cmake ../qtwebkit-$_qtver \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE=Release \
+-DPORT=Qt \
+-DENABLE_TOOLS=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+
+# Fix pkgconfig files
+  sed -e 's|qt/Qt5WebKit|qt/QtWebKit|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e 's|qt/Qt5WebKitWidgets|qt/QtWebKitWidgets|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+  sed -e '/Name/a Description: Qt WebKit module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e '/Name/a Description: Qt WebKitWidgets module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+}


[arch-commits] Commit in qt5-webkit/repos (4 files)

2017-06-25 Thread Antonio Rojas
Date: Sunday, June 25, 2017 @ 13:30:51
  Author: arojas
Revision: 299216

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  qt5-webkit/repos/extra-i686/PKGBUILD
(from rev 299215, qt5-webkit/trunk/PKGBUILD)
  qt5-webkit/repos/extra-x86_64/PKGBUILD
(from rev 299215, qt5-webkit/trunk/PKGBUILD)
Deleted:
  qt5-webkit/repos/extra-i686/PKGBUILD
  qt5-webkit/repos/extra-x86_64/PKGBUILD

---+
 /PKGBUILD |  102 
 extra-i686/PKGBUILD   |   45 -
 extra-x86_64/PKGBUILD |   45 -
 3 files changed, 102 insertions(+), 90 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2017-06-25 13:30:22 UTC (rev 299215)
+++ extra-i686/PKGBUILD 2017-06-25 13:30:51 UTC (rev 299216)
@@ -1,45 +0,0 @@
-# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
-# Maintainer: Felix Yan 
-# Maintainer: Antonio Rojas 
-# Contributor: Andrea Scarpino 
-
-pkgname=qt5-webkit
-_qtver=5.212.0-alpha2
-pkgver=${_qtver/-/}
-pkgrel=1
-arch=(i686 x86_64)
-url='http://qt-project.org/'
-license=(GPL3 LGPL3 FDL custom)
-pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
-depends=(qt5-location qt5-sensors qt5-webchannel libwebp libxslt libxcomposite 
gst-plugins-base hyphen)
-makedepends=(cmake ruby gperf python2 qt5-doc qt5-tools)
-optdepends=('gst-plugins-good: Webm codec support')
-conflicts=(qt5-webkit-ng)
-replaces=(qt5-webkit-ng)
-groups=(qt qt5)
-_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
-source=("https://github.com/annulen/webkit/releases/download/qtwebkit-$_qtver/qtwebkit-$_qtver.tar.xz;)
-sha256sums=('f8f901de567e11fc5659402b6b827eac75505ff9c5072d8e919aa306003f8f8a')
-
-prepare() {
-  mkdir -p build
-}
-
-build() {
-  cd build
-
-  cmake ../qtwebkit-$_qtver \
--DCMAKE_INSTALL_PREFIX=/usr \
--DCMAKE_BUILD_TYPE=Release \
--DPORT=Qt \
--DENABLE_TOOLS=OFF
-  make
-}
-
-package() {
-  cd build
-  make DESTDIR="$pkgdir" install
-
-  install -d "$pkgdir"/usr/share/licenses
-  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
-}

Copied: qt5-webkit/repos/extra-i686/PKGBUILD (from rev 299215, 
qt5-webkit/trunk/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2017-06-25 13:30:51 UTC (rev 299216)
@@ -0,0 +1,51 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Maintainer: Antonio Rojas 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.212.0-alpha2
+pkgver=${_qtver/-/}
+pkgrel=2
+arch=(i686 x86_64)
+url='http://qt-project.org/'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=(qt5-location qt5-sensors qt5-webchannel libwebp libxslt libxcomposite 
gst-plugins-base hyphen)
+makedepends=(cmake ruby gperf python2 qt5-doc qt5-tools)
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=(qt5-webkit-ng)
+replaces=(qt5-webkit-ng)
+groups=(qt qt5)
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("https://github.com/annulen/webkit/releases/download/qtwebkit-$_qtver/qtwebkit-$_qtver.tar.xz;)
+sha256sums=('f8f901de567e11fc5659402b6b827eac75505ff9c5072d8e919aa306003f8f8a')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+
+  cmake ../qtwebkit-$_qtver \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE=Release \
+-DPORT=Qt \
+-DENABLE_TOOLS=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+
+# Fix pkgconfig files
+  sed -e 's|qt/Qt5WebKit|qt/QtWebKit|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e 's|qt/Qt5WebKitWidgets|qt/QtWebKitWidgets|' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+  sed -e '/Name/a Description: Qt WebKit module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc
+  sed -e '/Name/a Description: Qt WebKitWidgets module' -i 
"$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc
+}

Deleted: extra-x86_64/PKGBUILD
===
--- extra-x86_64/PKGBUILD   2017-06-25 13:30:22 UTC (rev 299215)
+++ extra-x86_64/PKGBUILD   2017-06-25 13:30:51 UTC (rev 299216)
@@ -1,45 +0,0 @@
-# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
-# Maintainer: Felix Yan 
-# Maintainer: Antonio Rojas 
-# Contributor: Andrea Scarpino 
-
-pkgname=qt5-webkit
-_qtver=5.212.0-alpha2
-pkgver=${_qtver/-/}
-pkgrel=1
-arch=(i686 x86_64)
-url='http://qt-project.org/'
-license=(GPL3 LGPL3 FDL custom)

[arch-commits] Commit in qt5-webkit/repos (4 files)

2017-01-23 Thread Antonio Rojas
Date: Monday, January 23, 2017 @ 11:53:13
  Author: arojas
Revision: 287200

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  qt5-webkit/repos/staging-i686/
  qt5-webkit/repos/staging-i686/PKGBUILD
(from rev 287199, qt5-webkit/trunk/PKGBUILD)
  qt5-webkit/repos/staging-x86_64/
  qt5-webkit/repos/staging-x86_64/PKGBUILD
(from rev 287199, qt5-webkit/trunk/PKGBUILD)

-+
 staging-i686/PKGBUILD   |   44 
 staging-x86_64/PKGBUILD |   44 
 2 files changed, 88 insertions(+)

Copied: qt5-webkit/repos/staging-i686/PKGBUILD (from rev 287199, 
qt5-webkit/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2017-01-23 11:53:13 UTC (rev 287200)
@@ -0,0 +1,44 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.8.0
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=('qt5-location' 'qt5-sensors' 'qt5-webchannel' 'libwebp' 'libxslt' 
'libxcomposite' 'gst-plugins-base')
+makedepends=('ruby' 'gperf' 'python' 'qt5-doc' 'qt5-tools')
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=('qt')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgname/5-/}-opensource-src-${pkgver}"
+source=("http://download.qt.io/community_releases/${pkgver%.*}/${pkgver}-final/qtwebkit-opensource-src-${pkgver}.tar.xz;)
+md5sums=('60a6935aca4a7c553d0ec4646ceed3b4')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build  
+
+  qmake ../${_pkgfqn}
+  make
+  make docs
+}
+
+package() {
+  cd build
+  make INSTALL_ROOT="$pkgdir" install install_docs
+
+  # 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 -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+}

Copied: qt5-webkit/repos/staging-x86_64/PKGBUILD (from rev 287199, 
qt5-webkit/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2017-01-23 11:53:13 UTC (rev 287200)
@@ -0,0 +1,44 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.8.0
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=('qt5-location' 'qt5-sensors' 'qt5-webchannel' 'libwebp' 'libxslt' 
'libxcomposite' 'gst-plugins-base')
+makedepends=('ruby' 'gperf' 'python' 'qt5-doc' 'qt5-tools')
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=('qt')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgname/5-/}-opensource-src-${pkgver}"
+source=("http://download.qt.io/community_releases/${pkgver%.*}/${pkgver}-final/qtwebkit-opensource-src-${pkgver}.tar.xz;)
+md5sums=('60a6935aca4a7c553d0ec4646ceed3b4')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build  
+
+  qmake ../${_pkgfqn}
+  make
+  make docs
+}
+
+package() {
+  cd build
+  make INSTALL_ROOT="$pkgdir" install install_docs
+
+  # 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 -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+}


[arch-commits] Commit in qt5-webkit/repos (4 files)

2017-01-02 Thread Antonio Rojas
Date: Monday, January 2, 2017 @ 21:08:13
  Author: arojas
Revision: 285226

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

Added:
  qt5-webkit/repos/kde-unstable-i686/
  qt5-webkit/repos/kde-unstable-i686/PKGBUILD
(from rev 285225, qt5-webkit/kde-unstable/PKGBUILD)
  qt5-webkit/repos/kde-unstable-x86_64/
  qt5-webkit/repos/kde-unstable-x86_64/PKGBUILD
(from rev 285225, qt5-webkit/kde-unstable/PKGBUILD)

--+
 kde-unstable-i686/PKGBUILD   |   49 +
 kde-unstable-x86_64/PKGBUILD |   49 +
 2 files changed, 98 insertions(+)

Copied: qt5-webkit/repos/kde-unstable-i686/PKGBUILD (from rev 285225, 
qt5-webkit/kde-unstable/PKGBUILD)
===
--- kde-unstable-i686/PKGBUILD  (rev 0)
+++ kde-unstable-i686/PKGBUILD  2017-01-02 21:08:13 UTC (rev 285226)
@@ -0,0 +1,49 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.8.0-beta
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=('qt5-location' 'qt5-sensors' 'qt5-webchannel' 'libwebp' 'libxslt' 
'libxcomposite' 'gst-plugins-base')
+makedepends=('ruby' 'gperf' 'python' 'qt5-doc' 'qt5-tools')
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=('qt')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("http://download.qt.io/community_releases/${pkgver%.*}/${_qtver}/qtwebkit-opensource-src-${_qtver}.tar.xz;
 qt5-webkit-5.8.patch)
+md5sums=('0d65d15c20d62e0a095d3ad8553b2905'
+ '7aee65743e66fb29ee4835e6c600b1ad')
+
+prepare() {
+  mkdir -p build
+
+# Fix build
+  cd $_pkgfqn
+  patch -p1 -i ../qt5-webkit-5.8.patch
+}
+
+build() {
+  cd build  
+
+  qmake ../${_pkgfqn}
+  make
+  make docs
+}
+
+package() {
+  cd build
+  make INSTALL_ROOT="$pkgdir" install install_docs
+
+  # 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 -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+}

Copied: qt5-webkit/repos/kde-unstable-x86_64/PKGBUILD (from rev 285225, 
qt5-webkit/kde-unstable/PKGBUILD)
===
--- kde-unstable-x86_64/PKGBUILD(rev 0)
+++ kde-unstable-x86_64/PKGBUILD2017-01-02 21:08:13 UTC (rev 285226)
@@ -0,0 +1,49 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.8.0-beta
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=('qt5-location' 'qt5-sensors' 'qt5-webchannel' 'libwebp' 'libxslt' 
'libxcomposite' 'gst-plugins-base')
+makedepends=('ruby' 'gperf' 'python' 'qt5-doc' 'qt5-tools')
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=('qt')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("http://download.qt.io/community_releases/${pkgver%.*}/${_qtver}/qtwebkit-opensource-src-${_qtver}.tar.xz;
 qt5-webkit-5.8.patch)
+md5sums=('0d65d15c20d62e0a095d3ad8553b2905'
+ '7aee65743e66fb29ee4835e6c600b1ad')
+
+prepare() {
+  mkdir -p build
+
+# Fix build
+  cd $_pkgfqn
+  patch -p1 -i ../qt5-webkit-5.8.patch
+}
+
+build() {
+  cd build  
+
+  qmake ../${_pkgfqn}
+  make
+  make docs
+}
+
+package() {
+  cd build
+  make INSTALL_ROOT="$pkgdir" install install_docs
+
+  # 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 -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+}


[arch-commits] Commit in qt5-webkit/repos (4 files)

2016-12-14 Thread Antonio Rojas
Date: Wednesday, December 14, 2016 @ 10:39:44
  Author: arojas
Revision: 283168

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  qt5-webkit/repos/testing-i686/
  qt5-webkit/repos/testing-i686/PKGBUILD
(from rev 283167, qt5-webkit/trunk/PKGBUILD)
  qt5-webkit/repos/testing-x86_64/
  qt5-webkit/repos/testing-x86_64/PKGBUILD
(from rev 283167, qt5-webkit/trunk/PKGBUILD)

-+
 testing-i686/PKGBUILD   |   49 ++
 testing-x86_64/PKGBUILD |   49 ++
 2 files changed, 98 insertions(+)

Copied: qt5-webkit/repos/testing-i686/PKGBUILD (from rev 283167, 
qt5-webkit/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2016-12-14 10:39:44 UTC (rev 283168)
@@ -0,0 +1,49 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.7.1
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=('qt5-location' 'qt5-sensors' 'qt5-webchannel' 'libwebp' 'libxslt' 
'libxcomposite' 'gst-plugins-base')
+makedepends=('ruby' 'gperf' 'python2' 'qt5-doc' 'qt5-tools')
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=('qt')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgname/5-/}-opensource-src-${pkgver}"
+source=("http://download.qt.io/community_releases/${pkgver%.*}/${pkgver}/qtwebkit-opensource-src-${pkgver}.tar.xz;)
+md5sums=('4fa8f47383ce36d59dcc36d701ce93cd')
+
+prepare() {
+  mkdir -p build
+
+# Hack to force python2
+  mkdir -p bin
+  ln -s /usr/bin/python2 bin/python
+}
+
+build() {
+  cd build  
+
+  export PATH="${srcdir}/bin:$PATH"
+  qmake ../${_pkgfqn}
+  make
+  make docs
+}
+
+package() {
+  cd build
+  make INSTALL_ROOT="$pkgdir" install install_docs
+
+  # 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 -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+}

Copied: qt5-webkit/repos/testing-x86_64/PKGBUILD (from rev 283167, 
qt5-webkit/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2016-12-14 10:39:44 UTC (rev 283168)
@@ -0,0 +1,49 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.7.1
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=('qt5-location' 'qt5-sensors' 'qt5-webchannel' 'libwebp' 'libxslt' 
'libxcomposite' 'gst-plugins-base')
+makedepends=('ruby' 'gperf' 'python2' 'qt5-doc' 'qt5-tools')
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=('qt')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgname/5-/}-opensource-src-${pkgver}"
+source=("http://download.qt.io/community_releases/${pkgver%.*}/${pkgver}/qtwebkit-opensource-src-${pkgver}.tar.xz;)
+md5sums=('4fa8f47383ce36d59dcc36d701ce93cd')
+
+prepare() {
+  mkdir -p build
+
+# Hack to force python2
+  mkdir -p bin
+  ln -s /usr/bin/python2 bin/python
+}
+
+build() {
+  cd build  
+
+  export PATH="${srcdir}/bin:$PATH"
+  qmake ../${_pkgfqn}
+  make
+  make docs
+}
+
+package() {
+  cd build
+  make INSTALL_ROOT="$pkgdir" install install_docs
+
+  # 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 -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+}


[arch-commits] Commit in qt5-webkit/repos (4 files)

2016-12-05 Thread Antonio Rojas
Date: Monday, December 5, 2016 @ 12:46:17
  Author: arojas
Revision: 282841

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  qt5-webkit/repos/extra-i686/PKGBUILD
(from rev 282840, qt5-webkit/trunk/PKGBUILD)
  qt5-webkit/repos/extra-x86_64/PKGBUILD
(from rev 282840, qt5-webkit/trunk/PKGBUILD)
Deleted:
  qt5-webkit/repos/extra-i686/PKGBUILD
  qt5-webkit/repos/extra-x86_64/PKGBUILD

---+
 /PKGBUILD |   98 
 extra-i686/PKGBUILD   |   48 ---
 extra-x86_64/PKGBUILD |   48 ---
 3 files changed, 98 insertions(+), 96 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2016-12-05 12:43:04 UTC (rev 282840)
+++ extra-i686/PKGBUILD 2016-12-05 12:46:17 UTC (rev 282841)
@@ -1,48 +0,0 @@
-# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
-# Maintainer: Felix Yan 
-# Contributor: Andrea Scarpino 
-
-pkgname=qt5-webkit
-_qtver=5.7.0
-pkgver=${_qtver/-/}
-pkgrel=2
-arch=('i686' 'x86_64')
-url='http://qt-project.org/'
-license=('GPL3' 'LGPL3' 'FDL' 'custom')
-pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
-depends=('qt5-location' 'qt5-sensors' 'qt5-webchannel' 'libwebp' 'libxslt' 
'libxcomposite' 'gst-plugins-base')
-makedepends=('ruby' 'gperf' 'python2')
-optdepends=('gst-plugins-good: Webm codec support')
-conflicts=('qt')
-groups=('qt' 'qt5')
-_pkgfqn="${pkgname/5-/}-opensource-src-${pkgver}"
-source=("http://download.qt.io/community_releases/${pkgver%.*}/${pkgver}/qtwebkit-opensource-src-${pkgver}.tar.xz;)
-md5sums=('9379b8829639645c184fa63532035098')
-
-prepare() {
-  mkdir -p build
-
-# Hack to force python2
-  mkdir -p bin
-  ln -s /usr/bin/python2 bin/python
-}
-
-build() {
-  cd build  
-
-  export PATH="${srcdir}/bin:$PATH"
-  qmake ../${_pkgfqn}
-  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 -d "$pkgdir"/usr/share/licenses
-  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
-}

Copied: qt5-webkit/repos/extra-i686/PKGBUILD (from rev 282840, 
qt5-webkit/trunk/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2016-12-05 12:46:17 UTC (rev 282841)
@@ -0,0 +1,49 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.7.0
+pkgver=${_qtver/-/}
+pkgrel=3
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=('qt5-location' 'qt5-sensors' 'qt5-webchannel' 'libwebp' 'libxslt' 
'libxcomposite' 'gst-plugins-base')
+makedepends=('ruby' 'gperf' 'python2' 'qt5-doc' 'qt5-tools')
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=('qt')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgname/5-/}-opensource-src-${pkgver}"
+source=("http://download.qt.io/community_releases/${pkgver%.*}/${pkgver}/qtwebkit-opensource-src-${pkgver}.tar.xz;)
+md5sums=('9379b8829639645c184fa63532035098')
+
+prepare() {
+  mkdir -p build
+
+# Hack to force python2
+  mkdir -p bin
+  ln -s /usr/bin/python2 bin/python
+}
+
+build() {
+  cd build  
+
+  export PATH="${srcdir}/bin:$PATH"
+  qmake ../${_pkgfqn}
+  make
+  make docs
+}
+
+package() {
+  cd build
+  make INSTALL_ROOT="$pkgdir" install install_docs
+
+  # 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 -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+}

Deleted: extra-x86_64/PKGBUILD
===
--- extra-x86_64/PKGBUILD   2016-12-05 12:43:04 UTC (rev 282840)
+++ extra-x86_64/PKGBUILD   2016-12-05 12:46:17 UTC (rev 282841)
@@ -1,48 +0,0 @@
-# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
-# Maintainer: Felix Yan 
-# Contributor: Andrea Scarpino 
-
-pkgname=qt5-webkit
-_qtver=5.7.0
-pkgver=${_qtver/-/}
-pkgrel=2
-arch=('i686' 'x86_64')
-url='http://qt-project.org/'
-license=('GPL3' 'LGPL3' 'FDL' 'custom')
-pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
-depends=('qt5-location' 'qt5-sensors' 'qt5-webchannel' 'libwebp' 'libxslt' 
'libxcomposite' 'gst-plugins-base')
-makedepends=('ruby' 'gperf' 'python2')
-optdepends=('gst-plugins-good: Webm codec support')
-conflicts=('qt')
-groups=('qt' 

[arch-commits] Commit in qt5-webkit/repos (4 files)

2016-11-28 Thread Evangelos Foutras
Date: Monday, November 28, 2016 @ 13:06:51
  Author: foutrelis
Revision: 282166

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  qt5-webkit/repos/staging-i686/
  qt5-webkit/repos/staging-i686/PKGBUILD
(from rev 282165, qt5-webkit/trunk/PKGBUILD)
  qt5-webkit/repos/staging-x86_64/
  qt5-webkit/repos/staging-x86_64/PKGBUILD
(from rev 282165, qt5-webkit/trunk/PKGBUILD)

-+
 staging-i686/PKGBUILD   |   48 ++
 staging-x86_64/PKGBUILD |   48 ++
 2 files changed, 96 insertions(+)

Copied: qt5-webkit/repos/staging-i686/PKGBUILD (from rev 282165, 
qt5-webkit/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2016-11-28 13:06:51 UTC (rev 282166)
@@ -0,0 +1,48 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.7.0
+pkgver=${_qtver/-/}
+pkgrel=2
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=('qt5-location' 'qt5-sensors' 'qt5-webchannel' 'libwebp' 'libxslt' 
'libxcomposite' 'gst-plugins-base')
+makedepends=('ruby' 'gperf' 'python2')
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=('qt')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgname/5-/}-opensource-src-${pkgver}"
+source=("http://download.qt.io/community_releases/${pkgver%.*}/${pkgver}/qtwebkit-opensource-src-${pkgver}.tar.xz;)
+md5sums=('9379b8829639645c184fa63532035098')
+
+prepare() {
+  mkdir -p build
+
+# Hack to force python2
+  mkdir -p bin
+  ln -s /usr/bin/python2 bin/python
+}
+
+build() {
+  cd build  
+
+  export PATH="${srcdir}/bin:$PATH"
+  qmake ../${_pkgfqn}
+  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 -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+}

Copied: qt5-webkit/repos/staging-x86_64/PKGBUILD (from rev 282165, 
qt5-webkit/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2016-11-28 13:06:51 UTC (rev 282166)
@@ -0,0 +1,48 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.7.0
+pkgver=${_qtver/-/}
+pkgrel=2
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=('qt5-location' 'qt5-sensors' 'qt5-webchannel' 'libwebp' 'libxslt' 
'libxcomposite' 'gst-plugins-base')
+makedepends=('ruby' 'gperf' 'python2')
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=('qt')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgname/5-/}-opensource-src-${pkgver}"
+source=("http://download.qt.io/community_releases/${pkgver%.*}/${pkgver}/qtwebkit-opensource-src-${pkgver}.tar.xz;)
+md5sums=('9379b8829639645c184fa63532035098')
+
+prepare() {
+  mkdir -p build
+
+# Hack to force python2
+  mkdir -p bin
+  ln -s /usr/bin/python2 bin/python
+}
+
+build() {
+  cd build  
+
+  export PATH="${srcdir}/bin:$PATH"
+  qmake ../${_pkgfqn}
+  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 -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+}


[arch-commits] Commit in qt5-webkit/repos (4 files)

2016-06-16 Thread Antonio Rojas
Date: Thursday, June 16, 2016 @ 18:30:35
  Author: arojas
Revision: 270037

archrelease: copy trunk to kde-unstable-i686, kde-unstable-x86_64

Added:
  qt5-webkit/repos/kde-unstable-i686/
  qt5-webkit/repos/kde-unstable-i686/PKGBUILD
(from rev 270036, qt5-webkit/trunk/PKGBUILD)
  qt5-webkit/repos/kde-unstable-x86_64/
  qt5-webkit/repos/kde-unstable-x86_64/PKGBUILD
(from rev 270036, qt5-webkit/trunk/PKGBUILD)

--+
 kde-unstable-i686/PKGBUILD   |   48 +
 kde-unstable-x86_64/PKGBUILD |   48 +
 2 files changed, 96 insertions(+)

Copied: qt5-webkit/repos/kde-unstable-i686/PKGBUILD (from rev 270036, 
qt5-webkit/trunk/PKGBUILD)
===
--- kde-unstable-i686/PKGBUILD  (rev 0)
+++ kde-unstable-i686/PKGBUILD  2016-06-16 18:30:35 UTC (rev 270037)
@@ -0,0 +1,48 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.7.0
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL' 'FDL' 'custom')
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=('qt5-location' 'qt5-sensors' 'qt5-webchannel' 'libwebp' 'libxslt' 
'libxcomposite' 'gst-plugins-base')
+makedepends=('ruby' 'gperf' 'python2')
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=('qt')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgname/5-/}-opensource-src-${pkgver}"
+source=("http://download.qt.io/community_releases/${pkgver%.*}/${pkgver}/qtwebkit-opensource-src-${pkgver}.tar.xz;)
+md5sums=('9379b8829639645c184fa63532035098')
+
+prepare() {
+  mkdir -p build
+
+# Hack to force python2
+  mkdir -p bin
+  ln -s /usr/bin/python2 bin/python
+}
+
+build() {
+  cd build  
+
+  export PATH="${srcdir}/bin:$PATH"
+  qmake ../${_pkgfqn}
+  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 -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+}

Copied: qt5-webkit/repos/kde-unstable-x86_64/PKGBUILD (from rev 270036, 
qt5-webkit/trunk/PKGBUILD)
===
--- kde-unstable-x86_64/PKGBUILD(rev 0)
+++ kde-unstable-x86_64/PKGBUILD2016-06-16 18:30:35 UTC (rev 270037)
@@ -0,0 +1,48 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.7.0
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL' 'FDL' 'custom')
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=('qt5-location' 'qt5-sensors' 'qt5-webchannel' 'libwebp' 'libxslt' 
'libxcomposite' 'gst-plugins-base')
+makedepends=('ruby' 'gperf' 'python2')
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=('qt')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgname/5-/}-opensource-src-${pkgver}"
+source=("http://download.qt.io/community_releases/${pkgver%.*}/${pkgver}/qtwebkit-opensource-src-${pkgver}.tar.xz;)
+md5sums=('9379b8829639645c184fa63532035098')
+
+prepare() {
+  mkdir -p build
+
+# Hack to force python2
+  mkdir -p bin
+  ln -s /usr/bin/python2 bin/python
+}
+
+build() {
+  cd build  
+
+  export PATH="${srcdir}/bin:$PATH"
+  qmake ../${_pkgfqn}
+  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 -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+}


[arch-commits] Commit in qt5-webkit/repos (4 files)

2016-06-12 Thread Antonio Rojas
Date: Sunday, June 12, 2016 @ 16:52:46
  Author: arojas
Revision: 269398

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  qt5-webkit/repos/testing-i686/
  qt5-webkit/repos/testing-i686/PKGBUILD
(from rev 269397, qt5-webkit/trunk/PKGBUILD)
  qt5-webkit/repos/testing-x86_64/
  qt5-webkit/repos/testing-x86_64/PKGBUILD
(from rev 269397, qt5-webkit/trunk/PKGBUILD)

-+
 testing-i686/PKGBUILD   |   48 ++
 testing-x86_64/PKGBUILD |   48 ++
 2 files changed, 96 insertions(+)

Copied: qt5-webkit/repos/testing-i686/PKGBUILD (from rev 269397, 
qt5-webkit/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2016-06-12 14:52:46 UTC (rev 269398)
@@ -0,0 +1,48 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.6.1
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL' 'FDL' 'custom')
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=('qt5-location' 'qt5-sensors' 'qt5-webchannel' 'libwebp' 'libxslt' 
'libxcomposite' 'gst-plugins-base')
+makedepends=('ruby' 'gperf' 'python2')
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=('qt')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgname/5-/}-opensource-src-${pkgver}"
+source=("http://download.qt.io/community_releases/${pkgver%.*}/${pkgver}/qtwebkit-opensource-src-${pkgver}.tar.xz;)
+md5sums=('9ea7cb557375ba2fc7c62742c522d093')
+
+prepare() {
+  mkdir -p build
+
+# Hack to force python2
+  mkdir -p bin
+  ln -s /usr/bin/python2 bin/python
+}
+
+build() {
+  cd build  
+
+  export PATH="${srcdir}/bin:$PATH"
+  qmake ../${_pkgfqn}
+  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 -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+}

Copied: qt5-webkit/repos/testing-x86_64/PKGBUILD (from rev 269397, 
qt5-webkit/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2016-06-12 14:52:46 UTC (rev 269398)
@@ -0,0 +1,48 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-webkit
+_qtver=5.6.1
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL' 'FDL' 'custom')
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=('qt5-location' 'qt5-sensors' 'qt5-webchannel' 'libwebp' 'libxslt' 
'libxcomposite' 'gst-plugins-base')
+makedepends=('ruby' 'gperf' 'python2')
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=('qt')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgname/5-/}-opensource-src-${pkgver}"
+source=("http://download.qt.io/community_releases/${pkgver%.*}/${pkgver}/qtwebkit-opensource-src-${pkgver}.tar.xz;)
+md5sums=('9ea7cb557375ba2fc7c62742c522d093')
+
+prepare() {
+  mkdir -p build
+
+# Hack to force python2
+  mkdir -p bin
+  ln -s /usr/bin/python2 bin/python
+}
+
+build() {
+  cd build  
+
+  export PATH="${srcdir}/bin:$PATH"
+  qmake ../${_pkgfqn}
+  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 -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+}