From 59b4c02d1b25693f42805864b348ae317b93e9f7 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sun, 12 Feb 2017 15:27:35 +0000 Subject: [PATCH] extra/qt5-webkit-ng to tp5-2 --- extra/qt5-webkit-ng/PKGBUILD | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/extra/qt5-webkit-ng/PKGBUILD b/extra/qt5-webkit-ng/PKGBUILD index dca9e65cb..ce7c6ddfd 100644 --- a/extra/qt5-webkit-ng/PKGBUILD +++ b/extra/qt5-webkit-ng/PKGBUILD @@ -6,7 +6,7 @@ pkgname=qt5-webkit-ng _qtver=tp5 pkgver=${_qtver/-/} -pkgrel=1 +pkgrel=2 arch=(i686 x86_64) url='https://github.com/annulen/webkit/wiki' license=(GPL3 LGPL3 FDL custom) @@ -16,11 +16,17 @@ makedepends=(cmake ruby gperf python2 qt5-doc qt5-tools) optdepends=('gst-plugins-good: Webm codec support') conflicts=(qt5-webkit) provides=(qt5-webkit) -source=("https://github.com/annulen/webkit/archive/qtwebkit-$pkgver.tar.gz") -sha256sums=('04bcb819675be6ebe0bba81519319dede6510512a73ef53d20465f91034ee719') +source=("https://github.com/annulen/webkit/archive/qtwebkit-$pkgver.tar.gz" + qtwebkit-ng-export-cmake-variables.patch::"https://github.com/annulen/webkit/commit/1467a945.patch") +sha256sums=('04bcb819675be6ebe0bba81519319dede6510512a73ef53d20465f91034ee719' + 'e7839c2eb2d4f998a6c7f6316f408bb8a948c769f8d987903368b0fe689558c6') prepare() { mkdir -p build + +# Correctly export all needed cmake variables + cd webkit-qtwebkit-$pkgver + patch -p1 -i ../qtwebkit-ng-export-cmake-variables.patch } build() {