extra/webkit2gtk to 2.14.1-1

This commit is contained in:
Kevin Mihelich 2016-10-12 12:29:14 +00:00
parent eba2a72693
commit 4b011249db

View file

@ -8,7 +8,7 @@
highmem=1
pkgname=webkit2gtk
pkgver=2.12.5
pkgver=2.14.1
pkgrel=1
pkgdesc="GTK+ Web content engine library"
arch=('i686' 'x86_64')
@ -16,7 +16,7 @@ url="http://webkitgtk.org/"
license=('custom')
depends=('libxt' 'libxslt' 'enchant' 'geoclue2' 'gst-plugins-base-libs'
'libsecret' 'libwebp' 'harfbuzz-icu' 'gtk3' 'libnotify' 'hyphen')
makedepends=('gtk2' 'gperf' 'gobject-introspection' 'ruby' 'gtk-doc' 'cmake' 'python')
makedepends=('gtk2' 'gperf' 'gobject-introspection' 'ruby' 'gtk-doc' 'cmake' 'python' 'python2')
optdepends=('gtk2: Netscape plugin support'
'gst-plugins-base: free media decoding'
'gst-plugins-good: media decoding'
@ -25,7 +25,7 @@ options=('!emptydirs')
# webkitgtk's signature scheme (sha1-file-as-pgp-message) is bananas and not supported
source=(http://webkitgtk.org/releases/webkitgtk-${pkgver}.tar.xz)
sha1sums=('2d73fd5b47c68c73aea8b3d7b88acc8e62bdb99c')
sha1sums=('46f1af500b01f8dead80d349e422f7184022d363')
prepare() {
mkdir build
@ -46,7 +46,7 @@ build() {
cmake -DPORT=GTK -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=/usr/lib -DLIBEXEC_INSTALL_DIR=/usr/lib/webkit2gtk-4.0 \
-DENABLE_GTKDOC=ON $CONFIG ../webkitgtk-$pkgver
-DENABLE_GTKDOC=ON -DPYTHON_EXECUTABLE=/usr/bin/python2 ../webkitgtk-$pkgver
# strip -O3 from cmake generated makefiles
find ./ -type f -exec sed -i -e 's/-O3//g' {} \;