diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-06-06 16:24:21 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-06-06 16:25:18 +0000 |
commit | a3d8268490d4cd260c825b352f60894977fda3f9 (patch) | |
tree | 11463ac788d4c71bcd6a4b8282d89e54041aab39 /community/webkit2gtk | |
parent | 5ddaf3397c549ecef34af5b43d834e6de30f325a (diff) | |
download | aports-a3d8268490d4cd260c825b352f60894977fda3f9.tar.bz2 aports-a3d8268490d4cd260c825b352f60894977fda3f9.tar.xz |
community/webkit2gtk: upgrade to 2.16.3
and enable on ppc64le and aarch64
Diffstat (limited to 'community/webkit2gtk')
-rw-r--r-- | community/webkit2gtk/APKBUILD | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/community/webkit2gtk/APKBUILD b/community/webkit2gtk/APKBUILD index 499d60ad89..8fa2a90b70 100644 --- a/community/webkit2gtk/APKBUILD +++ b/community/webkit2gtk/APKBUILD @@ -2,11 +2,11 @@ # Contributor: Jiri Horner <laeqten@gmail.com> # Maintainer: Jiri Horner <laeqten@gmail.com> pkgname=webkit2gtk -pkgver=2.14.5 -pkgrel=1 +pkgver=2.16.3 +pkgrel=0 pkgdesc="portable web rendering engine WebKit for GTK+" url="http://webkitgtk.org/" -arch="x86 x86_64" +arch="x86 x86_64 ppc64le aarch64" license="LGPL2+ BSD" makedepends="$depends_dev bison @@ -22,6 +22,7 @@ makedepends="$depends_dev gtk-doc hyphen-dev icu-dev + libgcrypt-dev libjpeg-turbo-dev libnotify-dev libpng-dev @@ -63,10 +64,16 @@ builddir="${srcdir}/webkitgtk-${pkgver}" prepare() { default_prepare || return 1 rm -r Source/ThirdParty/gtest/ || return 1 - rm -r Source/ThirdParty/qunit/ || return 1 } build() { + local _jitopt= + case "$CARCH" in + aarch64) _archopt="-DUSE_LD_GOLD=OFF";; + ppc64le) _archopt="-DENABLE_JIT=OFF -DUSE_SYSMTE_MALLOC=ON";; + s390x) _archopt="-DUSE_LD_GOLD=OFF -DENABLE_JIT=OFF -DUSE_SYSMEM_MALLOC=ON";; + esac + cd "$builddir" mkdir build && cd build cmake -DPORT=GTK \ @@ -78,6 +85,7 @@ build() { -DENABLE_GTKDOC=ON \ -DENABLE_GEOLOCATION=OFF \ -DENABLE_PLUGIN_PROCESS_GTK2=OFF \ + $_archopt \ .. || return 1 make || return 1 } @@ -89,5 +97,5 @@ package() { paxmark -m "$pkgdir"/usr/lib/webkit2gtk-4.0/WebKitWebProcess || return 1 } -sha512sums="3351d9b05458434835fa2db050c34906649c3b1222d7936d123306634a46e35e8cc3aa1bb7512b103af1996fce722254692826b6f695e32ae176032dc8c94e1c webkitgtk-2.14.5.tar.xz +sha512sums="551367551ed1bceaf9c70269f229e97972706820c6ae2d4444bc6d8b0992d6de34a156f9c245813c1f1701ce54f5476a44512590acfa6cfd6e67663d94caa91e webkitgtk-2.16.3.tar.xz 95f88563cb83387e3f44781dd8b00c5adf53e352869ca1d217c6cfc0895e9b7680e24820b8df340316564dcbc4cb65eb502fb003089b4805b9ac9f583f454013 musl-fixes.patch" |