summaryrefslogtreecommitdiff
path: root/extra/qtwebkit/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/qtwebkit/PKGBUILD')
-rw-r--r--extra/qtwebkit/PKGBUILD20
1 files changed, 17 insertions, 3 deletions
diff --git a/extra/qtwebkit/PKGBUILD b/extra/qtwebkit/PKGBUILD
index 90ef10954..1f91d23f8 100644
--- a/extra/qtwebkit/PKGBUILD
+++ b/extra/qtwebkit/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=qtwebkit
pkgver=2.3.beta2
_pkgver=2.3-beta2
pkgrel=2
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://trac.webkit.org/wiki/QtWebKit'
pkgdesc='An open source web browser engine (Qt port)'
license=('LGPL2.1' 'GPL3')
@@ -13,15 +13,29 @@ depends=('qt4' 'systemd' 'gstreamer0.10-base')
makedepends=('gperf' 'python2' 'ruby' 'git' 'mesa')
conflicts=('qt<4.8')
source=("${pkgname}-${pkgver}.tar.gz"::"http://gitorious.org/webkit/qtwebkit-23/archive-tarball/${pkgname}-${_pkgver}"
- 'use-python2.patch')
+ 'use-python2.patch'
+ 'LLIntCLoop32BigEndian.patch')
sha1sums=('b1bfa9e3303ce9c95eec0a1e66b2b812b844bf08'
- '315b6ff603f35e5492a036f7082f6aa075dfb607')
+ '315b6ff603f35e5492a036f7082f6aa075dfb607'
+ 'af830ae24e2ae5113754c9ae524d27ec0a28a9d6')
build() {
cd webkit-qtwebkit-23
+ if [ "$CARCH" = "mips64el" ]; then
+ # Fix MIPS N32 support.
+ sed -i 's/defined(_ABIO32)/(defined(_ABIO32) || defined(_ABIN32))/' \
+ Source/WTF/wtf/Platform.h
+ # Don't enable JIT even if configure finds that it's not supported.
+ sed -i 's/#define ENABLE_JIT 1/#define ENABLE_JIT 0/' \
+ Source/WTF/wtf/Platform.h
+ fi
+
patch -p1 -i "${srcdir}"/use-python2.patch
+ # Fix https://bugs.webkit.org/show_bug.cgi?id=103128, original patch with ChangeLog stripped.
+ patch -p0 -i "${srcdir}/LLIntCLoop32BigEndian.patch"
+
OPTS="--no-webkit2"
if [ "${CARCH}" = "i686" ]; then
# FS#33418