summaryrefslogtreecommitdiff
path: root/extra/libwebkit/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libwebkit/PKGBUILD')
-rw-r--r--extra/libwebkit/PKGBUILD24
1 files changed, 5 insertions, 19 deletions
diff --git a/extra/libwebkit/PKGBUILD b/extra/libwebkit/PKGBUILD
index 40985ac43..6020e7002 100644
--- a/extra/libwebkit/PKGBUILD
+++ b/extra/libwebkit/PKGBUILD
@@ -14,24 +14,16 @@ checkdepends=('hspell')
makedepends=('gperf' 'gtk-doc' 'gobject-introspection' 'python2' 'gtk2' 'gtk3')
options=('!libtool' '!emptydirs')
install=libwebkit.install
-source=(http://webkitgtk.org/webkit-${pkgver}.tar.gz
- fix-mips-n32.patch)
-md5sums=('c11743694b1b71dad287b2e7a9e73b05'
- '1e1971b0214f6705ceb4f816c4b52af9')
+source=(http://webkitgtk.org/webkit-${pkgver}.tar.gz)
+md5sums=('c11743694b1b71dad287b2e7a9e73b05')
build() {
cd "${srcdir}/webkit-${pkgver}"
mkdir build-gtk{2,3}
- # WebKit knows only O32, not aligning memory on N32, also wants to
- # use nonavailable JIT for all MIPS.
- patch -Np1 -i "${srcdir}/fix-mips-n32.patch"
-
- # ld needs more virtual memory than is available on MIPS n32, these
- # options should reduce it.
- if [ "${CARCH}" == "mips64el" ] ; then
- export LDFLAGS="${LDFLAGS} -Wl,--reduce-memory-overhead -Wl,--no-keep-memory"
- fi
+ # 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 )
@@ -46,12 +38,6 @@ _build() {
make all stamp-po
}
-check() {
- cd "${srcdir}/webkit-${pkgver}"
- make -C build-gtk2 check
- make -C build-gtk3 check
-}
-
package_libwebkit() {
pkgdesc+=" (for GTK2)"
depends+=(gtk2)