summaryrefslogtreecommitdiff
path: root/nonprism
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2017-05-03 05:41:28 +0200
committerAndreas Grapentin <andreas@grapentin.org>2017-05-03 05:41:28 +0200
commit2f551836d85994e9fad4f9e0b5ba5b3189e67e83 (patch)
tree6b222bd2567539d67211d9b4baf53760be0a6f25 /nonprism
parent6f3203cd9530a822546bd85587c59d3e298b5c10 (diff)
nonprism/webkitgtk: updated to icu-59.1
Diffstat (limited to 'nonprism')
-rw-r--r--nonprism/webkitgtk/PKGBUILD14
1 files changed, 11 insertions, 3 deletions
diff --git a/nonprism/webkitgtk/PKGBUILD b/nonprism/webkitgtk/PKGBUILD
index ed248a9b1..f660ecedd 100644
--- a/nonprism/webkitgtk/PKGBUILD
+++ b/nonprism/webkitgtk/PKGBUILD
@@ -5,13 +5,13 @@
pkgbase=webkitgtk
pkgname=(webkitgtk webkitgtk2)
pkgver=2.4.11
-pkgrel=4.nonprism1
+pkgrel=4.nonprism2
pkgdesc="Legacy Web content engine"
arch=(i686 x86_64)
url="https://webkitgtk.org/"
license=(custom)
depends=(libxt libxslt sqlite libsoup enchant libgl gst-plugins-base-libs
- libsecret libwebp harfbuzz-icu)
+ libsecret libwebp harfbuzz-icu 'icu=59.1')
makedepends=(gtk3 gtk2 gperf gobject-introspection python2 mesa ruby)
optdepends=('gst-plugins-base: free media decoding'
'gst-plugins-good: media decoding'
@@ -28,7 +28,15 @@ prepare() {
ln -s /usr/bin/python2 path/python
cd $pkgbase-$pkgver
- patch -Np1 -i ../webkitgtk-2.4.9-abs.patch
+ patch -Np1 -i ${srcdir}/webkitgtk-2.4.9-abs.patch
+
+ # fix icu-59.1 build issues
+ sed -i 's/unsigned short/char16_t/' \
+ Source/JavaScriptCore/API/JSStringRef.h \
+ Source/WebKit2/Shared/API/c/WKString.h
+
+ sed -i '/stdbool.h/ a#include <uchar.h>' \
+ Source/JavaScriptCore/API/JSBase.h
}
_build() (