diff options
Diffstat (limited to 'extra/libwebkit/PKGBUILD')
-rw-r--r-- | extra/libwebkit/PKGBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/extra/libwebkit/PKGBUILD b/extra/libwebkit/PKGBUILD index 315690cfc..d218cdab2 100644 --- a/extra/libwebkit/PKGBUILD +++ b/extra/libwebkit/PKGBUILD @@ -6,7 +6,7 @@ pkgname=(libwebkit libwebkit3) pkgver=1.6.3 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') @@ -20,6 +20,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 ) } |