diff options
Diffstat (limited to 'nonprism')
-rw-r--r-- | nonprism/webkitgtk/PKGBUILD | 13 | ||||
-rw-r--r-- | nonprism/webkitgtk/webkitgtk.install | 14 |
2 files changed, 21 insertions, 6 deletions
diff --git a/nonprism/webkitgtk/PKGBUILD b/nonprism/webkitgtk/PKGBUILD index 70ba460a9..ed248a9b1 100644 --- a/nonprism/webkitgtk/PKGBUILD +++ b/nonprism/webkitgtk/PKGBUILD @@ -1,14 +1,14 @@ -# $Id: PKGBUILD 264990 2016-04-15 07:33:52Z heftig $ +# $Id: PKGBUILD 286949 2017-01-18 21:06:40Z heftig $ # Maintainer (Arch): Andreas Radke <andyrtr@archlinux.org> # Maintainer: André Silva <emulatorman@parabola.nu> pkgbase=webkitgtk pkgname=(webkitgtk webkitgtk2) pkgver=2.4.11 -pkgrel=3.nonprism1 -pkgdesc="GTK+ Web content engine library" +pkgrel=4.nonprism1 +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 gst-plugins-base-libs libsecret libwebp harfbuzz-icu) @@ -17,6 +17,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' @@ -59,7 +60,7 @@ build() { } package_webkitgtk() { - pkgdesc+=", without geoclue2 support" + pkgdesc+=" for GTK+ 3, without geoclue2 support" depends+=(gtk3) optdepends+=('gtk2: Netscape plugin support') provides=("webkitgtk3=${pkgver}" "libwebkit3=${pkgver}") @@ -72,7 +73,7 @@ package_webkitgtk() { } package_webkitgtk2() { - pkgdesc+=" for GTK2, without geoclue2 support" + pkgdesc+=" for GTK+ 2, without geoclue2 support" depends+=(gtk2) provides=("libwebkit=${pkgver}") conflicts=(libwebkit) diff --git a/nonprism/webkitgtk/webkitgtk.install b/nonprism/webkitgtk/webkitgtk.install new file mode 100644 index 000000000..245d07b19 --- /dev/null +++ b/nonprism/webkitgtk/webkitgtk.install @@ -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 +} |