qt5-webengine: update to 5.6.1, remove patch as aldready upstreamed

This commit is contained in:
Chaoting Liu 2016-06-09 06:37:12 +01:00
parent c542838d84
commit 46cfea6ffe

View File

@ -3,9 +3,9 @@
# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=qt5-webengine
_qtver=5.6.0
_qtver=5.6.1
pkgver=${_qtver/-/}
pkgrel=9
pkgrel=1
arch=('x86_64')
url='http://qt-project.org/'
license=('GPL3' 'LGPL' 'FDL' 'custom')
@ -14,24 +14,26 @@ depends=('qt5-webchannel' 'qt5-location' 'libxcomposite' 'libxrandr' 'libxtst' '
'libvpx' 'opus' 'libevent' 'libsrtp' 'jsoncpp' 'libwebp' 'snappy' 'nss' 'libxml2' 'libxslt' 'icu' 'ffmpeg' 'zlib')
makedepends=('python2' 'git' 'gperf' 'ninja' 're2c')
_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz" qt5-webengine-nss.patch)
md5sums=('a8be84d642a78724d84b27c20adee14c'
'26f5e1e96be524ccad564dc2fdb9766c')
source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
md5sums=('35f168743638b07157e20af0586f39a2')
prepare() {
mkdir -p build
# Fix opening some websites with recent NSS https://github.com/QupZilla/qupzilla/issues/1870 (KaOSx patch)
cd ${_pkgfqn}
patch -p1 -i ../qt5-webengine-nss.patch
# patch here
}
build() {
cd build
#export PATH="$srcdir/bin:$PATH"
qmake-qt5 WEBENGINE_CONFIG+=use_proprietary_codecs WEBENGINE_CONFIG+=use_system_ffmpeg ../${_pkgfqn}
qmake-qt5 WEBENGINE_CONFIG+=use_proprietary_codecs \
WEBENGINE_CONFIG+=use_system_ffmpeg \
WEBENGINE_CONFIG+=use_system_icu \
WEBENGINE_CONFIG+=use_system_srtp \
WEBENGINE_CONFIG+=use_system_zlib \
../${_pkgfqn}
make
}