extra/qt5-webkit to 5.8.0-1

This commit is contained in:
Kevin Mihelich 2017-01-29 00:12:14 +00:00
parent 150a124c9e
commit 913562bb97

View file

@ -8,7 +8,7 @@
# - patch for AArch64 support in qtwebkit
pkgname=qt5-webkit
_qtver=5.7.1
_qtver=5.8.0
pkgver=${_qtver/-/}
pkgrel=1
arch=('i686' 'x86_64')
@ -16,25 +16,21 @@ 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' 'icu' 'qt5-doc' 'qt5-tools')
makedepends=('ruby' 'gperf' 'python' 'icu' '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"
source=("http://download.qt.io/community_releases/${pkgver%.*}/${pkgver}-final/qtwebkit-opensource-src-${pkgver}.tar.xz"
qt5webkit-0002-Fix-QtWebKit-build-on-ARM-softfp.patch
0001-Add-ARM-64-support.patch)
md5sums=('4fa8f47383ce36d59dcc36d701ce93cd'
md5sums=('60a6935aca4a7c553d0ec4646ceed3b4'
'd55ad1f1c90725834b44eada5db4e401'
'47657bc1b3f51892d0cc88a271a8fa31')
prepare() {
mkdir -p build
# Hack to force python2
mkdir -p bin
ln -s /usr/bin/python2 bin/python
# ARM fixes
cd ${_pkgfqn}
patch -p1 -i ../qt5webkit-0002-Fix-QtWebKit-build-on-ARM-softfp.patch
@ -44,7 +40,6 @@ prepare() {
build() {
cd build
export PATH="${srcdir}/bin:$PATH"
qmake ../${_pkgfqn}
make
make docs