extra/webkitgtk to 2.4.11-4

This commit is contained in:
Kevin Mihelich 2017-01-19 00:45:39 +00:00
parent 41393a878a
commit a34971a328
2 changed files with 21 additions and 5 deletions

View file

@ -1,5 +1,5 @@
# $Id$
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - use --disable-jit to solve segfaults
@ -12,10 +12,10 @@ highmem=1
pkgbase=webkitgtk
pkgname=(webkitgtk webkitgtk2)
pkgver=2.4.11
pkgrel=3
pkgdesc="GTK+ Web content engine library"
pkgrel=4
pkgdesc="Legacy Web content engine"
arch=(i686 x86_64)
url="http://webkitgtk.org/"
url="https://webkitgtk.org/"
license=(custom)
depends=(libxt libxslt sqlite libsoup enchant libgl geoclue2 gst-plugins-base-libs
libsecret libwebp harfbuzz-icu)
@ -24,6 +24,7 @@ optdepends=('gst-plugins-base: free media decoding'
'gst-plugins-good: media decoding'
'gst-libav: nonfree media decoding')
options=(!emptydirs)
install=webkitgtk.install
source=(http://webkitgtk.org/releases/$pkgbase-${pkgver}.tar.xz
webkitgtk-2.4.9-abs.patch)
sha256sums=('588aea051bfbacced27fdfe0335a957dca839ebe36aa548df39c7bbafdb65bf7'
@ -71,6 +72,7 @@ build() {
}
package_webkitgtk() {
pkgdesc+=" for GTK+ 3"
depends+=(gtk3)
optdepends+=('gtk2: Netscape plugin support')
provides=("webkitgtk3=${pkgver}" "libwebkit3=${pkgver}")
@ -83,7 +85,7 @@ package_webkitgtk() {
}
package_webkitgtk2() {
pkgdesc+=" for GTK2"
pkgdesc+=" for GTK+ 2"
depends+=(gtk2)
provides=("libwebkit=${pkgver}")
conflicts=(libwebkit)

View file

@ -0,0 +1,14 @@
post_install() {
post_upgrade $1 0
}
post_upgrade() {
if (( $(vercmp $2 2.4.11-4) < 0)); then
cat <<END
> WARNING: WebKitGTK+ 2.4 is known to have many security vulnerabilities that
will NOT be fixed. Avoid browsing with it.
END
fi
}