summaryrefslogtreecommitdiff
path: root/extra/libwebkit/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libwebkit/PKGBUILD')
-rw-r--r--extra/libwebkit/PKGBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/extra/libwebkit/PKGBUILD b/extra/libwebkit/PKGBUILD
index 9cbac31f9..6020e7002 100644
--- a/extra/libwebkit/PKGBUILD
+++ b/extra/libwebkit/PKGBUILD
@@ -6,10 +6,11 @@ pkgname=(libwebkit libwebkit3)
pkgver=1.6.1
pkgrel=1
pkgdesc="An opensource web content engine"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://webkitgtk.org/"
license=('custom')
depends=('libxt' 'libxslt' 'sqlite3' 'icu' 'gstreamer0.10-base' 'libsoup' 'enchant')
+checkdepends=('hspell')
makedepends=('gperf' 'gtk-doc' 'gobject-introspection' 'python2' 'gtk2' 'gtk3')
options=('!libtool' '!emptydirs')
install=libwebkit.install
@@ -20,6 +21,10 @@ build() {
cd "${srcdir}/webkit-${pkgver}"
mkdir build-gtk{2,3}
+ # Fix MIPS N32 support.
+ sed -i 's/defined(_ABIO32)/(defined(_ABIO32) || defined(_ABIN32))/' \
+ Source/JavaScriptCore/wtf/Platform.h
+
( cd build-gtk2 && _build --with-gtk=2.0 )
( cd build-gtk3 && _build --with-gtk=3.0 )
}